Hi,
Pablo just explained the advised way to generate a MSVC solution because
DLR plans to scrap the preconfigured one in the near future. Some other
hints for you because I also had some very uncomfortable time getting
linker paths right some months ago:
* Be sure the librarie directories are listed in the Windows "PATH"
environment variable. If the directory mentioned there is outdated,
edit it and apply again.
* Have a look at the MSVC macros (those with the Dollar sign). The
SUMO libraries should show up there with the correct path.
o open some project property sheet of the solution (Solution
Explorer > RMC on project > Properties)
o go to Linker > General section and edit "Additional
Dependencies", view all macros by clicking the button
o e.g. look for $(XERCES) value
Regards
Mirko
Am 28.05.2018 um 17:37 schrieb Stefano Niero:
Hi,
Thank you for the answer. I am sorry but I am not getting how I am
supposed to use CMake for compiling SUMO. I found in the source folder
I downloaded, the project file already done for visual studio in the
folder I mentioned, isn’t that correct? As far as I can remember that
was written in the instructions in the page (although it did not
mention the msvc17 folder) but I might be wrong. May I ask you if it
is possible to agree a call on skype or a session through teamviewer,
if that makes things quicker?
Thank you very much
Stefano Niero
*Da:*[email protected] <[email protected]>
*Per conto di *[email protected]
*Inviato:* 28 May 2018 16:54
*A:* [email protected]
*Oggetto:* Re: [sumo-user] SUMO Windows build
Hi
Sorry for the problem with the Wiki, it’s not work due a Problem with
the GDPR. About your Problem with the SUMO Build:
* You need to use CMake for compiling SUMO. It can generate a
Solution for Visual Studio 2017 quickly.
* About the problem with the libraries, you can find all in this
Project: https://github.com/DLR-TS/SUMOLibraries
* For link all libraries correctly, clone the SUMOLibraries project
in c:\ libraries, define the environment variable SUMO_LIBRARIES
with “c:\libraries”, and generate a VS 2017 solution using
CMake-gui (If you need more help with this step, I can help you)
* You need to put all .dlls in the PATH for executing sumo, but this
step can be automatically done using the Script setPATH64.bat (in
your case, DON’T use setPATH32.bat).
* After defining the environment variable SUMO_LIBRARIES, execute
two times the bat file setPATH64.bat of c:\libraries
All of this information is in the SUMO Wiki, but while it don’t work,
I can help you thought Email.
Regards.
*Von:*[email protected]
<mailto:[email protected]>
[mailto:[email protected]] *Im Auftrag von *Stefano Niero
*Gesendet:* Montag, 28. Mai 2018 16:39
*An:* [email protected] <mailto:[email protected]>
*Betreff:* [sumo-user] SUMO Windows build
Hello,
I have been trying to build SUMO on my pc which is a DELL 64bit with
Windows 10 installed in order to study it in debug mode. I had many
problems in building the program. I want to build the 64bit version
using Microsoft Visual Studio 2017. I used the prj file contained in
build\msvc17 then. At first I had problems in finding the files
contained in the fox/include library, I solved this problem by copying
them in the src folder. Secondly the program kept on giving me Link
errors because it would not find the library:
xerces-c-3.2.0-win64\lib\xerces-c_3D.lib. I did not provide in the
config.props any value for the 32bit libraries but in one of the
several attempts I made, this link problem disappeared when I
introduced also the value of the 32bit libraries, in this case the
program is built without error (although with 250 warnings) but once I
launch or debug the application the error that appears is the following:
The program '[8428] duarouterD.exe' has exited with code -1073741701
(0xc000007b).
Whose code suggests architecture incompatibility. What should I do?
Moreover SUMO wiki server is not working so I cannot access it.
Thank you very much for the attention
Stefano Niero
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user