S
S
SWAT_O_PLUS2015-07-24 03:34:41
CMake
SWAT_O_PLUS, 2015-07-24 03:34:41

How to compile Jancy examples?

I do everything clearly according to the instructions, I use the versions of Qt and LLVM specified in the instructions.

Linking CXX executable ../../bin/Debug/01_export
../../lib/Debug/libjnc.a(jnc_FunctionMgr.cpp.o):(.rodata._ZTIN3jnc16JitEventListenerE[_ZTIN3jnc16JitEventListenerE]+0x10): undefined reference to 'typeinfo for llvm::JITEventListener'
../../lib/Debug/libjnc.a(jnc_GcShadowStack.cpp.o):(.rodata._ZTIN3jnc13GcShadowStackE[_ZTIN3jnc13GcShadowStackE]+0x10): undefined reference to 'typeinfo for llvm::GCStrategy'
../../lib/Debug/libjnc.a(jnc_JitMemoryMgr.cpp.o):(.rodata._ZTIN3jnc12JitMemoryMgrE[_ZTIN3jnc12JitMemoryMgrE]+0x10): undefined reference to 'typeinfo for llvm::SectionMemoryManager'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/Debug/01_export] Ошибка 1
make[1]: *** [samples/01_export/CMakeFiles/01_export.dir/all] Ошибка 2
make: *** [all] Ошибка 2

At the same time, LLVM was previously compiled.
Full log:
pastebin.com/dFzBCfwt
The instruction itself:
tibbo.com/jancy/downloads.html
tibbo.com/jancy/downloads/build_prerequisites.html
tibbo.com/jancy/downloads/build_guide.html

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question