Compilation problem of Sumo

67 views
Skip to first unread message

Ivo Calado

unread,
Jun 20, 2016, 7:25:46 PM6/20/16
to omn...@googlegroups.com
Hi fellows,
   i'm dealing with a problem to build the sumo framework. After running ./configure, it's breaking on the make commando with the following output:

g++ -DHAVE_CONFIG_H -I. -I../../src  -I/home/ivocalado/opt/sumo-0.26.0/./src  -I/usr/include/ffmpeg -I/usr/local/include  -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.
                                   ^
../../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)
make[3]: *** [Makefile:408: RORouteHandler.o] Error 1
make[3]: Leaving directory '/home/ivocalado/opt/sumo-0.26.0/src/router'
make[2]: *** [Makefile:686: all-recursive] Error 1
make[2]: Leaving directory '/home/ivocalado/opt/sumo-0.26.0/src'
make[1]: *** [Makefile:526: all] Error 2
make[1]: Leaving directory '/home/ivocalado/opt/sumo-0.26.0/src'
make: *** [Makefile:393: all-recursive] Error 1


I'm compiling with g++ 5.3.0 on the gentoo distro. Any tip?

[]'s


--
Prof. Ivo Calado, D.Sc.
Instituto Federal de Alagoas - http://ifal.edu.br/
Site: http://sigaa.ifal.edu.br/sigaa/public/docente/portal.jsf?siape=1819085

Quidquid latine dictum sit, altum viditur

Putt's Law:
       Technology is dominated by two types of people:
               Those who understand what they do not manage.
               Those who manage what they do not understand.

Gabriela Cortés

unread,
Nov 14, 2017, 2:49:43 PM11/14/17
to OMNeT++ Users
Hello, did you solve the problem?
I have the same and I would like some orientation about it please.
Reply all
Reply to author
Forward
0 new messages