Giter VIP home page Giter VIP logo

Comments (5)

bernhard-thiele avatar bernhard-thiele commented on August 23, 2024 1

Sorry for the inconvenience and thanks for the report. OMSimulator changed the install file location of OMSimulator.py at some point. I want to get this hackish build logic more robust in the future.

from omsysident.

bernhard-thiele avatar bernhard-thiele commented on August 23, 2024

Your second try was the correct folder structure. I can reproduce the linking error using cmake v3.17.0. If I use the more modern cmake target_link_directories() command instead of the olderlink_directories() command it works for me. Commit 57e400d adds a conditional which uses the newer command if it is available. The intention of keeping the older command is for supporting cmake v3.12.0 which does not yet support target_link_directories(), but maybe it doesn't work as intended.

Which cmake version are you using? Could you please retry with the latest commit?

from omsysident.

tinrabuzin avatar tinrabuzin commented on August 23, 2024

Thanks for that. Now I got further but a new error appears.

CMake Error at src/cmake_install.cmake:76 (file): file INSTALL cannot find "/OMBUILD/OMSysIdent/../OMSimulator/install/linux/lib/OMSimulator.py": No such file or directory.

The missing file can be found in /OMBUILD/OMSimulator/install/linux/lib/OMSimulator/OMSimulator.py. I guess this also might be due to my cmake version which is 3.16.3? I'll update cmake and try with the newer version.

from omsysident.

tinrabuzin avatar tinrabuzin commented on August 23, 2024

With cmake version 3.19.0-rc2 or 3.18.4 I still get the same complaint about OMSimulator.py as above.

from omsysident.

tinrabuzin avatar tinrabuzin commented on August 23, 2024

I updated ./src/CMakeLists.txt line 34 to install(FILES ${OMSimulator_ROOT}/lib/OMSimulator/OMSimulator.py DESTINATION lib). and then it worked out. I guess this might be due to how I built OMSimulator. I just used the master branch instead of going for one of the releases.

from omsysident.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.