Author Topic: Linking lib's in C::B  (Read 10707 times)

Offline perento

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: Linking lib's in C::B
« Reply #15 on: June 29, 2012, 02:46:44 pm »
I think should be this
Code: [Select]
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
Code: [Select]
#include <windows.h>
#include <gl\gl.h>
#include <gl\glu.h>
#include <gl\glaux.h>
I get this in the Build log:
Code: [Select]
D:\Programs\CodeBlocks\openGLtuts\triangles\main.cpp:5:59: error: gl\glaux.h: No such file or directoryThis time searches in the correct folder.

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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9594
Re: Linking lib's in C::B
« Reply #16 on: June 29, 2012, 02:57:01 pm »
I think should be this
Nope, wrong. Obviously you are too lazy to read whats requested.

Code: [Select]
D:\Programs\CodeBlocks\openGLtuts\triangles\main.cpp:5:59: error: gl\glaux.h: No such file or directory
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. >:(
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline perento

  • Multiple posting newcomer
  • *
  • Posts: 47
Re: Linking lib's in C::B
« Reply #17 on: July 01, 2012, 12:20:19 pm »
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 .