Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Problems compiling SUMO 1.0.1

MSPModel_Remote.cpp  is a class for coupling SUMO with JuPedSim (using the GRPC interface provided by JuPedSim).
It's still somewhat experimental. You will probably not miss this.

regards,
Jakob

2018-09-25 15:31 GMT+02:00 Didac Busquets <didac.busquets@xxxxxxxxxx>:

Hi,

 

I’m using the Visual Studio compiler.

 

I’ve made some progress. I’ve  noticed that the error occurs because the file MSPModel_Remote.cpp is wanted when the GRPC library is present. I simply removed that library and the compilation succeeded.

 

However, I’m not sure what am I losing by not having that file in.

 

               Didac

 

 

From: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> On Behalf Of Pablo.AlvarezLopez@xxxxxx
Sent: 21 September 2018 14:24
To: sumo-user@xxxxxxxxxxx
Subject: Re: [sumo-user] Problems compiling SUMO 1.0.1

 

Hi Didac,

 

Are you using Visual Studio or MinGW?

 

Regards

 

Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@eclipse.org] 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

 

 

 

Immense Simulations Limited

https://s3.amazonaws.com/htmlsig-assets/spacer.gif

Twitterhttps://s3.amazonaws.com/htmlsig-assets/spacer.gifFacebookhttps://s3.amazonaws.com/htmlsig-assets/spacer.gifLinkedInhttps://s3.amazonaws.com/htmlsig-assets/spacer.gif

https://s3.amazonaws.com/htmlsig-assets/spacer.gif

https://s3.amazonaws.com/htmlsig-assets/spacer.gif

https://s3.amazonaws.com/htmlsig-assets/spacer.gif

Didac Busquets / Co-Founder and Chief Scientist
didac.busquets@xxxxxxxxxx / +44 (0) 7919 076 981

https://s3.amazonaws.com/htmlsig-assets/spacer.gif

Immense Simulations Limited
Studio J2, Witan Studios, 279 Witan Gate, Central Milton Keynes, MK9 1EJ
w3w: ourselves.depend.backpack
www.immense.ai

https://s3.amazonaws.com/htmlsig-assets/spacer.gif

https://s3.amazonaws.com/htmlsig-assets/spacer.gif

This e-mail including any attachments is intended for the addressee only. It is private, confidential and may be covered by legal professional privilege. If you have received this message in error please notify us immediately and remove it from your system. Immense Simulations Limited is a Company registered in England and Wales No. 09782647. Registered offices: International House, 24 Holborn Viaduct, City Of London, London, England, EC1A 2BN.

 


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top