我链接作为的NodeJS静态库,以一个简单的C++在OS X 10.4程序使用Xcode中,我一直在用下面的错误挣扎:我在哪里可以在OS X上找到符号_GetCurrentProcess?
Undefined symbols for architecture x86_64: "_GetCurrentProcess", referenced from: node::Platform::SetProcessTitle(char*) in libnode.a(platform_darwin_5.o) ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
是否有人在猜测中,我的框架可以找到这个符号? 我读this post,有人提到这个符号来自libiodbc,但是在我和它链接后,我仍然有上面的错误。我已经将我的项目与Xcode中的CoreServices,CoreFoudations,libz和一堆nodeJS相关的库链接起来。