-
Notifications
You must be signed in to change notification settings - Fork 11
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
Error in my 5 step for installation #2
Comments
Have you tried to follow all build steps for Linux? I am building 3D Forest on Linux by using Linux build from source code guide. It is working for me on Ubuntu. |
also issue on win10 (also I didn't figure out how to launch this into vs (I tried to create project with existed code to generate sln files, no 3dforest.exe file)) mingw32-make[2]: *** [src/core/CMakeFiles/3DForestCore.dir/Error.cpp.obj] Error 1 |
The easy way with vs is just to open cloned '3d-forest' folder as 'Open with Visual Studio'. Everything is then created automatically by vs. There is no need to create some sln. The following steps are working for me https://vukoz-oel.github.io/3d-forest-documentation/3d-forest-developer-guide.html#build-windows-visual-studio (but i can not give you my computer). |
When I run
I get this from terminal: -- GCC compiler detected, adding compile flags FindOpenGL found both a legacy GL library:
and GLVND libraries for OpenGL and GLX:
OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for CMake Warning at CMakeLists.txt:46 (find_package): Could not find a package configuration file provided by "Qt6" with any of
Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR" -- Gui with Qt5 and OpenGL found |
3D forest should be just trying to find Qt6. It seems that this creates unexpected amount of configuration messages on some systems which have only Qt5. CMake command line option |
In the 5 step for installation, when I do:
$ cmake -G "Unix Makefiles" .. -DCMAKE_INSTALL_PREFIX=..
the results is:
[ 57%] Linking CXX executable 3DForestClassification
/usr/bin/ld: ../../../core/lib3DForestCore.so: referencia a `pthread_create' sin definir
collect2: error: ld returned 1 exit status
make[2]: *** [src/apps/tools/classification/CMakeFiles/3DForestClassification.dir/build.make:101: src/apps/tools/classification/3DForestClassification] Error 1
make[1]: *** [CMakeFiles/Makefile2:575: src/apps/tools/classification/CMakeFiles/3DForestClassification.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Could you help me, please?
The text was updated successfully, but these errors were encountered: