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     341 5   
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