You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
download llvm 9.0 headers with my package manager (pacman)
cd Calypso; mkdir build; cd build
cmake
make
make fails because it tries to compile clang into the base directory. To overcome this, I run:
cd ../deps/clang
mkdir build; cd build
cmake; make
cd ../../../build
make
Now, ld fails in finding the newly compiled clang libraries. So I try make "LDFLAGS=-L$PWD/../deps/clang/build/lib" but it still fails with errors like:
I also tried by using cmake -DCLANG_PREBUILT_DIR="../deps/clang/build/" but it doesn't change.
By using ninja, as suggested in the original ldc wiki, clang is compiled correctly out-of-the-box, but ld still fails in the same way and I have not found a way to specify the option -L.
Am I the only one with these problems? I'm using Manjaro with Linux 5.4.44, cmake 3.17.3, make 4.3.
The text was updated successfully, but these errors were encountered:
You might try just grabbing a copy of prebuilt LLVM9 from LDC repo that matches your OS, and fiddling with the C_COMPILER, CXX_COMPILER, LINKER, RC/RC_COMPILER, and MT CMake binaries to get it to run.
This did NOT work for me using clang-cl.exe oddly.
I'm having trouble while compiling Calypso from scratch. I did what follows:
git clone --recursive https://github.com/Syniurge/Calypso
cd Calypso; mkdir build; cd build
cmake
make
make
fails because it tries to compileclang
into the base directory. To overcome this, I run:cd ../deps/clang
mkdir build; cd build
cmake; make
cd ../../../build
make
Now,
ld
fails in finding the newly compiled clang libraries. So I trymake "LDFLAGS=-L$PWD/../deps/clang/build/lib"
but it still fails with errors like:I also tried by using
cmake -DCLANG_PREBUILT_DIR="../deps/clang/build/"
but it doesn't change.By using
ninja
, as suggested in the originalldc
wiki,clang
is compiled correctly out-of-the-box, butld
still fails in the same way and I have not found a way to specify the option-L
.Am I the only one with these problems? I'm using Manjaro with Linux 5.4.44, cmake 3.17.3, make 4.3.
The text was updated successfully, but these errors were encountered: