Comments (5)
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.
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.
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.
With cmake version 3.19.0-rc2 or 3.18.4 I still get the same complaint about OMSimulator.py as above.
from omsysident.
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)
- Running OMSysIdent HOT 1
- Installation problems HOT 1
- Installation issues/instructions HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omsysident.