Andre Poenitz wrote:
On Sat, Aug 18, 2007 at 02:45:52PM +0200, Peter Kümmel wrote:
Abdelrazak Younes wrote:
Edwin Leuven wrote:
i am trying to compile lyx (cmake, msvc), but run into trouble.
i don't do anything fancy (or different from before the summer) just
run cmake in the standard way and point it to the gnuwin32 dir.
but i get the messages below, someone got a clue what is going on here?
thanks!
Apply this patch up until Peter comes back. Or learn CMake ;-)
Abdel.
Index: support/Timeout.h
===================================================================
--- support/Timeout.h (revision 19626)
+++ support/Timeout.h (working copy)
@@ -14,6 +14,7 @@
#include <boost/signal.hpp>
+#undef emit
namespace lyx {
also fixed.
Since we are at it: cmake always picks up /usr/bin/c++ as compiler,
not /usr/local/bin/g++ which comes earlier in my path (and is linked
to ccache, that's why I am interested in using it). Do I need to run
cmake with a specific option?
Andre'
In Modules/Platforms/UnixPaths.cmake I found this:
SET(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH}
/bin /usr/bin /usr/local/bin /usr/pkg/bin /sbin
)
Maybe it helps to set CMAKE_SYSTEM_PROGRAM_PATH when calling cmake.
Peter