Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=7387124
By: nbarriga
I had to make a few changes to the cmake files for it to build in my system.
It doesn't run properly, I am aware of the problems in x86_64, but now at least
it builds on my machine. The changes to CMakeLists.txt should be ommitted if
you want 32 bits, but the changes to FindImageMagickLib.cmake should be added
to the cvs as it shouldn't break anything for anyone. Can someone test it? Here
the diff:
Index: tuxcap/CMakeLists.txt
===================================================================
RCS file: /cvsroot/tuxcap/TuxCap/tuxcap/CMakeLists.txt,v
retrieving revision 1.26
diff -r1.26 CMakeLists.txt
6,9c6,9
< SET(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -O3 -m32")
< SET(CMAKE_C_FLAGS_DEBUG "-g -m32")
< SET(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3 -m32")
< SET(CMAKE_CXX_FLAGS_DEBUG "-g -m32")
---
> SET(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -O3")
> SET(CMAKE_C_FLAGS_DEBUG "-g")
> SET(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3")
> SET(CMAKE_CXX_FLAGS_DEBUG "-g")
cvs diff: Diffing tuxcap/CMakeMacros
cvs diff: Diffing tuxcap/CMakeModules
Index: tuxcap/CMakeModules/FindImageMagickLib.cmake
===================================================================
RCS file: /cvsroot/tuxcap/TuxCap/tuxcap/CMakeModules/FindImageMagickLib.cmake,v
retrieving revision 1.2
diff -r1.2 FindImageMagickLib.cmake
38a39
> /usr/include/ImageMagick
72c73
< NAMES Magick CORE_RL_magick_ CORE_DB_magick_
---
> NAMES Magick CORE_RL_magick_ CORE_DB_magick_ MagickCore
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=710424
|