while building plplot-5.95 with cmake-2.8.0, I got this error:

bin/g++ -m32 -Dplplotwxwidgetsd_EXPORTS -DHAVE_CONFIG_H -fPIC
-I/path/to/src/plplot-5.9.5/plplot-5.9.5/include
-I/path/to/src/plplot-5.9.5/plplot-5.9.5/lib/qsastime
-I/path/to/src/plplot-5.9.5/plplot-5.9.5/bindings/c++
-I/path/to/src/plplot-5.9.5/plplot-5.9.5
-I/path/to/src/plplot-5.9.5/plplot-5.9.5/bindings/wxwidgets
-I/path/to/wxPython-src-2.8.9.2/lib/wx/include/gtk2-unicode-release-2.8
-I/path/to/wxPython-src-2.8.9.2/include/wx-2.8
_FILE_OFFSET_BITS=64 _LARGE_FILES _LARGEFILE_SOURCE=1 __WXGTK__
-DUSINGDLL -o CMakeFiles/plplotwxwidgetsd.dir/wxPLplotstream.cpp.o
-c
/path/to/src/plplot-5.9.5/plplot-5.9.5/bindings/wxwidgets/wxPLplotstream.cpp

g++: _FILE_OFFSET_BITS=64: No such file or directory 

It looks like the "-D" got eaten.  Someone else had the same problem:

http://bbs.archlinux.org/viewtopic.php?id=85839

Is this a cmake bug?  If so, any patches I can apply to remove it?

-- 
Yorick

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to