User forums > Using Code::Blocks

Linking lib's in C::B

<< < (4/4)

perento:
I think should be this

--- Code: ---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'
--- End code ---

Also when i start new Win32 GUI project Frame based and link nothing but only include

--- Code: ---#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
--- End code ---
I get this in the Build log:

--- Code: ---D:\Programs\CodeBlocks\openGLtuts\triangles\main.cpp:5:59: error: gl\glaux.h: No such file or directory
--- End code ---
This time searches in the correct folder.

When i make
--- Code: ---#include <gl\glaux.h>
--- End code ---
a comment, the project is building and runing without problems; this with the default Frame based code from Code::Blocks.

MortenMacFly:

--- Quote from: perento on June 29, 2012, 02:46:44 pm ---I think should be this

--- End quote ---
Nope, wrong. Obviously you are too lazy to read whats requested.


--- Quote from: perento on June 29, 2012, 02:46:44 pm ---
--- Code: ---D:\Programs\CodeBlocks\openGLtuts\triangles\main.cpp:5:59: error: gl\glaux.h: No such file or directory
--- End code ---

--- End quote ---
This is part of the build log, please post the full build log, or go away. Thank you. BTW: If you google for this you would get millions of answers, too. >:(

perento:
glaux.h is kinda old and so supported anymore, i readed around the forums. I will try replace it with something else that is supported and up to date.

Really sorry for the disturbing, it was first time to setting up a compiler and i didnt want to move to Visual.
Keep the work, please .

Navigation

[0] Message Index

[*] Previous page

Go to full version