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

Can install from pip but not from source #16

Open
crispylel opened this issue Oct 22, 2022 · 0 comments
Open

Can install from pip but not from source #16

crispylel opened this issue Oct 22, 2022 · 0 comments

Comments

@crispylel
Copy link

MOOS is installed from svn source
moos-ivp-extend builds with no issue
Can install pymoos using python -m pip install pymoos

but when trying to install using source, i get the following errors:

  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: pymoos
  Building wheel for pymoos (pyproject.toml) ... error
  error: subprocess-exited-with-error
  
  × Building wheel for pymoos (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [10 lines of output]
      running bdist_wheel
      running build
      running build_ext
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -I/usr/include/python3.10 -c flagcheck.cpp -o flagcheck.o -std=c++17
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DVERSION_INFO=2022.1 -I/tmp/pip-build-env-460rbc63/overlay/local/lib/python3.10/dist-packages/pybind11/include -I/usr/include/python3.10 -c src/pyMOOS.cpp -o build/temp.linux-x86_64-3.10/src/pyMOOS.o -std=c++17 -fvisibility=hidden -g0
      src/pyMOOS.cpp:6:10: fatal error: MOOS/libMOOS/Comms/MOOSMsg.h: No such file or directory
          6 | #include "MOOS/libMOOS/Comms/MOOSMsg.h"
            |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pymoos
Failed to build pymoos
ERROR: Could not build wheels for pymoos, which is required to install pyproject.toml-based projects
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

1 participant