Hi Adama,
ok, I really have no idea what is going wrong here. Please send a patch
with your modified files and I will try to reproduce it.

Best regards,
Michael

Am 07.07.2016 um 20:41 schrieb Adama Fofana:
> Hi Michael
> 
> 
> Yes, I did had them in two different places:
> 
> 
> firt:
> 
>     // Cars
> 
>     { "carFollowing-IDM",           SUMO_TAG_CF_IDM },
> 
>     { "carFollowing-IDMM",          SUMO_TAG_CF_IDMM },
> 
>     { "carFollowing-Krauss",        SUMO_TAG_CF_KRAUSS },
> 
>     { "carFollowing-KraussPS",      SUMO_TAG_CF_KRAUSS_PLUS_SLOPE },
> 
>     { "carFollowing-KraussOrig1",   SUMO_TAG_CF_KRAUSS_ORIG1 },
> 
>     { "carFollowing-SmartSK",       SUMO_TAG_CF_SMART_SK },
> 
>     { "carFollowing-Daniel1",       SUMO_TAG_CF_DANIEL1 },
> 
>     { "carFollowing-PWagner2009",   SUMO_TAG_CF_PWAGNER2009 },
> 
>     { "carFollowing-BKerner",       SUMO_TAG_CF_BKERNER },
> 
>     { "carFollowing-Wiedemann",     SUMO_TAG_CF_WIEDEMANN },
> 
>     { "carFollowing-Adama",         SUMO_TAG_CF_ADAMA },
> 
>     { "carFollowing-Damis",                  SUMO_TAG_CF_DAMIS },
> 
> 
> and the second:
> 
> 
> StringBijection<SumoXMLTag>::Entry
> SUMOXMLDefinitions::carFollowModelValues[] = {
> 
>     { "IDM",         SUMO_TAG_CF_IDM },
> 
>     { "IDMM",        SUMO_TAG_CF_IDMM },
> 
>     { "Krauss",      SUMO_TAG_CF_KRAUSS },
> 
>     { "KraussPS",    SUMO_TAG_CF_KRAUSS_PLUS_SLOPE },
> 
>     { "KraussOrig1", SUMO_TAG_CF_KRAUSS_ORIG1 },
> 
>     { "SmartSK",     SUMO_TAG_CF_SMART_SK },
> 
>     { "Daniel1",     SUMO_TAG_CF_DANIEL1 },
> 
>     { "PWagner2009", SUMO_TAG_CF_PWAGNER2009 },
> 
>     { "BKerner",     SUMO_TAG_CF_BKERNER },
> 
>     { "Wiedemann",   SUMO_TAG_CF_WIEDEMANN },
> 
>     { "Adama",       SUMO_TAG_CF_ADAMA },
> 
>     { "Damis",       SUMO_TAG_CF_DAMIS },
> 
> };
> 
> 
> 
>>If they get compiled they need to be in some MSVC project (.vcxproj) 
>>otherwise
>>Visual Studio would not know about them.
>>Can you find out which project contains them?
> 
> 
> You mean the project : z_libmicrosim_cfmodels.vcxproj
> and z_libmicrosim_cfmodels.vcxproj.filters ?
> 
> 
> I did add them in these two files as follows:
> 
> 
> <ItemGroup>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Daniel1.h" />
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_IDM.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Kerner.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Krauss.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_KraussOrig1.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_KraussPS.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_PWag2009.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_SmartSK.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Wiedemann.h" />
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_Adama.h" />
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Damis.h" />    
>   </ItemGroup>
>   <ItemGroup>
>     <ClCompile Include="..\..\..\src\microsim\cfmodels\MSCFModel.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Daniel1.cpp" />
>     <ClCompile Include="..\..\..\src\microsim\cfmodels\MSCFModel_IDM.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Kerner.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Krauss.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_KraussOrig1.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_KraussPS.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_PWag2009.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_SmartSK.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Wiedemann.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Adama.cpp" />
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Damis.cpp" />    
>   </ItemGroup>
> 
> 
> and 
> 
> 
>  <ItemGroup>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Wiedemann.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_Daniel1.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_IDM.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_Kerner.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_Krauss.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_KraussOrig1.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_KraussPS.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_PWag2009.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_SmartSK.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_Adama.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>     <ClInclude Include="..\..\..\src\microsim\cfmodels\MSCFModel_Damis.h">
>       <Filter>Header-Dateien</Filter>
>     </ClInclude>
>   </ItemGroup>
>   
>   <ItemGroup>
>     <ClCompile Include="..\..\..\src\microsim\cfmodels\MSCFModel.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Wiedemann.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Daniel1.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile Include="..\..\..\src\microsim\cfmodels\MSCFModel_IDM.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Kerner.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_Krauss.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_KraussOrig1.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_KraussPS.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_PWag2009.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile
> Include="..\..\..\src\microsim\cfmodels\MSCFModel_SmartSK.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile Include="..\..\..\src\microsim\cfmodels\MSCFModel_Adama.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>     <ClCompile Include="..\..\..\src\microsim\cfmodels\MSCFModel_Damis.cpp">
>       <Filter>Quellcodedateien</Filter>
>     </ClCompile>
>   </ItemGroup>
> 
> 
> ???
> 
> 
> 
> 
> Best regards
> 
> 
> Adama
> 
> 
> 
> ------------------------------------------------------------------------
> *From:* Michael Behrisch <[email protected]>
> *Sent:* 07 July 2016 15:02:13
> *To:* Adama Fofana
> *Cc:* [email protected]
> *Subject:* Re: Driver model not compiled
>  
> Hi Adama,
> 
> Am 2016-07-07 10:52, schrieb Adama Fofana:
>> Hello Michael
>> 
>> 
>> Thanks for coming back to me. I have done that already.
> 
> Sorry for insisting here but are you completely sure? There are two
> places in SUMOXMLDefinitions.cpp where you need to add it and your error
> message looks very much like you only added it in one place.
> 
>> I have noticed that in the folder :
>> <SUMO_HOME>\build\msvc10\z_libmicrosim_cfmodels
>> z_libmicrosim_cfmodels.vcxproj and
>> z_libmicrosim_cfmodels.vcxproj.filters
>> 
>> My model was not there. Should the model created be there ? I tried to
>> add them manually, it would not work.
> 
> That is strange because your log clearly showed that they have been
> compiled.
> 
>>> 2>  MSCFModel_Krauss.cpp
>>> 2>  MSCFModel_KraussOrig1.cpp
>>> 2>  MSCFModel_KraussPS.cpp
>>> 2>  MSCFModel_PWag2009.cpp
>>> 2>  MSCFModel_SmartSK.cpp
>>> 2>  MSCFModel_Wiedemann.cpp
>>> 2>  MSCFModel_*Adama.*cpp
> 
> If they get compiled they need to be in some MSVC project (.vcxproj)
> otherwise
> Visual Studio would not know about them.
> Can you find out which project contains them?
> 
>> Is there any file in the src or build folder that we should update?
> 
> Only the ones that were already mentioned. You could update the
> Makefile.am as well but that is only relevant when using gcc/make and
> not Sisual Studio.
> 
> Best regards,
> Michael


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