|
Re: C++ Compile Error on Mac [message #1440017 is a reply to message #1436410] |
Tue, 07 October 2014 21:05 |
Graham Harvey Messages: 2 Registered: October 2014 |
Junior Member |
|
|
Hello Again,
After more investigation, I have discovered that the -l"" comes from the inclusion of a Mac Framework. I have included the framework as a library in the project properties -lIOKit -framework. Without the '-framework' argument, the library is reported as not found. with the '-framework' argument it is found, but then it has the -l"" in the linker command. If I do not add the Mac Framework, the compiler creates errors, saying that the IOKit does not have symbols appropriate to the architecture X86_64. This is using the default IOKit.framework under /System/Library?Frameworks. In order to get rid of these errors, the project must include the IOKit.framework from the MacOSX10.8 SDK, which is a 64 bit version.
I hope that this information will enable someone to identify what I am doing wrong here.
Thanks,
Graham.
|
|
|
Powered by
FUDForum. Page generated in 0.04665 seconds