Page 1 of 4
'Beta' releases of the VC dependencies packages
Posted: Thu Jul 22, 2004 13:52
by CrazyEddie
I have made available some temporary downloads of the dependency packages for Visual C++ users - please note that these are not the final packages, and are intended for testing purposes only.
You will need to download two files, the common dependencies file (containing the includes), and another file which is appropriate for your compiler (containing the pre-compiled libs and dlls).
[Edit]
These files are now published 'officially', please follow this link:
Click Me!
[/Edit]
You should copy the 'dependencies' directory from the unzipped packages into your cegui_mk2 directory.
Please keep discussion, error / bug reports about these packages in this thread so I can keep track of them
Important: These packages are using FreeType 2.1.9. The project files have been updated for these packages, but will take a while for CVS to sync. In the mean time VC7.0/7.1 users may need to adjust the linker input libs to use freetype219.lib and freetype219_D.lib instead of freetype214MT.lib and freetype214MT_D.lib.
'Beta' releases of the VC dependencies packages
Posted: Sun Jul 25, 2004 11:09
by CrazyEddie
Tomorrow I will be uploading another dependencies package for users of VC7.0 with STLport.
'Beta' releases of the VC dependencies packages
Posted: Wed Jul 28, 2004 04:46
by CrazyEddie
You are linking statically to the C/C++ runtime in your project. Link dynamically instead (DLL runtimes).
HTH
CE.
'Beta' releases of the VC dependencies packages
Posted: Wed Jul 28, 2004 06:58
by zola
Check in Your vc7 project
Project Property -> C/C++ -> Code Generation
and switch the Runtime Library property to Your needs. For debug configuration You would take "Multi-threaded debug \MTd" or "Single-threaded debug \MLd".
Edit: Sorry this is wrong You would set the Runtime Lib to '.. debug DLL" if You link against the "...gd.." type of the boost lib, even though it is an exe! I always get confused with this and have to try till it works.
'Beta' releases of the VC dependencies packages
Posted: Wed Jul 28, 2004 08:30
by CrazyEddie
Yep, zola is correct. You need to use:
Debug Multi-Threaded DLL for the debug configuration of your project.
Multi-Threaded DLL for the release configuration of your project.
This way all components will use the same heap (that of the runtime dll) for memeory allocations, and keeps Windows happy
'Beta' releases of the VC dependencies packages
Posted: Tue Aug 03, 2004 22:13
by spannerman
Just so you know for your testing purposes, I managed to get CEGUI compiled no problem using the dependency packages you provided. I tested it at work on a machine that didnt have any of the usually necessary modules, like Xerces etc installed.
Worked great
'Beta' releases of the VC dependencies packages
Posted: Wed Aug 04, 2004 04:51
by CrazyEddie
Cool.
As soon as I resolve some luabind problems, I can get these packages updated, do some final testing and put out the final versions.
CE.
'Beta' releases of the VC dependencies packages
Posted: Thu Aug 05, 2004 13:33
by saetrum
Are you using the latest version of Ogre? or the 14.1 of Ogre?
The StringUtil class was introduced after 14.0, and is not in 14.1, but is in the cvs version of Ogre. so you can either use the latest cvs version of Ogre, or define CEGUI_USEOLDOGRESTRING in your project if you use Ogre 14.0 or 14.1.
Of course CE might have more to say on the subject.
'Beta' releases of the VC dependencies packages
Posted: Thu Aug 05, 2004 15:50
by saetrum
You'll need to use the cvs version of Ogre (not 14.0 or 14.1) to get the StringUtil class. The change was made but was not put in the stable release. In summary, you'll need to pick up the latest version of Ogre (from cvs snapshot not stable release)
or
If you want to use 14.1, then simply define CEGUI_USEOLDOGRESTRING in your project settings (if using Visual Studio), or make a #define in your include files. i.e.
Either of the 2 options above should get rid of the error. I should know because I had the same error when I tried to use 14.1.
'Beta' releases of the VC dependencies packages
Posted: Thu Aug 05, 2004 17:52
by CrazyEddie
Hi there,
Which compiler and which version are you using, which OS, and if on Win32/VC++ are you using the pre-compiled dependencies or are you rolling your own?
Thanks,
CE.