Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to embed icoryx in the npm package to make the installation easier? #1

Open
falcon027 opened this issue Feb 22, 2023 · 1 comment

Comments

@falcon027
Copy link

I found this project and I like the idea of making iceoryx usable with node-js. The friction I encountered was that it is quite tedious to install iceoryx and set the variables to make it work. The readme mentions an idea for a possible easier way to do this, e.g. by including the library in the npm package.

What do you think, is this possible?

@DanielLazarHTDM
Copy link
Member

DanielLazarHTDM commented Feb 28, 2023

HI @falcon027. Well yeah it is possible making e.g. git clone of iceoryx and build it. I didn't spent any additional time to make it easier yet. Maybe we can do default values and ged rid of

export ICEORYX_NODEJS_LIB=/usr/local/lib
export ICEORYX_NODEJS_INCLUDE=/usr/local/include/iceoryx/<VERSION>

by replacing values and version of headers will be automatically found. The problem is somehow iox-roundi which needs to be live globaly in your system. So you do need it running and iceoryx installed in your system anyways. But yeah iceoryx plan to do debian package so instalation will be much easier and than also this installation could be handled without exporting env variables. So it will end up by

sudo apt-get install iceoryx
npm install iceoryx-nodejs

Is it more acceptable for you ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants