On 19.06.2008, at 11:48, Tadhg O'Sullivan wrote:

>> Using version 2.x of fltk.  So if I were to to it the way you  
>> suggest then I would make a box within the fltk window and set its  
>> target as the main opengl program.  And then I include the compiled  
>> aplication as an external library in xcode?  Thanks for the reply  
>> by the way.

I am not aware of the current state of the FLTK2 OS X support, bt it  
should work.

Compile FLTK as a static library, adding whichever FLTK support  
librarie you need (fltkimage, png, jpeg, gl...) unsing the command  
line. Then in XCode, create a Carbon application and add those  
libraries to "External Frameworks and Libraries". You will also need  
Carbon.framework, CoreServices.Framework, and  
ApplicationServices.framework. If you want to use OpenGL, you have to  
add AGL.framework and OpenGL.framework additionally to fltk-gl.


Matthias


----
http://robowerk.com/


_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to