re: library path name bug
re: library path name bug
- Subject: re: library path name bug
- From: George Warner <email@hidden>
- Date: Mon, 31 Jan 2005 09:11:28 -0800
On Sat, 29 Jan 2005 15:12:44 -0500, Fred Bacon <email@hidden> wrote:
> 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.
Or you can put quotes around the file name. Ether way this is a bug. Please
file it. ;-)
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
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