Hi Michael,
In the simplest case, configure gives: Optional features summary ------------------------- Enabled: GUI Disabled: Debug Profiling Coverage PIC PROJ GDAL UnitTests Python OSG ffmpeg And this will compile fine (without Python though). Anyway, using cmake yields: cmake ../.. -- CMAKE_BINARY_DIR: /home/enno/Downloads/sumo-1.1.0/build/cmake-build -- CMAKE_SOURCE_DIR: /home/enno/Downloads/sumo-1.1.0 -- -- Platform: -- Host: Linux-4.15.0-20-generic x86_64 -- Target: Linux-4.15.0-20-generic x86_64 -- CMake: 3.10.2 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Compiler: GNU 7.3.0 -- -- Found Python: /usr/bin/python -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- Could NOT find Proj -- 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 GDAL (missing: GDAL_LIBRARY GDAL_INCLUDE_DIR) -- 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 GL2PS (missing: GL2PS_LIBRARY GL2PS_INCLUDE_DIR) -- Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) (Required is at least version "3.0") -- Enabled features: Linux-4.15.0-20-generic x86_64 GNU 7.3.0 Release GUI CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GDAL_LIBRARY linked by target "netconvert" in directory /home/enno/Downloads/sumo-1.1.0/src linked by target "sumo-gui" in directory /home/enno/Downloads/sumo-1.1.0/src linked by target "netgenerate" in directory /home/enno/Downloads/sumo-1.1.0/src/netgen linked by target "polyconvert" in directory /home/enno/Downloads/sumo-1.1.0/src/polyconvert linked by target "netedit" in directory /home/enno/Downloads/sumo-1.1.0/src/netedit -- Configuring incomplete, errors occurred! See also "/home/enno/Downloads/sumo-1.1.0/build/cmake-build/CMakeFiles/CMakeOutput.lo g". I know I can install GDAL and so forth, but since configure obviously works fine I don't understand the need to. Also there are no apparent configuration options for cmake. Cheers, Enno -----Ursprüngliche Nachricht----- Von: Michael Behrisch <o...@behrisch.de> Gesendet: Montag, 4. März 2019 09:11 An: sumo developer discussions <sumo-dev@eclipse.org>; Enno Middelberg <enno.middelb...@deutschebahn.com> Betreff: Re: [sumo-dev] Compiling SUMO with Python3 bindings Hi Enno, cmake is the preferred way of building, autotools will phase out sooner or later. It should not require more libraries than the autotools build. Please post your error messages here. Best regards, Michael Am 04.03.19 um 08:32 schrieb Enno Middelberg: > Hello, > > > > > > I have successfully compiled Sumo from source under Linux, including > the GUI, but there are a few bits and pieces I dont understand or > that I find unsatisfactory: > > > > I havent managed to compile Sumo with Python3 bindings. I have > installed python3-dev and all, but according to config.log, configure > only searches in /usr/include/python2.7. However, when I install > python-dev, compilation will go through, and I can import libsumo even > from a python3 prompt. But then again, I really would like to compile > against python3 to avoid problems. > > > > When I try to set Paths using CPPFLAGS, configure will not work, since > CPPFLAGS wont be added to the search path, but will replace it, ie, > configure then searches for gcc in /usr/include/python3. This > obviously fails. > > > > Using cmake doesnt work at all it complains about a number of > missing libraries (which I dont want to install and dont need) and I > couldnt find documentation about how to switch this off. > > > > > > Id be very grateful if someone could drop a few hints about how to > get going! > > > > > > Thanks, > > > > Enno > > > > > > > > > > > > ZOD Logo > > > > Dr. Enno Middelberg > ZERO.ONE.DATA Data Scientist (T.IVVXZ / T.IPB16) > > Team Kant > > > > DB Systel GmbH > Jürgen-Ponto-Platz 1, 60329 Frankfurt <x-apple-data-detectors://0/1> > am Main > Mobil: +49 (0) 152 3752 3652 > > > > Sitz der Gesellschaft: Frankfurt am Main > Registergericht: Frankfurt am Main, HRB 78707 > USt-IdNr.: DE252204770 > Geschäftsführer: Christa Koenen (Vorsitzende), Bodo Gmel, Gerald > Hofer, Dr. Klaus Rüffler Vorsitzende des Aufsichtsrates: Prof. Dr. > Sabina Jeschke > > > > > _______________________________________________ > sumo-dev mailing list > sumo-dev@eclipse.org > To change your delivery options, retrieve your password, or > unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-dev >
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ sumo-dev mailing list sumo-dev@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev