Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux C++ Programing Tutorials
#6

I also have a question about programming on linux, I hope I'm not being too rude by hijacking this post...

 

I haven't coded for a while and it's time for me to get back at it. Damn I'm rusty. I'm now living at home exclusively on linux (still on windows at the office) but, as one of you said, this make (almost) no difference code-wise.

 

So, I've installed g++. Works as expected. Then I gave a try to Code::Blocks and Geany, they're both interesting and useful, really good IDE. So I'm ready to rock. I'm doing "Hello world!" app like there is no tomorrow. Even really improved version that can ask for your name and reply to you directly.

 

But, as you may guess, I'm not just here to brag about my awesome programming skill. The problem I have is with OpenGl. I have installed my required library, I can see them in ~/usr/include/GL, I start my code with an #include <GL/glut.h> but when I compile I get those error for every gl function I try to call (ex: "main.cpp:(.text+0x458): undefined reference to `glutMainLoop'"). I tough that /usr/include was in the default search directory... but may be the problem is something else. I plan on using a lot OpenGl so it would great if it could just work when I hit the compile button.

If any of you can help me, I would be really grateful.

 

Thank You,

Max Boivin

Reply


Messages In This Thread
Linux C++ Programing Tutorials - by Deltanoob - 2007-10-15, 05:20 AM
Linux C++ Programing Tutorials - by magikman - 2007-10-15, 08:45 PM
Linux C++ Programing Tutorials - by bashphoenux - 2009-04-07, 04:21 PM
Linux C++ Programing Tutorials - by Dungeon-Dave - 2009-04-07, 04:50 PM
Linux C++ Programing Tutorials - by YeOK - 2009-04-27, 06:08 PM
Linux C++ Programing Tutorials - by Max Boivin - 2011-08-10, 10:19 PM
Linux C++ Programing Tutorials - by Dungeon-Dave - 2011-08-12, 06:38 PM
Linux C++ Programing Tutorials - by Max Boivin - 2011-08-15, 11:17 PM
Linux C++ Programing Tutorials - by hybrid - 2011-08-16, 04:22 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)