Comments (7)
Thank you for your feedback.
The failed tests are because they are not up-to-date (and in optional modules).
For the tree test, I don't see the error on my computer. Did you compile on Linux or OSX? Which Linux?
regards,
-- JBM
from sferes2.
On Ubuntu 14.04 LTS. My compile method is like this:
Install Sferes2
- Update Opencv2.4.10
after installed use pkg-config --modversion opencv to ensure version.
2)install boost1.52
sudo tar -zxvf boost_1_52_0.tar.gz
cd boost_1_52_0
./bootstrap.sh
./b2 install
use locate boost to ensure version.
3)Compile Sferes2
sudo apt-get install libtbb-dev libeigen2-dev python-simplejson libgoogle-perftools-dev
sudo apt-get install libgoogle-glog-dev
libgflags-dev liblmdb-dev
go to sfere2 page
./waf configure (OK)
./waf build (OK maybe)
./waf check . Test tree is empty error occur.
Here the end of compile result may give some help:
……
phi_ij:0.81 1
0 0.136798
1 0.510003
2 0.566504
3 0.271217
4 -0.192494
Test case nn_osc did not check any assertions
Leaving test case "nn_osc"; testing time: 60185mks
Leaving test suite "nn_osc"
*** No errors detected
Running 1 test case...
Entering test suite "dnn"
Entering test case "gen_cppn"
Leaving test case "gen_cppn"; testing time: 66101mks
Leaving test suite "dnn"
test tree is empty error occured. (my annotation)
--Thomas in BJ
from sferes2.
I'm having the same error (using also Ubuntu 14.04 LTS). I add the important part of ./waf configure
.
boost headers : Version 1_54 (/usr/include)
library boost_serialization : not found
library boost_filesystem : not found
library boost_system : not found
library boost_unit_test_framework : not found
library boost_program_options : not found
library boost_graph : not found
library boost_mpi : not found
library boost_python : not found
library boost_thread : not found
Even though it detect the boost headers, the libraries are not found. Then I'm not able to compile because of this. Maybe there's something missing?
@tmczhangtielin did you compile boost from source and did it work? because the only difference I see it's that the version you installed was 1.52 and the version of the ubuntu 14.04 binaries is 1.54.
from sferes2.
Hi
This is a known problem on the last version of Ubuntu (they moved the boost libraries to a /usr/lib64 or something like this instead of the classic unix paths like /usr/lib or /usr/local/lib). The easiest short-term fix is to add a symbolic link to the boost libraries in a standard path (like /urs/lib).
I will try to update the scripts soon but this is not as simple as it seems.
Best regards,
� Jean-Baptiste mMouret
On 29 May 2015, at 16:38, silgon [email protected] wrote:
I'm having the same error (using also Ubuntu 14.04 LTS). I add the important part of ./waf configure.
boost headers : Version 1_54 (/usr/include)
library boost_serialization : not found
library boost_filesystem : not found
library boost_system : not found
library boost_unit_test_framework : not found
library boost_program_options : not found
library boost_graph : not found
library boost_mpi : not found
library boost_python : not found
library boost_thread : not foundEven though it detect the boost headers, the libraries are not found. Then I'm not able to compile because of this. Maybe there's something missing?
@tmczhangtielin did you compile boost from source and did it work? because the only difference I see it's that the version you installed was 1.52 and the version of the ubuntu 14.04 binaries is 1.54.
�
Reply to this email directly or view it on GitHub.
� Jean-Baptiste Mouret
http://pages.isir.upmc.fr/~mouret/
from sferes2.
Yeah, just checked, it's in /usr/lib/x86_64-linux-gnu
, apparently they did it to have support multiarch as explained here. As for the symbolic links, right now I hesitate since # ls /usr/lib/x86_64-linux-gnu/ | grep boost
throws me 109 results for which I'll have to do a symbolic link in /usr/lib
. I'll check it out later though. Thanks =)
from sferes2.
Yes, you can easily do it:
ln -s /usr/lib/x86_64-linux-gnu/libboost* .
I will try to work on a patch soon.
On 29 May 2015, at 17:12, silgon [email protected] wrote:
Yeah, just checked, it's in /usr/lib/x86_64-linux-gnu, apparently they did it to have support multiarch as explained here. As for the symbolic links, right now I hesitate since # ls /usr/lib/x86_64-linux-gnu/ | grep boost throws me 109 results for which I'll have to do a symbolic link in /usr/lib. I'll check it out later though. Thanks =)
�
Reply to this email directly or view it on GitHub.
� Jean-Baptiste Mouret
http://pages.isir.upmc.fr/~mouret/
from sferes2.
I was avoiding to add more things in my /usr/lib/
folder, but yeah, it builds and apparently it works fine adding those symbolic links. I'll be testing it later, thanks ;).
from sferes2.
Related Issues (20)
- Failed to build spheres2 out of the box. All checks in configure are green (ok). HOT 6
- /sferes/misc/rand.hpp:79 : Assertion `max > min' failed. HOT 6
- configure module map-elite failed
- Rename namespace stat to stats
- Compilation of QD branch without KD-tree HOT 3
- Will sferes2 ever consider adding cmake support? HOT 1
- nn2 build fail HOT 29
- generated wscript is outdated for new exps
- New rng breaking valgrind
- Creation exp not up-to-date
- Switch to double (instead of float)
- Excessive memory consumption when using eval::Parallel HOT 23
- Configuring experiments improvement
- documentation missing some libboost libs HOT 1
- Update wiki HOT 1
- pthread in Ubuntu 18.10 HOT 3
- ./waf --exp modular_QD in ubuntu 18.10 HOT 6
- New exp_map_elites.cpp does not compile HOT 9
- GenericNsga2 does not use Crowd template parameter HOT 1
- Segmentation fault using eval::Parallel HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sferes2.