Open ebachard opened 7 years ago
Hi,
You have to provide the requested prerequisites. Please download CMake here: https://cmake.org/files/v3.6/cmake-3.6.1-Linux-x86_64.tar.gz
On travis, the dependencies are built or downloaded with this script: https://github.com/Ifsttar/I-Simpa/blob/master/ci/travis/linux/before_install.sh
Hi,
Thanks for your fast answer.
The problem is : do we really need 3.6.0 ? I hacked cmake version number and the Makefile was successfully created (I had to install swig and libwx + libwx-dev in meantime though), and I don't want to break my build system just because of cmake not_the_last_one.
I see there is a major change with boost, but I don't know when the 1.59 (BOOST_TEST starts at 1.59 if I'm not wrong) will be available in my current distro. I'll investigate ...
Yes cmake > 3.6.0 is required.
You don't have to replace your version of cmake. You can download it and place it in another folder.
Please use the scripts provided for Travis linux build as I don't have the time to support another versions of build system and libraries.
Following your instructions, and using gcc-5.4.0 + g++-5.4.0, I got it working.
Several issue had to be fixed :
isnan :
I-Simpa/src/isimpa/IHM/customRenderer/gridcellgabefloatrenderer.cpp:77:16: error: ‘isnan’ was not declared in this scope
if(isnan(val)) {
=> see the attached patch (not sure the fix will work everywhere -Windows Mac OS X- though)
got zillions of warnings: I-Simpa/src/isimpa/IHM/simpleGraph.cpp:1075:26: warning: ‘void wxPen::SetStyle(int)’ is deprecated: use wxPENSTYLE_XXX constants [-Wdeprecated-declarations] newPen.SetStyle(wxSOLID);
boost-install/include/boost/python/detail/is_auto_ptr.hpp:17:40: warning: ‘template
and so on ...
Last issue: I-Simpa/build/bin $ ./isimpa./isimpa: error while loading shared libraries: libboost_system.so.1.61.0: cannot open shared object file: No such file or directory
Reason : libboost not system-installed (to avoid breaking a lot of things)
Fixed using the following command line: LD_LIBRARY_PATH=$HOME/boost-install/lib/ ./isimpa
Now got it working ;-) Will read the documentation, and start some tests. Thanks :-)
I-Simpa/bucm CMake Error at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): CMake 3.6.0 or higher is required. You are running version 3.5.1
The log:
I-Simpa/src/lib_interface/tests/io_test.cpp:51:54: error: ‘BOOST_TEST’ was not declared in this scope BOOST_TEST((modelTest.vertices[0] == t_pos(5, 0, 0)));
Probably disable the test should help, or maybe there are other breakages to come ?
Thank in advance for any advice :-)