Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Error compiling sumo master

Hi Michael,

Do you know what is the CMAKE flag to set the gl2ps to a local installation?

Best regards,
Jose

On Sat, 31 Oct 2020 at 20:46, Michael Behrisch <oss@xxxxxxxxxxx> wrote:
Hi,
I think your version of gl2ps may be too old. The function it complains
about has been introduced in 1.3.8 (7 years ago).
If you don't need vector graphic screenshots, then you can just disable
it (for instance by uninstalling the gl2ps-devel package and running
cmake again).

Best regards,
Michael

Am 31.10.20 um 21:18 schrieb Jose Monreal Bailey:
> Hello everyone,
>
> I am having problems compiling the latest version of sumo. I also moved
> to 1.5 and I get the same error message. Could it be that I am missing
> some library?
>
> sumo/src/utils/gui/div/GLHelper.cpp:513:9: error: 'gl2psTextOptColor'
> was not declared in this scope; did you mean 'gl2psTextOpt'?
>   513 |         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
>
>
> Best regards,
> Jose
>
> _______________________________________________
> sumo-user mailing list
> 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

Back to the top