Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > OpenGL compilation Possible?! :)

OpenGL compilation Possible?! :)
Thread Tools
Dedicated MacNNer
Join Date: May 2002
Location: Brooklyn, NY
Status: Offline
Reply With Quote
Dec 19, 2002, 08:23 PM
 
Hi,
I've had some trouble compiling OpenGl programs under OS 10.2. 10.1 was fine, but 10.2 doesn't seem to work. I used to compile like this:

c++ main.cpp -framework OpenGL -framework GLUT -framework lobjc

Now when I try and do that, it says that it can not find lobjc. Any advice?

Thanks,

Oh, also does anyone know how to do this using the project builder so that I get an actual application icon? Somebody showed me, but that only worked in 10.1, and now the project builder is completely different. Thanks again!
     
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Dec 19, 2002, 10:52 PM
 
"-lobjc", not "-framework objc" - objc is a library not a framework.
[vash:~] banana% killall killall
Terminated
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 21, 2002, 08:24 AM
 
Humm... Why do you need libobjc anyway?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:58 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2