Comments (5)
Which should be the $DDS_ROOT ? is it the base folder of the cloned repository? I'm asking 'cause there's no setenv.sh across the cloned repository.
setenv.sh
isn't part of PyOpenDDS, it is generated by OpenDDS when it's configured and should be in the root of the OpenDDS source directory. This is what CMake is complaining about in the middle of the log you posted; it can't find OpenDDS.
from pyopendds.
Quite embarrassing.
Thought that pyopendds would have installed OpenDDS automagically.
Quite naive of me.
However, I did managed to install open dds, sourced out setenv.sh and successfully installed pyopendds.
Absolutely easy peasy.
Only curios thing is that setenv.sh had no sha-bang at the very top.
Therefore I've added execution right with chmod +x and ran the script, and everything went right.
Just like one shot one kill.
This is a container built specifying arm64 architecture (as you can see in the docker file).
Right now I'll close the issue right away and let you know if it will run correctly into the real environment (https://developer.nvidia.com/embedded/jetson-nano-developer-kit)
Thank you very much for the given attention and super quick support.
from pyopendds.
Thought that pyopendds would have installed OpenDDS automagically.
That's something I have an issue for: #29
However in the case of arm64, I'm not sure if it'd be be automatic or not.
Only curios thing is that setenv.sh had no sha-bang at the very top.
It doesn't need a sha-bang. It's meant to be sourced from the shell or scripts using something like source OpenDDS/setenv.sh
.
from pyopendds.
Only curios thing is that setenv.sh had no sha-bang at the very top.
It doesn't need a sha-bang. It's meant to be sourced from the shell or scripts using something like
source OpenDDS/setenv.sh
.
And the same concept applies to the file mode bits (chmod).
from pyopendds.
@iguessthislldo I've realized why sourcing wasn't working.
Container has shell terminal, not bash (check the ps aux command output)
# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.4 163320 36224 pts/0 Ssl+ 11:12 0:00 /usr/bin/qemu-aarch64 /usr/local/bin/python3 python3
root 8 0.0 0.0 148844 7188 pts/1 Ssl 11:12 0:00 /usr/bin/qemu-aarch64 /bin/sh /bin/sh
root 69 0.0 0.1 155252 10564 ? Rl+ 10:31 0:00 ps aux
Therefore the equivalent of "source" is the "." command.
That's why source gives me the following error:
# source OpenDDS/setenv.sh
/bin/sh: 35: source: not found
Instead I should have used the following:
# . OpenDDS/setenv.sh
Which runs smoothly.
from pyopendds.
Related Issues (20)
- Occasional RETCODE_NO_DATA in basic_test HOT 4
- Better Support Multiple Participants with RTPS
- hi I am having very interested in pyopendds HOT 1
- Detailed Exceptions
- Array and sequence type not implemented HOT 1
- `wait_for` is Holding Up `SIGINT` HOT 1
- pyopendds version 0.1.0 version make problem
- Error after typing "make" command HOT 4
- Build and Install Basic Test Python Type Support - "zsh: command not found: itl2py" HOT 7
- Error after running command "basic_idl_DIR=$(realpath ..) pip install ." HOT 2
- basic_idl_DIR=$(realpath ..) pip install . - MacOS (Error) HOT 28
- Provide OpenDDS and CMake? HOT 2
- Windows and macOS in Actions
- /usr/bin/ld: final link failed: bad value while Building wheel for pyopendds (setup.py) ... error HOT 1
- run tests\basic_test\subscriber.py failed HOT 1
- Document and Automate the Release Process
- make error in MacOS 12.4 Macbook Pro 2021 M1x
- Use pyopendds will throw Segmentation fault (core dumped) at some env. HOT 2
- Support C++11 IDL Mapping HOT 1
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 pyopendds.