Hi Daniel, hope you had a nice christmas, too :-). Are you running the CMake which comes with Visual Studio or a separate installation and if so which exact version is it? Our current build runs just fine with the Visual Studio 2019 and the CMake packaged with it (3.14, I think) and also with a separate installation (which still uses 3.13) so it might be something happening only with newer CMakes.
We had a similar problem recently when we introduced the dll installation step which also might be the reason here although the line where the error occurs is a different one. Please check whether you have a clean and up to date SUMOLibraries checkout. Best regards, Michael Am 27.12.19 um 19:37 schrieb Daniel Krajzewicz: > Dear friends and colleagues, > > hope you got a nice Chrsitmas. > > I'm trying to build SUMO and encounter the same issue since some month: > > Clean checkout to D:/dlr/zSUMO/t1, current version of CMake, MSVC > installed... > > Source code: D:/dlr/zSUMO/t1 (checkout root) > Path for building binaries: D:/dlr/zSUMO/t1/build/cmake (as given in docs) > > Ok, now when trying to configure, CMAke complains a lot - I suppose for > every subfolder the following: > > CMake Error at CMakeLists.txt:416 (add_custom_target): > add_custom_target cannot create target "<...>" because another target > with the same name already exists. The existing target is a custom target > created in source directory "D:/dlr/zSUMO/t1". See documentation for > policy CMP0002 for more details. > > > As said, the <...> above includes different targets, the first is > "install_dll", the last is "distcheck". > > Does anyone know what I am doing wrong? > > Sincerely and all the best for the next year, > Daniel > > > > _______________________________________________ > sumo-dev 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-dev >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sumo-dev 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-dev
