Hello,
I am following the build instructions on
http://plexe.car2x.org/tutorial/. I receive the following error when running make on plexe-sumo.
I am using Ubuntu 14.4.0 and have gcc 4.5.3.1-1ubuntu1 installed.
Any ideas?
Thanks.
make[3]: Entering directory '/home/aod/Desktop/Software/plexe-sumo/sumo/src/router'
g++ -DHAVE_CONFIG_H -I. -I../../src -I/home/aod/Desktop/Software/plexe-sumo/sumo/./src -I/usr/local/include -I/usr/include -msse2 -mfpmath=sse -O2 -DNDEBUG -MT RORouteHandler.o -MD -MP -MF .deps/RORouteHandler.Tpo -c -o RORouteHandler.o RORouteHandler.cpp
In file included from RORoutable.h:37:0,
from ROPerson.h:39,
from RORouteHandler.cpp:49:
../../src/utils/vehicle/IntermodalRouter.h: In member function ‘int IntermodalRouter<E, L, N, V, INTERNALROUTER>::splitEdge(IntermodalRouter<E, L, N, V, INTERNALROUTER>::_IntermodalEdge*, IntermodalRouter<E, L, N, V, INTERNALROUTER>::_IntermodalEdge*, double, IntermodalRouter<E, L, N, V, INTERNALROUTER>::_IntermodalEdge*, IntermodalRouter<E, L, N, V, INTERNALROUTER>::_IntermodalEdge*)’:
../../src/utils/vehicle/IntermodalRouter.h:109:35: error: there are no arguments to ‘fabs’ that depend on a template parameter, so a declaration of ‘fabs’ must be available [-fpermissive]
if (fabs(totalLength - pos) < POSITION_EPS && splitIt + 1 != splitList.end()) {
^
../../src/utils/vehicle/IntermodalRouter.h:109:35: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)
Makefile:419: recipe for target 'RORouteHandler.o' failed
make[3]: *** [RORouteHandler.o] Error 1
make[3]: Leaving directory '/home/aod/Desktop/Software/plexe-sumo/sumo/src/router'
Makefile:698: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/aod/Desktop/Software/plexe-sumo/sumo/src'
Makefile:539: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/aod/Desktop/Software/plexe-sumo/sumo/src'
Makefile:405: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1