Hi,
Compiling the latest version of SUMO on SVN generates the following
compile-time error:
g++ -DHAVE_CONFIG_H -I. -I../../../src
-I/home/mani/Desktop/VENTOS_SUMO_2/VENTOS_SUMO/sumo/./src
-I/usr/include/fox-1.6 -I/usr/include/gdal -I/usr/include
-I/usr/local/include -I/usr/include -msse2 -mfpmath=sse -g -pthread -MT
MsgHandler.o -MD -MP -MF .deps/MsgHandler.Tpo -c -o MsgHandler.o
MsgHandler.cpp
In file included from ../../../src/utils/iodevices/OutputDevice.h:38:0,
from MsgHandler.cpp:39:
../../../src/utils/common/ToString.h:139:29: error: ‘LateralAlignment’ was
not declared in this scope
inline std::string toString<LateralAlignment>(const LateralAlignment& latA,
std::streamsize accuracy) {
^
../../../src/utils/common/ToString.h:139:53: error: ‘LateralAlignment’ does
not name a type
inline std::string toString<LateralAlignment>(const LateralAlignment& latA,
std::streamsize accuracy) {
^
../../../src/utils/common/ToString.h:139:71: error: ISO C++ forbids
declaration of ‘latA’ with no type [-fpermissive]
inline std::string toString<LateralAlignment>(const LateralAlignment& latA,
std::streamsize accuracy) {
^
../../../src/utils/common/ToString.h:139:20: error: template-id
‘toString<<expression error> >’ for ‘std::string toString(const int&,
std::streamsize)’ does not match any template declaration
inline std::string toString<LateralAlignment>(const LateralAlignment& latA,
std::streamsize accuracy) {
^
../../../src/utils/common/ToString.h:145:29: error: ‘LaneChangeAction’ was
not declared in this scope
inline std::string toString<LaneChangeAction>(const LaneChangeAction&
action, std::streamsize accuracy) {
^
../../../src/utils/common/ToString.h:145:53: error: ‘LaneChangeAction’ does
not name a type
inline std::string toString<LaneChangeAction>(const LaneChangeAction&
action, std::streamsize accuracy) {
^
../../../src/utils/common/ToString.h:145:71: error: ISO C++ forbids
declaration of ‘action’ with no type [-fpermissive]
inline std::string toString<LaneChangeAction>(const LaneChangeAction&
action, std::streamsize accuracy) {
^
../../../src/utils/common/ToString.h:145:20: error: template-id
‘toString<<expression error> >’ for ‘std::string toString(const int&,
std::streamsize)’ does not match any template declaration
inline std::string toString<LaneChangeAction>(const LaneChangeAction&
action, std::streamsize accuracy) {
^
make[4]: *** [MsgHandler.o] Error 1
make[4]: Leaving directory
`/home/mani/Desktop/VENTOS_SUMO_2/VENTOS_SUMO/sumo/src/utils/common'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/mani/Desktop/VENTOS_SUMO_2/VENTOS_SUMO/sumo/src/utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/mani/Desktop/VENTOS_SUMO_2/VENTOS_SUMO/sumo/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/mani/Desktop/VENTOS_SUMO_2/VENTOS_SUMO/sumo/src'
make: *** [all-recursive] Error 1
mani@mani-ThinkPad-T430s:~/Desktop/VENTOS_SUMO_2/VENTOS_SUMO/sumo$
- Mani
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user