Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-dev] compile error

Good morning,

this morning version of sumo is not compiling.

I'm at commit: 
commit aa6c0ba953f07a6a70f9bddebd6b2d3e76d372a1 (HEAD -> master, upstream/master)
Author: Michael Behrisch <michael.behrisch@xxxxxx>
Date:   Mon Apr 20 09:19:50 2020 +0200
    refactoring to reduce MSVC warnings, refs #12, #6742

ERROR:
/home/codeca/Workspace/SUMO/sumo/src/libsumo/TrafficLight.cpp: In static member function ‘static void libsumo::TrafficLight::setCompleteRedYellowGreenDefinition(const string&, const libsumo::TraCILogic&)’:
/home/codeca/Workspace/SUMO/sumo/src/libsumo/TrafficLight.cpp:273:36: error: could not convert ‘ACTUATED’ from ‘TrafficLightType’ to ‘int’
             case TrafficLightType::ACTUATED:
                                    ^~~~~~~~
/home/codeca/Workspace/SUMO/sumo/src/libsumo/TrafficLight.cpp:279:36: error: could not convert ‘DELAYBASED’ from ‘TrafficLightType’ to ‘int’
             case TrafficLightType::DELAYBASED:
                                    ^~~~~~~~~~
/home/codeca/Workspace/SUMO/sumo/src/libsumo/TrafficLight.cpp:285:36: error: could not convert ‘STATIC’ from ‘TrafficLightType’ to ‘int’
             case TrafficLightType::STATIC:

Cmake Log:
-- CMAKE_BINARY_DIR: /home/codeca/Workspace/SUMO/sumo/build/cmake-build-release
-- CMAKE_SOURCE_DIR: /home/codeca/Workspace/SUMO/sumo
--
-- Platform:
--     Host: Linux-5.0.0-25-generic x86_64
--     Target: Linux-5.0.0-25-generic x86_64
--     CMake: 3.13.4
--     CMake generator: Unix Makefiles
--     CMake build tool: /usr/bin/make
--     Compiler: GNU 8.3.0
--
-- Found Python: /usr/bin/python
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named setuptools
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- Found Proj: /usr/lib/x86_64-linux-gnu/libproj.so
-- Found Fox: -L/usr/lib/x86_64-linux-gnu -lFOX-1.6 -lX11 -lXext -lfreetype -lfontconfig -lXft -lXcursor -lfreetype -lfontconfig -lfreetype -lGL -lGLU -ldl -lpthread -lrt -ljpeg -lpng -ltiff -lz -lGLU -lGL
-- Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR)
-- Could NOT find osgViewer (missing: OSGVIEWER_LIBRARY OSGVIEWER_INCLUDE_DIR)
-- Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR)
-- Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR)
-- Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR)
-- Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR)
-- Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR)
-- Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES OPENSCENEGRAPH_INCLUDE_DIR) (Required is at least version "3.4.0")
-- Could NOT find Eigen3 (missing: EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK) (Required is at least version "3.2")
-- Could NOT find Java (missing: Java_JAVAC_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVADOC_EXECUTABLE Development) (found version "11.0.6")
-- Could NOT find Java (missing: Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVADOC_EXECUTABLE) (found version "11.0.6")
-- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
CMake Warning at src/libsumo/CMakeLists.txt:102 (message):
  ENABLE_JAVA_BINDINGS is set but Java or JNI was not found.


-- Enabled features: Linux-5.0.0-25-generic x86_64 GNU 8.3.0 Release Proj GUI SWIG GDAL FFmpeg GL2PS
-- Configuring done
-- Generating done
-- Build files have been written to: /home/codeca/Workspace/SUMO/sumo/build/cmake-build-release

Regards,
Lara

Back to the top