I've just tried 5154, and get the following when running cmake:

CMake Error at CMakeModules/FindGLUT.cmake:87 (MESSAGE):

Could not find GLUT

Call Stack (most recent call first):

CMakeLists.txt:184 (FIND_PACKAGE)


By default, the x64 builds of freeglut end up at:

\freeglut-2.6.0\VisualStudio2008Static\x64\Release

whereas FindGLUT.cmake looks in

\freeglut-2.6.0\VisualStudio2008Static\Release

Adding the following after line 22 in FindGLUT.cmake sorts it out:
    ${SOURCE_BASE_DIR}/freeglut-2.6.0/VisualStudio2008/x64/Release
    ${SOURCE_BASE_DIR}/freeglut-2.6.0/VisualStudio2008Static/x64/Release

Note that I coincidentally had the 32-bit Debug config of freeglut built too, which lives at \freeglut-2.6.0\VisualStudio2008Static\Debug. Had I also prepared the 32-bit release version, it would have found that in preference to the 64-bit version which would be unfortunate. What's not entirely clear to me is if and how the cmake/build process handles the availability of 32-bit and 64-bit libraries. Clearly it handles debug and non-debug versions so that you can build debug and release targets from the same cmake configured build directory. Is the implication that (at present) I need to have two entire copies of the sdk and source if I want to build 32-bit and 64-bit versions?

Anyhow, with that minor tweak 5154 builds fine, and can be found here:

http://tg73.net/

Thanks,

Tom

On 14/05/2010 12:41 PM, Harry van der Wolf wrote:

Thanks Tom,

Thomas Modes already applied your exiv and cmake (freeglut) patches to the trunk (svn 5152: Improved finding in cmake for Freeglut 2.6.0 and Exiv 0.19 under Windows).

best,
Harry

<http://groups.google.com/group/hugin-ptx>

--
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