scratt
2006-12-10, 13:52
Wonder if anyone can help with this..
I am porting a project which relies on X11 into a native OS X app.
I have all of the source for the project, and have created an Xcode project which compiles and links and produces an executable without errors..
The only dependencies it has (apart from X11) are the OpenGL.framework and the GLUT.framework. It is a console app. So no app bundle.
Whenever I try to run it it drops out with an error when it trys to connect to the 'X server' and open a window context...
I have a full tarball set of source with make files which works on my machine, and produces a console app which will fire up X11 and run perfectly.
So I know this works on my machine in it's current setup.. However, I have missed / borked something in the build process in the Xcode project....
I am pretty sure it is that it simply is not connecting properly to the lib files it depends on for X11 and GL.
Can anyone verify if adding libraries to an Xcode project is as simple as adding them like frameworks, and making them available to the final app? That's all I thought I had to do.... ?
I am porting a project which relies on X11 into a native OS X app.
I have all of the source for the project, and have created an Xcode project which compiles and links and produces an executable without errors..
The only dependencies it has (apart from X11) are the OpenGL.framework and the GLUT.framework. It is a console app. So no app bundle.
Whenever I try to run it it drops out with an error when it trys to connect to the 'X server' and open a window context...
I have a full tarball set of source with make files which works on my machine, and produces a console app which will fire up X11 and run perfectly.
So I know this works on my machine in it's current setup.. However, I have missed / borked something in the build process in the Xcode project....
I am pretty sure it is that it simply is not connecting properly to the lib files it depends on for X11 and GL.
Can anyone verify if adding libraries to an Xcode project is as simple as adding them like frameworks, and making them available to the final app? That's all I thought I had to do.... ?