[PLEXE] Build Issue

91 views
Skip to first unread message

AODriscoll

unread,
Feb 20, 2018, 8:21:02 AM2/20/18
to OMNeT++ Users
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

LUO TIANZE

unread,
Mar 16, 2018, 11:35:40 AM3/16/18
to omn...@googlegroups.com
I got the same problem as well!

Michele Segata

unread,
Mar 23, 2018, 1:21:54 PM3/23/18
to omn...@googlegroups.com
I am not able to reproduce this on Ubuntu 16.04 using clang. Can you try
compiling with clang?

M-

On 16/03/18 16:35, LUO TIANZE wrote:
> I
>
> On Tuesday, February 20, 2018 at 9:21:02 PM UTC+8, AODriscoll wrote:
>
> Hello,
>
> I am following the build instructions on
> http://plexe.car2x.org/tutorial/ <http://plexe.car2x.org/tutorial/>.
> --
> You received this message because you are subscribed to the Google
> Groups "OMNeT++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to omnetpp+u...@googlegroups.com
> <mailto:omnetpp+u...@googlegroups.com>.
> Visit this group at https://groups.google.com/group/omnetpp.
> For more options, visit https://groups.google.com/d/optout.


--
Michele Segata, PhD
Department of Information Engineering and Computer Science
University of Trento, Italy
https://ans.disi.unitn.it/~segata
Message has been deleted

Michele Segata

unread,
Jul 13, 2018, 11:16:19 AM7/13/18
to omn...@googlegroups.com
This looks to me like a SUMO problem. The error is thrown on a portion
of the code that is not touched by Plexe. Did any of you try to compile
standard SUMO (same version as plexe sumo) and see if that happens?
In case, that is something to be asked to SUMO developers. Maybe it's
just easier to use another compiler.

Best,
Michele

On 4/07/18 10:49, Pete wrote:
> Has anyone found a solution to this issue? I encountered the same
> problem. Followed the Plexe documentation and everything installed
> without issues except for plexe-sumo. I'm running on Ubuntu 16.04 and
> haven't been able to complete the installation because of this. Do I
> have to compile with clang for it to work? If so, can someone help walk
> me through the steps please? Thanks!
>
> On Tuesday, February 20, 2018 at 5:21:02 AM UTC-8, AODriscoll wrote:
>
> Hello,
>
> I am following the build instructions on
> http://plexe.car2x.org/tutorial/ <http://plexe.car2x.org/tutorial/>.
Reply all
Reply to author
Forward
0 new messages