[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [sumo-user] Error compiling SUMO
|
- From: Michael Behrisch <oss@xxxxxxxxxxx>
- Date: Fri, 15 May 2020 08:46:21 +0200
- Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
- Delivered-to: sumo-user@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
- List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
Hi,
yes it is possible. You should give the option -DFOX_CONFIG= when
running cmake. Please be aware that this will also disable multithreaded
routing because we use the thred implementation of the fox toolkit.
Best regards,
Michael
Am 07.05.20 um 16:22 schrieb Jose Monreal Bailey:
> Is it possible to compile sumo without GUI?
>
> I dont need the GUI and while Im compiling I am getting the following error:
>
> GLHelper.cpp:583:9: error: 'gl2psTextOptColor' was not declared in this
> scope; did you mean 'gl2psTextOpt'?
> 583 | gl2psTextOptColor(text.c_str(), "Roboto", 10, align == 0
> ? GL2PS_TEXT_C : align, (GLfloat) - angle, color);
> | ^~~~~~~~~~~~~~~~~
> | gl2psTextOpt
> make[2]: ***
> [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/GLHelper.cpp.o] Error 1
> make[1]: *** [src/utils/gui/div/CMakeFiles/utils_gui_div.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> On Thu, 7 May 2020 at 14:14, Jose Monreal Bailey <jmonreal@xxxxxxxxx
> <mailto:jmonreal@xxxxxxxxx>> wrote:
>
> Thank you, I just found out that fox-devel was not installed, going
> to install again.
>
> Best regards,
> Jose
>
> On Thu, 7 May 2020 at 13:58, Harald Schaefer <fechsaer@xxxxxxxxx
> <mailto:fechsaer@xxxxxxxxx>> wrote:
>
> Hi Jose,
>
> have you tried it according to
> https://sumo.dlr.de/docs/Installing/Linux_Build.html ?
>
> Goto your SUMO_HOME dir (with the sources)
>
> remove the old cmake build dir (that helps sometimes for me)
>
> rm -r |build/cmake-build|
>
> |create it new|
>
> | mkdir build/cmake-build|
>
> |go to that dir|
>
> | cd build/cmake-build|
>
> |run cmake|
>
> | cmake ../..|
>
> |and then run a plain make make|
>
> | make ||-j$(nproc)|
>
> ||
>
> |What is the output of cmake?|
>
> |Greetings,|
>
> |Harald
> |
>
> | |
>
> ||
>
> ||
>
> Am 07.05.20 um 14:42 schrieb Jose Monreal Bailey:
>> Hey everyone,
>>
>> I am compiling SUMO in Centos6, with the following line:
>>
>> cmake -D
>> CMAKE_C_COMPILER=/home/support/apps/cports/rhel-6.x86_64/gnu/gcc/9.2.0/bin/gcc
>> -D
>> CMAKE_CXX_COMPILER=/home/support/apps/cports/rhel-6.x86_64/gnu/gcc/9.2.0/bin/c++
>> -D FOX_INCLUDE_DIR=/usr/include/fox-1.6 -D
>> FOX_LIBRARY=/usr/lib64/libFOX-1.6.so <http://libFOX-1.6.so> ../..
>>
>> and I am getting the error fx.h not found, but it is in the
>> system folder /usr/include/fox-1.6/
>>
>> [ 2%] Building CXX object
>> src/utils/common/CMakeFiles/utils_common.dir/FileHelpers.cpp.o
>> [ 2%] Building CXX object
>> src/utils/emissions/CMakeFiles/utils_emissions.dir/HelpersEnergy.cpp.o
>> [ 2%] Building CXX object
>> src/utils/xml/CMakeFiles/utils_xml.dir/GenericSAXHandler.cpp.o
>> Error creating
>> /home/users/monrealj/Projects/sumo/build/cmake-build/src/version.h
>> 'module' object has no attribute 'check_output'
>> generating
>> /home/users/monrealj/Projects/sumo/build/cmake-build/src/version.h
>> from revision in <None>
>> Scanning dependencies of target router
>> [ 2%] Built target generate-version-h
>> [ 2%] Building CXX object
>> src/router/CMakeFiles/router.dir/ROEdge.cpp.o
>> Scanning dependencies of target utils_shapes
>> [ 2%] Building CXX object
>> src/utils/shapes/CMakeFiles/utils_shapes.dir/Shape.cpp.o
>> In file included from
>> /home/users/monrealj/Projects/sumo/src/utils/router/AStarLookupTable.h:26,
>> from
>> /home/users/monrealj/Projects/sumo/src/utils/router/AStarRouter.h:43,
>> from
>> /home/users/monrealj/Projects/sumo/src/utils/router/IntermodalRouter.h:34,
>> from
>> /home/users/monrealj/Projects/sumo/src/utils/router/RouterProvider.h:24,
>> from
>> /home/users/monrealj/Projects/sumo/src/router/RORoutable.h:27,
>> from
>> /home/users/monrealj/Projects/sumo/src/router/RONet.h:33,
>> from
>> /home/users/monrealj/Projects/sumo/src/router/ROEdge.cpp:36:
>> /home/users/monrealj/Projects/sumo/src/utils/foxtools/FXWorkerThread.h:32:10:
>> fatal error: fx.h: No such file or directory
>> 32 | #include <fx.h>
>> | ^~~~~~
>> compilation terminated.
>> make[2]: *** [src/router/CMakeFiles/router.dir/ROEdge.cpp.o]
>> Error 1
>> make[1]: *** [src/router/CMakeFiles/router.dir/all] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>>
>>
>>
>> Could anyone give me some ideas what can I do to build it?
>>
>> Best regards,
>> Jose
>>
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
>
Attachment:
signature.asc
Description: OpenPGP digital signature