"Unknown symbol" though file is in the project
"Unknown symbol" though file is in the project
- Subject: "Unknown symbol" though file is in the project
- From: "Red Marble Games" <email@hidden>
- Date: Mon, 18 Jul 2005 16:13:27 -0400
- Importance: Normal
Title: "Unknown symbol" though file is in the project
This is surely a FAQ, because I'm so new to XCode, but help would be appreciated. Some of my code seems to be ignored by the linker, even though the relevant files are in the project, the "target" box is checked in the file listing, and XCode is generating .o and .ob files and in every other way indicating that these files are part of my app. Yet when some other routine calls one of these, the app generates a SIGABRT because it can't find the symbol. (If it matters, the chain goes from the working routine to dyld_stub_binding_helper_interface, to dyld_bind_lazy_symbol_reference, to dyld_link_in_need_modules, to dyld_check_and_report_undefineds, and so to the undefinedHandler, abort, and kill).
It happened first with some Apple sample code (OpenGL_Image_Loading.c); in frustration I got around that by cutting and pasting the code into one of my source files that XCode is willing to recognize. Now it's happening with another .c file that I just added to the project. All of the unrecognized code so far is in .c files, if that's a clue, though I tried renaming the current problem file to .cpp, to see if that would affect anything, but it didn't.
Any ideas? Many thanks.
Mark Batten
Red Marble Games
http://www.redmarblegames.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden