Hi Didac,
Are you using Visual Studio or MinGW?
Regards
Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx]
Im Auftrag von Didac Busquets
Gesendet: Freitag, 21. September 2018 14:03
An: sumo-user@xxxxxxxxxxx
Betreff: [sumo-user] Problems compiling SUMO 1.0.1
Hi,
I’m trying to compile SUMO 1.0.1 in Windows10 (64 bits), but I’m not succeeding.
I’ve followed the instructions in
http://sumo.dlr.de/wiki/Installing/Windows_CMake
If I do “cmake .. -G "Visual Studio 14 2015”, it generates the cmake files, I can build, but the resulting sumo and sumo-gui don’t do anything when executing.
See:
Unknown+User@IMSIM-0004 MINGW64 /d/development/sumo/sumo-1.0.1/bin
$ ll sumo.exe sumo-gui.exe
-rwxr-xr-x 1 Unknown+User Unknown+Group 2.7M Sep 21 13:53 sumo.exe*
-rwxr-xr-x 1 Unknown+User Unknown+Group 4.2M Sep 21 13:53 sumo-gui.exe*
Unknown+User@IMSIM-0004 MINGW64 /d/development/sumo/sumo-1.0.1/bin
$ file sumo.exe sumo-gui.exe
sumo.exe: PE32 executable (console) Intel 80386, for MS Windows
sumo-gui.exe: PE32 executable (GUI) Intel 80386, for MS Windows
In contrast, with my binary version 0.32.0 I get this:
$ file "`which sumo`"
/c/Program Files (x86)/DLR/Sumo/bin/sumo: PE32+ executable (console) x86-64, for MS Windows
So there is a difference on the type of executable being created.
If I do “cmake .. -G "Visual Studio 14 2015 Win64” I get the following error:
CMake Error at src/microsim/pedestrians/CMakeLists.txt:26 (add_library):
Cannot find source file:
MSPModel_Remote.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx
CMake Error at src/microsim/pedestrians/CMakeLists.txt:26 (add_library):
No SOURCES given to target: microsim_pedestrians
Any idea what might be the issue?
Thanks,
Didac