The first problem is that newton is now using C++11 libraries and that requires -std=c++11 in older GCC and clang compilers. Easy fix.
The next problem is a bit weird:
- Code: Select all
/home/godlike/src/more/newton-panos/coreLibrary_300/source/meshUtil/dgMeshEffect.h: In member function ‘void dgMeshEffect::dgChannel<T, type>::Reserve(dgInt32)’:
/home/godlike/src/more/newton-panos/coreLibrary_300/source/meshUtil/dgMeshEffect.h:145:15: error: there are no arguments to ‘Resize’ that depend on a template parameter, so a declaration of ‘Resize’ must be available [-fpermissive]
Resize(size);
To avoid linux and OSX build issues in the future I think we can hook up Newton with travis-ci build bot service.
Julio, if you are interested I can make a pull request with the .travis.yml (the configuration file of travis-ci). Then you can create an account in travis-ci.com and that's it. After every commit you make travis-ci will automatically build newton in multiple configurations (debug, release, linux, OSX) and if there is a build failure it will notify you via email.
Just to take a glimpse of the output:
https://travis-ci.org/godlikepanos/newton-dynamics