Search found 8 matches

by Basilio
Sat Aug 03, 2013 13:04
Forum: Help
Topic: Errors in the CMake files for MinGW/Code::Blocks
Replies: 3
Views: 3965

Re: Errors in the CMake files for MinGW/Code::Blocks

UPD: I don't know why, but in the CMake-generated files for VS2012 there are the same errors for the CEGUI itself. The dependencies are built fine.
Also, static debug version seems to try to statically link to DbgHelp, which doesn't exist in a static version.
by Basilio
Thu Aug 01, 2013 12:52
Forum: Help
Topic: Building static configuration in VS 2012
Replies: 11
Views: 10782

Re: Building static configuration in VS 2012

UPD: Looks like the functions defined in FormattingSetting.cpp are misplaced. When moved to FormattingSetting.h the static configuration compiles fine. Now the interesting part. When running the statically built samples framework, I get the following error: Assertion failed: ms_Singleton, file G:\ce...
by Basilio
Thu Aug 01, 2013 12:49
Forum: Help
Topic: Another initialization error
Replies: 3
Views: 2392

Re: Another initialization error

LebDev wrote:Ok i found out that the CEGUIExpatParser.dll is not being generated.
I get the .lib and .obj but not the .dll

Any ideas why?

A build log would help. If the files are not built - probably the linker shows some error.
by Basilio
Thu Aug 01, 2013 11:35
Forum: Help
Topic: Building static configuration in VS 2012
Replies: 11
Views: 10782

Re: Building static configuration in VS 2012

UPD: I have tried forcing the compiler to include the FormattingSetting.obj in the library anyway, by adding the following code: #define noEmptyFile() namespace { char NoEmptyFileDummy##__LINE__; } noEmptyFile() Now when compiling the Base library the LNK4221 warning went away. However, the error wi...
by Basilio
Thu Aug 01, 2013 11:24
Forum: Help
Topic: Building static configuration in VS 2012
Replies: 11
Views: 10782

Building static configuration in VS 2012

Ran into unexpected problems with building 0.8.2 in VS 2012. Dynamic configuration is built okay, and the sample framework runs fine. Dynamic configuration with static dependencies - okay, sample framework runs fine. However, building static configuration runs into very strange problems. First of al...
by Basilio
Wed Jul 17, 2013 10:01
Forum: Help
Topic: Errors in the CMake files for MinGW/Code::Blocks
Replies: 3
Views: 3965

Re: Problems building CEGUI statically

Well, in the end figured that one out. First of all, -DGLEW_STATIC has to be added to the CXX_DEFINES for targets CEGUIOpenGLRenderer-0 and CEGUIOpenGLRenderer-0_Static. Second, link order has to be changed. As of now, it goes as "-lopengl32 libglew.a", however it must be "libglew.a -...
by Basilio
Tue Jul 02, 2013 18:35
Forum: Help
Topic: Errors in the CMake files for MinGW/Code::Blocks
Replies: 3
Views: 3965

Errors in the CMake files for MinGW/Code::Blocks

Hello. I have ran into some problems with linking CEGUI statically using MinGW and Code::Blocks on Win32. It builds fine dynamically, and sample application works fine, however when trying to compile it statically I run into the following errors: Linking CXX shared library ..\..\..\..\bin\libCEGUIOp...
by Basilio
Tue Jul 02, 2013 18:21
Forum: Help
Topic: Codeblocks,cegui 0.8.x dependencies and problems
Replies: 15
Views: 11023

Re: Codeblocks,cegui 0.8.x dependencies and problems

Ran into the same problem. As far as I understand, there is an error in cmake files for libexpat and libpng. There is a file called list.txt in the build\src\libpng-1.4.7\CEGUI-Build\CMakeFiles\libpng.dir, build\src\libpng-1.4.7\CEGUI-Build\CMakeFiles\libpng-static.dir, build\src\expat-2.0.1\CEGUI-B...

Go to advanced search