hi

skeither wrote:
> I am using CMake 2.4.8, and it would not detect the compiled wxWidgets
> automatically. I had to set the wxWidgets_LIB_DIR to .../
> wxWidgets-2.8.7/lib. Yet even after that all of the libraries could
> not be loaded, and I have to load them manually.
> 
> What might be the problem here? The wxWidgets is from the SDK
> compilation. I even tried using the newest 2.8.9 but to no success.

since the integration of the fast preview project from Google Summer of 
Code, the SDK is outdated.

You will need to make a small change to wxWidgets (set wxUSE_GLCANVAS to 
1 in include/wx/msw/setup.h) on top of the changes that were already 
necessary before if not using the SDK's version.

You will need to add GLEW to the mix.

Both will have to be built /MT instead of /MD.

I am not sure if it will work with CMake 2.4.8, I am using Cmake 2.5 - 
20080117.

I am slowly progressing on an update of the SDK.

My reccomendation for you would be to move systematically, step by step.

* Start with a fresh SDK.
* Fetch a revision prior to 3479 from SVN and build it to validate your 
toolchain.
* get and build GLEW
* make the wxUSE_GLCANVAS change to wxMSW-2.8.7
* fetch trunk. Change the top level CMakeLists.txt to point to 
wxMSW-2.8.7 instead of wxMSW-2.8.9 and build it.
* now you are ready to make changes in the SDK such as using 2.8.9

good luck
Yuv



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to