News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Code Completion for OpenGL?

Started by rixarn, May 11, 2010, 02:33:01 AM

Previous topic - Next topic

rixarn

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!

ollydbg

please give more information: steps to reproduce, OS, version, CB version ......

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

rixarn

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..

oBFusCATed

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
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rixarn

Thanks! Ill do that then... Download nightly and avoid whitespaces, hope that works :)