I included this with the default Win32 GUI code
#define WIN32_LEAN_AND_MEAN
#include "resource.h"
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
The build log said:
-------------- Build: Debug in Triangles ---------------
Compiling: main.cpp
D:\Programs\CodeBlocks\openGL tutorials\Triangles\main.cpp:7:60: error: gl\glaux.h: No such file or directory
mingw32-g++.exe: tutorials\Triangles": No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
This line here, mingw32-g++.exe: tutorials\Triangles", 'Triangles' should be in 'openGL tutorials' folder and it is there if i search on my own.
When i make #include <gl\glaux.h> as comment
massage pop-up said:
"It seems that this project has not been built yet. Do you wish to build it?"
When i press "Yes":
-------------- Build: Debug in Triangles ---------------
Linking console executable: bin\Debug\Triangles.exe
mingw32-g++.exe: tutorials\Triangles": No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
I think should be this
Scanning for lexers in C:\Documents and Settings\User\Application Data\codeblocks/share/codeblocks/lexers/...
Found 0 lexers
Scanning for lexers in D:\Programs\CodeBlocks/share/codeblocks/lexers/...
Found 4 lexers
Loading lexer_cpp
Loading lexer_rc
Loading lexer_squirrel
Loading lexer_xml
Configured 0 tools
Scanning for plugins in C:\Documents and Settings\User\Application Data\codeblocks/share/codeblocks/plugins
Loaded 0 plugins
Scanning for plugins in D:\Programs\CodeBlocks/share/codeblocks/plugins
Loaded 39 plugins
Loading:
AStylePlugin
Autosave
AutoVersioning
BrowseTracker
BYOGames
CB_Koders
Cccc
ClassWizard
CodeCompletion
CodeSnippets
CodeStat
Compiler
copystrings
CppCheck
Debugger
FilesExtensionHandler
DevPakUpdater
cbDragScroll
EnvVars
Exporter
HeaderFixup
HelpPlugin
HexEditor
IncrementalSearch
cbKeyBinder
lib_finder
MouseSap
OpenFilesList
Profiler
ProjectsImporter
RegExTestbed
ScriptedWizard
SymTab
ThreadSearch
ToDoList
wxSmith
wxSmithMime
wxSmithAui
wxSmithContribItems
WindowsXPLookNFeel
Running startup script
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
Also when i start new Win32 GUI project Frame based and link nothing but only include
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
I get this in the Build log:
D:\Programs\CodeBlocks\openGLtuts\triangles\main.cpp:5:59: error: gl\glaux.h: No such file or directory
This time searches in the correct folder.
When i make a comment, the project is building and runing without problems; this with the default Frame based code from Code::Blocks.