Hello, this is my first post here.
Well I have to develop a small software using OpenGL, and the IDE is Dev C++ v.4.9.9.2, O.S.=WinXP. Soon I realized I needed to use some kind of input textfield to save/load files. That is how I discovered PLIB, downloaded plib-1.8.4 and set the files like this (I only need the PUI):
*Under C:\Dev-Cpp\include\PLIB :pu.h, puFLTK.h, puGLUT.h, puLocal.h, puNative.h, puPW.h, puSDL.h
*Under C:\Dev-Cpp\lib : pui.h
On project option's parameter I'm linking the following libraries:
-lopengl32 -lglu32 -lglut32 -lpui
(I've even tryed adding Library or Object option and it doesn't not work)
After all this I keep on having several linker errors (22)
[Linker error] undefined reference to `puSetDefaultStyle(int)'
[Linker error] undefined reference to `puSetDefaultColourScheme(float, float, float, float)'
[Linker error] undefined reference to `puDisplay()'
....
Do I have the files (.h and .lib) in the right directories? Am I linking the libraries the right way ? What Am I missing or doing wrong? Thanks in advance.
---------------------------------
Celebrate Earth Day everyday! Discover 10 things you can do to help slow climate change. Yahoo! Earth Day |