Hi Michael

As you stated from your previous email regarding my Visual Studio Express 2013. 
I have uninstalled and re-install it. I do not have anymore the same error as 
before.

It did compile now, and create in bin the following files:

activitygenD.exe, dfrouterD.exe,  duarouterD.exe, jtrrouterD.exe, 
marouterD.exe, netconvertD.exe,  netgenerateD.exe, od2tripsD.exe, 
polyconvertD.exe, sumoD.exe, sumo-guiD.exe, TraciTestClientD.exe


However I am still getting 59 warning and 2 errors. The two errors are as 
folows:

Error 52 error C1083: Cannot open source file: 
'..\..\..\src\netedit\GNEConnection.cpp': No such file or directory 
F:\MyDoc\Research\TrafficSim\V6\sumo-svn\build\msvc10\netedit\c1xx netedit
Error 56 error C1083: Cannot open source file: 
'..\..\..\src\netedit\GNEProhibition.cpp': No such file or directory 
F:\MyDoc\Research\TrafficSim\V6\sumo-svn\build\msvc10\netedit\c1xx netedit

Meaning that GNEConnection.cpp and GNEProhibition.cpp are missing.

I tried to added these two files fom the following link:
http://www.sumo.dlr.de/doxygen/da/d3f/_g_n_e_connection_8cpp_source.html
http://www.sumo.dlr.de/doxygen/dc/d5c/_g_n_e_connection_8h.html


http://www.sumo.dlr.de/doxygen/dd/d3c/_g_n_e_prohibition_8cpp_source.html
http://www.sumo.dlr.de/doxygen/d3/d6b/_g_n_e_prohibition_8h_source.html


I have copied the source code .cpp and .h of both files in the directory of : 
..\..\..\src\netedit\

and compile it again, I am getting one error as follows:

Error 17 error RC1110: could not open ..\..\..\src\netedit\netedit.rc 
F:\MyDoc\Research\TrafficSim\V6\sumo-svn\build\msvc10\netedit\RC netedit

The bottom line, when I open umo-guiD.exe, and I tried a simple simulation, it 
runs but at some point, it gave me

the following error attached to this email as a picture.


I have also compare the bin folder with the nightly snapshot 
sumo-msvc12Win32-svn bin folder:

I am still missing lot files. Do I need to copy all .dll file manually or it 
should do it during the compilation pocess?


Thanks for you helps


Best  regards


Adama

________________________________
From: Michael Behrisch <[email protected]>
Sent: 27 June 2016 21:55:38
To: Adama Fofana; [email protected]
Subject: Re: [sumo-devel] Error: Macro definition of snprintf conflicts with 
standard library function

Hi,
1 to 3 look OK. In 4 you should leave all entries you don't need empty,
I don't know whether the double hyphen "--" does what you want.
And yes you should extract both gdal archives to the same dir and you
don't need a separate proj because it is included with the gdal
mapserver zip.
Concerning 6 there are some reports like
https://social.msdn.microsoft.com/Forums/en-US/a0d0e17f-540a-43da-86dc-24c284dbf5f4/error-msb6006-clexe-exited-with-code-1073741515-with-vc-2013-ultimate-2010-installed-and?forum=vcgeneral
which suggest that your Visual Studio installation may be broken.

The nightly snapshot sumo-msvc12Win32-svn.zip is a nightly build, so a
readily compiled sumo which is built from the corresponding sources.

Best regards,
Michael

Am 27.06.2016 um 21:28 schrieb Adama Fofana:
>
> Hi Michael
>
>
> No, I am not using 0.26. I have the downloaded the sumo-svn from Nightly
> Snapshots :
>
> http://sumo.dlr.de/daily/sumo-src-svn.zip (Sources)
>
>
> Here are the steps:
>
> 1) I have unzip the file in a folder named 'sumo-svn'
>
>
> 2) I have dowload the softwares : xerces-c-3.1.2, fox-1.6.50,  gdal.
>
>
> 3) I have execute the following
>
>   * Execute <SUMO>\tools\build\pythonPropsMSVC.py
>
> 4) Then I have edited the config.props as follows:
> <Project DefaultTargets="Build" ToolsVersion="4.0"
> xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
>   <PropertyGroup Label="UserMacros">
>     <XERCES>F:\MyDoc\Research\TrafficSim\Xerces\xerces-c-3.1.2</XERCES>
>     <PROJ_GDAL>F:\MyDoc\Research\TrafficSim\gdal</PROJ_GDAL>
>     <FOX16>F:\MyDoc\Research\TrafficSim\Fox\fox-1.6.50</FOX16>
>     <OSG>$(OSG)</OSG>
>     <FFMPEG>$(FFMPEG)</FFMPEG>
>     <PYTHON_LIB_DIR>--:\Python27\libs\python27.lib</PYTHON_LIB_DIR>
> <PYTHON_DEBUG_LIB>--:\Python27\libs\python27.lib</PYTHON_DEBUG_LIB>
>     <PYTHON_INCLUDE_DIR>--:\Python27\include</PYTHON_INCLUDE_DIR>
>
> <XERCES_64>--:\MyDoc\Research\TrafficSim\Xerces\xerces-c-3.1.2_64</XERCES_64>
>     <PROJ_GDAL_64>--:\MyDoc\Research\TrafficSim\gdal2</PROJ_GDAL_64>
>     <FOX16_64>--:\MyDoc\Research\TrafficSim\Fox\fox-1.6.50_64</FOX16_64>
>     <OSG_64>$(OSG_64)</OSG_64>
>     <FFMPEG_64>$(FFMPEG_64)</FFMPEG_64>
>     <PYTHON_64_LIB_DIR>--:\Python27\libs</PYTHON_64_LIB_DIR>
>     <PYTHON_64_INCLUDE_DIR>--:\Python27\include</PYTHON_64_INCLUDE_DIR>
>   </PropertyGroup>
> </Project>
>
> What I am not sure yet. I am having two files of gdal where one
> contains: *bin* and *doc* folders, and the second one contains *include*
> and *lib* folders.
> Should I put all files together?
>
> Also, I have downloaded  proj-4.9.2, is this files should be loaded
> somewhere?
> 5) I have set up in environment variables the path of:
> sumo-svn, sumo-svn\bin, xerces-c-3.1.2\bin, fox-1.6.50\lib, gdal\bin.
>
> 6) I used Visual Studio Express C++ 2013 to load and build the file
> *prj.sln *
> *
> *
> Now, I am getting this following errors:
> error MSB6006: "CL.exe" exited with code -1073741515.
> error MSB6006: "CL.exe" exited with code -1073741515.
> ....
> .....
> error MSB6006: "CL.exe" exited with code -1073741515. C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets
>   3415   sumo-gui
>
>
> I have also downloaded from *Nightly Snapshots* this
> version: http://sumo.dlr.de/daily/sumo-msvc12Win32-svn.zip
> where there is src folder ? how this can be used?
>
>
> Best regards
>
> Adama
>
>
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
> *From:* Michael Behrisch <[email protected]>
> *Sent:* 25 June 2016 17:52:03
> *To:* Adama Fofana; [email protected]
> *Subject:* Re: [sumo-devel] Error: Macro definition of snprintf
> conflicts with standard library function
>
> Dear Adama,
> I suppose you are not using 0.26 any longer but switched to the nightly
> svn download which was a little unstable recently. Please try again with
> a fresh download, the error you mention is probably fixed.
>
> Best regards,
> Michael
>
> Am 25.06.2016 um 13:52 schrieb Adama Fofana:
>>
>> Dear Mickael
>>
>>
>> Thanks for coming back to me. I finally used Visual Studio Express 2013
>> C++.  I have built the file prj. I am getting some errors such as:
>>
>> Cannot open include file: 'GNELogo_Lock.cpp': No such file or directory
>>
>>
>> When I opened the file GNEAditional.cpp, it indicates error in line:
>>
>> #include "GNELogo_Lock.cpp"
>> #include "GNELogo_Empty.cpp"
>>
>>
>> I I have checked the folder netedit from src folder, there are missing
>> (.cpp and .h), as well as other file such as : GNECalibratorDialog.cpp,
>> GNEConnection.cpp, GNEContainerStop.cpp,
>> GENLogo_E1.cpp, GENLogo_E2.cpp, GENLogo_E3.cpp, etc
>>
>>
>> I found this link:
>>
>> http://www.sumo.dlr.de/doxygen/dc/d2d/_g_n_e_logo___e1_8cpp_source.html
>>
>>
>> Where the missing files are there. I tried to copy and re-create .cpp
>> file and add in  the netedit folder, I am still getting some errors.
>>
>>
>> Is it right what I am doing?
>>
>>
>> I have also checked on the forum, I found this link define by Pablo
>> Alvarez Lopez:
>>
>> https://sourceforge.net/p/sumo/code/19970
>>
>>
>> I could not really figure out properly what need to do with it
>> description, but it seems to be link to the problem I am facing with?
>>
>>
>> Best regards
>>
>>
>> Adama
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------
>> *From:* Michael Behrisch <[email protected]>
>> *Sent:* 24 June 2016 21:46:18
>> *To:* [email protected]; Adama Fofana
>> *Subject:* Re: [sumo-devel] Error: Macro definition of snprintf
>> conflicts with standard library function
>>
>> Dear Adama,
>> try removing the snprintf define from src/windows_config.h. We are still
>> compiling with Visual Studio 2013 which does not define snprintf, Visual
>> Studio 2015 apparently has it. You might stumble upon a similar thing
>> with vsnprintf in src/foreign/tcpip/socket.cpp. Please report back
>> whether it helped.
>>
>> And yes after successfully building prj.sln you should find all
>> necessary binaries in "bin".
>>
>> Best regards,
>> Michael
>>
>> Am 23.06.2016 um 21:17 schrieb Adama Fofana:
>>> Dear Michael
>>>
>>>
>>> I just started using SUMO.
>>> I have also download the following version  
>>> http://prdownloads.sourceforge.net/sumo/sumo-src-0.26.0.zip?download
>> Download Simulation of Urban MObility from SourceForge.net
>> <http://prdownloads.sourceforge.net/sumo/sumo-src-0.26.0.zip?download>
>> prdownloads.sourceforge.net
>> SUMO is a microscopic road traffic simulation.
>>
>>
>>
>>>
>>> I follow this link to set up the compiler and libraries: 
>>> http://sumo.dlr.de/wiki/Installing/Windows_Build#Available_configurations
>>> I download Xerces :  
>>> http://sourceforge.net/projects/sumo/files/dependencies/xerces-c-3.1.2vc12.zip/download
>>> Fox: 
>>> http://sourceforge.net/projects/sumo/files/dependencies/fox-1.6.50vc12.zip/download
>>> Gdal :  
>>> http://download.gisinternals.com/sdk/downloads/release-1800-gdal-1-11-3-mapserver-6-4-2.zip
>> and
>> http://download.gisinternals.com/sdk/downloads/release-1800-gdal-1-11-3-mapserver-6-4-2-libs.zip
>>>
>>> Then, I have modified <SUMO>\build\msvc10\config.props file as explained 
>>> http://sumo.dlr.de/wiki/Installing/Windows_Build#Available_configurations
>>>
>>> After that, I used Visual Studio 2015 C++ to build the following file: 
>>> <SUMO>\build\msvc10\prj.sln
>>>
>>> I am getting the following error one I build the file prj.sln:
>>>
>>> #error: Macro definition of snprintf conflicts with Standard Library 
>>> function
>>>
>>> Can you please explain what I should be expecting after building the file 
>>> prj.sln.
>>>
>>> Also, after execution of this command, I should see appear in the folder 
>>> 'bin' all file need to run a simulation?
>>>
>>> Best regards
>>>
>>> Adama
>>>
>>>
>>>
>>>
>>> <http://prdownloads.sourceforge.net/sumo/sumo-src-0.26.0.zip?download>
>>> ------------------------------------------------------------------------------
>>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
>>> Francisco, CA to explore cutting-edge tech and listen to tech luminaries
>>> present their vision of the future. This family event has something for
>>> everyone, including kids. Get more information and register today.
>>> http://sdm.link/attshape
>>> _______________________________________________
>>> sumo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/sumo-devel
>>>
>>
>

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
sumo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-devel

Reply via email to