g++ - Linking in Xcode -
How can I properly correct Xcode Link object files?
The "main" and "all" dependencies are compiled properly (and I can easily link them to generate executables in the command line). However, Xcode seems to refuse to do so, which results in "no symbol found" LD errors.
This is how my current setup looks like all the dependencies (calculator, input, etc.) are detected and compiled properly. The CPP file is the main but fails to link to .o files (generated from dependencies), resulting in several LD "symbol not found" errors occur.
Any thoughts?
generated by dependencies. O is not included in the generated target. In the above example, "calculator" needs to generate something, usually a stable library (.a), then you add to the list of libraries linking to the project You can.
Comments
Post a Comment