library path name bug
library path name bug
- Subject: library path name bug
- From: Fred Bacon <email@hidden>
- Date: Sat, 29 Jan 2005 15:12:44 -0500
I have a library that is a C++ wrapper for some OpenGL features that I
use in my application. I've been building the library with make, but
I'm attempting to port this to Xcode. The problem is that Xcode
doesn't seem to like the name I gave the library, libgl++.
If my project.pbxproj file contains the lines:
5B23BF4F07AC187D0058090C = {
explicitFileType = archive.ar;
includeInIndex = 0;
isa = PBXFileReference;
path = libgl++.a;
refType = 3;
sourceTree = BUILT_PRODUCTS_DIR;
};
when I open the project with Xcode, I get the error message:
Couldn't open /Users/fredbacon/projects/swfview/libgl++/gl.xcode.
Reason: XML parser error:
Unexpected character / at line 1
Old-style plist parser error:
Missing ';' on line 187
.
Going to line 187 in this file, I find the line "path = libgl++.a". If
I change this section of the file to read (getting rid of the "++" in
the library name:
5B23BF4F07AC187D0058090C = {
explicitFileType = archive.ar;
includeInIndex = 0;
isa = PBXFileReference;
path = libgl.a;
refType = 3;
sourceTree = BUILT_PRODUCTS_DIR;
};
then Xcode can open the project just fine.
Fred Bacon
_______________________________________________
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