Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-dev] Fwd: Error while building sumo from scratch.

Hi,
did you also try to set the SUMO_LIBRARIES environment variable? And did
SUMO find the other libraries (PROJ, GDAL etc.)?

Best regards,
Michael

Am 28.05.21 um 11:03 schrieb AMIT RAI:
> Thankyou for the reply. 
> 
> I have used that but still it is showing error.
> 
> Although I got an alternative. Alternative: I have changed the code in
> the Cmakelist.txt, instead of searching the xerces using the system
> variables (defined in Cmakelist.txt file), I have given absolute path of
> the directory in which the xerces folder is present (in the
> Cmakelist.txt file), this seems to work fine. Can doing this create
> problem later?
> 
> regards
> AMIT RAI
> ------------------------------------------------------------------------
> *From:* sumo-dev <sumo-dev-bounces@xxxxxxxxxxx> on behalf of Harald
> Schaefer <fechsaer@xxxxxxxxx>
> *Sent:* Friday, May 28, 2021 12:50 PM
> *To:* sumo-dev@xxxxxxxxxxx <sumo-dev@xxxxxxxxxxx>
> *Subject:* Re: [sumo-dev] Fwd: Error while building sumo from scratch.
>  
> 
> Hi,
> 
> 
> you have to follow the prerequisites (last step)
> 
> SUMO needs the xerces library
> 
> 
> Regards, Harald
> 
> Am 28.05.21 um 07:28 schrieb AMIT RAI:
>>
>>
>> Get Outlook for Android <https://aka.ms/AAb9ysg>
>>
>> ------------------------------------------------------------------------
>> *From:* AMIT RAI <rai18b@xxxxxxxxxx> <mailto:rai18b@xxxxxxxxxx>
>> *Sent:* Friday, 28 May, 2021, 10:36 am
>> *To:* sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>> *Subject:* Error while building sumo from scratch.
>>
>> I am trying to follow the steps in the documentation for sumo built. I
>> am following the step of manual configuration with CMAKE GUI and
>> getting error shown in the image (red text, pasting the same in
>> italics here) :
>>  
>> /CMake Error at C:/Program
>> Files/CMake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230
>> (message):
>> Failed to find XercesC (missing: XercesC_LIBRARY XercesC_INCLUDE_DIR
>> XercesC_VERSION)
>> Call Stack (most recent call first):
>> C:/Program
>> Files/CMake/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594
>> (_FPHSA_FAILURE_MESSAGE)
>> C:/Program Files/CMake/share/cmake-3.20/Modules/FindXercesC.cmake:110
>> (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>> CMakeLists.txt:345 (find_package)
>> /
>>
>>  Seems that XERCESC is not found, but I saw it was present in the
>> SUMO_LIBRARIES path.  I also tried adding XERCESC_64 as an environment
>> variable still it is not able to find the folder. 
>>
>>  also I am attaching the ppt containing the steps /images of steps I
>> followed. I am pretty sure I followed the steps correctly, still, I am
>> getting errors.
>> Would be grateful to the community for the help.
>>
>> Regards 
>> AMIT RAI
>>  
>>
>>
>> _______________________________________________
>> sumo-dev mailing list
>> sumo-dev@xxxxxxxxxxx <mailto:sumo-dev@xxxxxxxxxxx>
>> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev <https://www.eclipse.org/mailman/listinfo/sumo-dev>
> 
> _______________________________________________
> sumo-dev mailing list
> sumo-dev@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev
> 



Back to the top