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

make fails in wsl #1566

Open
jibnew opened this issue Jan 15, 2025 · 1 comment
Open

make fails in wsl #1566

jibnew opened this issue Jan 15, 2025 · 1 comment

Comments

@jibnew
Copy link

jibnew commented Jan 15, 2025

I am on wsl under Windows 22631.4751, it is Ubuntu-24.04, uname -a says

6.6.36.6-microsoft-standard-WSL2+ #1 SMP PREEMPT_DYNAMIC

Following build instructions, make fails with

[ 44%] Building CXX object src/external/downloads/libE57Format-2.3.0/CMakeFiles/E57Format.dir/src/BlobNodeImpl.cpp.o
In file included from /home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/src/Common.h:40,
                 from /home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/src/NodeImpl.h:30,
                 from /home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/src/BlobNodeImpl.h:29,
                 from /home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/src/BlobNodeImpl.cpp:28:
/home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/include/E57Format.h:42:15: error: ‘int16_t’ has not been declared in ‘std’
   42 |    using std::int16_t;
      |               ^~~~~~~
/home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/include/E57Format.h:43:15: error: ‘int32_t’ has not been declared in ‘std’
   43 |    using std::int32_t;
      |               ^~~~~~~
/home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/include/E57Format.h:44:15: error: ‘int64_t’ has not been declared in ‘std’
   44 |    using std::int64_t;
      |               ^~~~~~~
/home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/include/E57Format.h:45:15: error: ‘int8_t’ has not been declared in ‘std’
   45 |    using std::int8_t;
      |               ^~~~~~
/home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/include/E57Format.h:46:15: error: ‘uint16_t’ has not been declared in ‘std’
   46 |    using std::uint16_t;
      |               ^~~~~~~~
/home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/include/E57Format.h:47:15: error: ‘uint32_t’ has not been declared in ‘std’
   47 |    using std::uint32_t;
      |               ^~~~~~~~
/home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/include/E57Format.h:48:15: error: ‘uint64_t’ has not been declared in ‘std’
   48 |    using std::uint64_t;
      |               ^~~~~~~~
/home/me/install/meshlab/src/external/downloads/libE57Format-2.3.0/include/E57Format.h:49:15: error: ‘uint8_t’ has not been declared in ‘std’
   49 |    using std::uint8_t;
      |               ^~~~~~~
make[2]: *** [src/external/downloads/libE57Format-2.3.0/CMakeFiles/E57Format.dir/build.make:97: src/external/downloads/libE57Format-2.3.0/CMakeFiles/E57Format.dir/src/BlobNodeImpl.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5137: src/external/downloads/libE57Format-2.3.0/CMakeFiles/E57Format.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
@alemuntoni
Copy link
Member

You can use either the devel branch, or downgrade the gcc version to 11. with gcc 13 right now the main branch does not build due to (at least) a missing update of libE57.

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