Beckhoff / ADS

Beckhoff protocol to communicate with TwinCAT devices.
MIT License
491 stars 193 forks source link

CMake Error at CMakeLists.txt:40 (install): install TARGETS given target "ads" which does not exist in this directory. #207

Closed IricEmage closed 11 months ago

IricEmage commented 1 year ago

I build the ADS library with follow command:

But in step cmake .., I got this error. OS: Jetson xavier AGX 32G

simonschmeisser commented 11 months ago

I get the same error when trying to build via add_subdirectory(ADS) but not when I try to build standalone as you described above

simonschmeisser commented 11 months ago

Seems to require CMake 3.13: https://stackoverflow.com/questions/34443128/cmake-install-targets-in-subdirectories

IricEmage commented 11 months ago

Thank you, update CMake 3.20 to slove it.