Validatrium / anoma

All info about anoma projects. Public repository
1 stars 0 forks source link

An error occurred while compiling the source code. #1

Open Ambassador-pi opened 2 years ago

Ambassador-pi commented 2 years ago

What is the reason? 20220118151212851

foggywow commented 2 years ago

Hi Which OS do you use? Try to install additional libraries, it might help in your case sudo apt install llvm clang

Ambassador-pi commented 2 years ago

Ubuntu 20.04 I'll try.

Ambassador-pi commented 2 years ago

It's the reason you said. It's solved! 20220118161543380 20220118161616080 But another mistake occurred

Validatrium commented 2 years ago

Are you sure you've installed everything of listed requirements? apt install -y make git-core libssl-dev pkg-config libclang-12-dev build-essential gcc The problem might be becouse you lost something.

Ambassador-pi commented 2 years ago

Gcc is already installed. It passed this time, but I don't know why.

Validatrium commented 2 years ago

Try this one apt install libclang-12-dev I guess it's missing

Ambassador-pi commented 2 years ago

Compilation succeeded! When "source $home /. Bashrc" is executed, environment variable error will be prompted. 20220118173052705 20220118173147562

Validatrium commented 2 years ago

replace with your values

for example: export ACCOUNT=Validatrium # name of your validator export CHAIN=anoma-testnet-0.0.a1d4bbfafa49

Validatrium commented 2 years ago

After you've done it do not forget to upgrade variables, run the command source $HOME/.bashrc

Ambassador-pi commented 2 years ago

There is a problem again in this step, please advise! 20220120094008756

Validatrium commented 2 years ago

Currently testnet is not running. We will update this instruction as soon as testnet will be available. Currently there is no way to run the node