ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
libjulia.dylib ./include/julia ./lib/julia位于-s到/ usr / local / lib和/ usr / local / include
cc命令:
-I /Applications/Julia-1.1.app/Contents/Resources/julia/include/julia
-L /Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia
-ljulia
我尝试遵循embedding Julia in C/C++ on OSX
的答案但这不适用于我的问题