質問

I have a big problem, I can't create a shared library on my Mac with Eclipse. Everytime I try to compile I get this two 2 Error messages:
make: *** [libOptlist-shared.dylib] Error 1 Optlist-shared C/C++ Problem
symbol(s) not found for architecture x86_64 Optlist-shared C/C++ Problem

I only get the error on Mac. I also tried to create this shared library on Windows and Linux, but there i got no errors. If anyone can help me, i would be really happy. Thanks.

役に立ちましたか?

解決

Eclipse doesn't link with libSystem by default, so the linker must explicitly passed -lSystem.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top