Code::Blocks Forums

User forums => Help => Topic started by: rixarn on May 11, 2010, 02:33:01 am

Title: Code Completion for OpenGL?
Post by: rixarn on May 11, 2010, 02:33:01 am
First of all, Hi :) I'm newb to this community and i have just installed c::b to start learning OpenGL.

I was amazed at how painless the OpenGL setup was with GLFW.

My only problem now is code completion... how can i make it work?

I've checked the 'parse preprocessor directives' from Editor>Code-Completition.. but still nothing..

Any advice?

Thanks!
Title: Re: Code Completion for OpenGL?
Post by: ollydbg on May 11, 2010, 03:19:07 am
please give more information: steps to reproduce, OS, version, CB version ......

Title: Re: Code Completion for OpenGL?
Post by: rixarn on May 11, 2010, 03:41:09 am
Hi!

C::B version is 8.02,OS is Windows XP

Installed CodeBlocks at D:/Program Files/Code Blocks (i have 2 HD with separated XP installs) and Workspace in G:/Code Blocks Worskpace/GLFWapp

I used the template that comes with CB for my project and glfw-2.6 lib-mingw files

I've readed here at the forums that i can just include glew.h for the auto completion to work, but it shouldn't be the only way of doing it i think..
Title: Re: Code Completion for OpenGL?
Post by: oBFusCATed on May 11, 2010, 12:17:28 pm
1. Use a nightly - CC there is better - quite a lot
2. Don't use whitespaces in your paths, some tools don't work well with such patchs
Title: Re: Code Completion for OpenGL?
Post by: rixarn on May 12, 2010, 04:20:28 am
Thanks! Ill do that then... Download nightly and avoid whitespaces, hope that works :)