Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

library path name bug



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.