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

Readme installation steps are incorrect for Linux #2175

Open
JeffreyWardman opened this issue Feb 6, 2024 · 4 comments
Open

Readme installation steps are incorrect for Linux #2175

JeffreyWardman opened this issue Feb 6, 2024 · 4 comments
Assignees

Comments

@JeffreyWardman
Copy link

JeffreyWardman commented Feb 6, 2024

Steps:

sudo apt-get install libglfw3
sudo apt-get install -y libglfw3-dev libxerces-c-dev
git clone https://github.com/MeshInspector/MeshLib.git
cd MeshLib
git submodule update --init --recursive
./scripts/install_thirdparty.sh
... etc

./scripts/build_source.sh fails due to various packages not being found as well. This readme can be updated from the docker file.

Ubuntu docker images also do not build when following the steps in docker/readme.md

@oitel
Copy link
Contributor

oitel commented Feb 6, 2024

Could you specify your Linux distro version and attach the log files of the building process? The missing dependencies might indicate that the automatic package installation is not supported on your platform, we'll investigate and resolve it if possible.

The build process description in both Readme files will be updated later.

@JeffreyWardman
Copy link
Author

I use Pop OS 22.04 which is based on Ubuntu. The issue is that the readme itself is out of date. For instance, it doesn't state to update the submodules recursively. build_source.sh is currently build_sources.sh in the readme as well.

I've also tried building both Ubuntu and the Fedora 39 docker images without success.

Have you been able to follow the steps to follow the docker images for them to build successfully locally?

@oitel
Copy link
Contributor

oitel commented Feb 8, 2024

The fixes for the building process on Pop OS (and other Ubuntu-based distributions) are available in the feature/ubuntu_build branch and will be merged soon. You can try them out.

I was able to build the Docker images for both Ubuntu 22.04 and Fedora 39. What kind of error do you get?

@Hdbgdz
Copy link

Hdbgdz commented Feb 13, 2024

Following the feature/ubuntu_build I still cannot install MeshLib. Despite having ZLIB installed on my machine. When running ./scripts/build_thirdparty.sh I get the error:
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) (Required is at least version "1.1.2") Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.22/Modules/FindZLIB.cmake:120 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) libzip/CMakeLists.txt:179 (find_package)

@oitel oitel self-assigned this Aug 5, 2024
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

3 participants