undefined reference to glClear
Moderators: CEGUI MVP, CEGUI Team
Re: undefined reference to glClear
From the list of linked libraries in your first post I call tell that you are missig any libCEGUI*ImageCodec.dll. Therefore it crashes. Please add the default image codec DLL to your application directory. You can see which one to use in CMake.
Re: undefined reference to glClear
Are you using the 0.7.X dependencies or 0.8.X dependencies?
CrazyEddie: "I don't like GUIs"
-
- Just popping in
- Posts: 11
- Joined: Thu Aug 24, 2017 22:51
Re: undefined reference to glClear
Ident wrote:Are you using the 0.7.X dependencies or 0.8.X dependencies?
0.8. i used the link that is on CEGUI home.
lucebac wrote:From the list of linked libraries in your first post I call tell that you are missig any libCEGUI*ImageCodec.dll. Therefore it crashes. Please add the default image codec DLL to your application directory. You can see which one to use in CMake.
I selected Freeimage in CMake configuration.
Downloaded the FreeImage dependencies from their site.
Put the "FreeImage.h" in "cegui\include" folder
And now i´m getting undefinded reference to FreeImage* stuff, probably because i´m not linking freeimage in cegui.
May you guys provide me with some instruction on how to do that ?
Because, since the CEGUI targets are not the standard 'Release' and 'Debug' CodeBlocks doesnt allow me to append de linkable library.
Should i edit the make file ?
regards
-
- Just popping in
- Posts: 11
- Joined: Thu Aug 24, 2017 22:51
Re: undefined reference to glClear
or maybe i can find i can find FreeImage in the dependecies configuration ...
working on that
working on that
Re: undefined reference to glClear
If you selected FreeImageImageCodec as the default ImageCodec during CMake configuration, then you have everything you need. Hit "Build", goto Code::Blocks, hit "build all" (or whatever the name is) and there you go. You will presumably have something like this then:
- libCEGUIBase-0.dll(.a)
- libCEGUICommonDialogs-0.dll(.a)
- libCEGUICoreWindowRendereSet.dll(.a)
- libCEGUIFreeImageImageCodec.dll(.a)
- libCEGUIOpenGLRenderer-0.dll(.a)
- libCEGUIExpatParser.dll(.a)
-
- Just popping in
- Posts: 11
- Joined: Thu Aug 24, 2017 22:51
Re: undefined reference to glClear
I´m trying to compile the dependencies with freeimage. And getting this erros:
If i compile it without freeimage CEGUI compilation complains about the absence of freeimage header and lib.
Edit:
Looks like a bug in freeimage:
https://sourceforge.net/p/freeimage/bugs/267/
If i compile it without freeimage CEGUI compilation complains about the absence of freeimage header and lib.
Edit:
Looks like a bug in freeimage:
https://sourceforge.net/p/freeimage/bugs/267/
Who is online
Users browsing this forum: Google [Bot] and 15 guests