Dear Sumo Users,

I just tried to compile SUMO (version 1.0.1, maybe the same with newer
versions) using CMake on a Linux system (Arch) with a very recent
version of PROJ (version 6.1.0) which resulted in the following error:

    To use the proj_api.h you must define the macro
ACCEPT_USE_OF_DEPRECATED_PROJ_API_H

However, I got SUMO to compile again using the following workaround:
Insert the line

    add_compile_definitions(ACCEPT_USE_OF_DEPRECATED_PROJ_API_H)

into the CMakeLists.txt (I put it into the `if (PROJ_FOUND)`-Block).

Kind regards,
Dominik

-- 
Dominik S. Buse M.Sc.
Distributed Embedded Systems (CCS Labs)
Heinz Nixdorf Institut, Paderborn University, Germany
http://www.ccs-labs.org/~buse/

_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to