Comments (9)
Can you post your complete CMake log and VS compilation log here?
I suspect that an unsupported Qt was used by your visual studio.
from easy3d.
Thank you for your feedback.
I used Qt 5.6.3 and VS 2022.
CMakeConfigureLog.yaml.txt
from easy3d.
That is not the log of the CMake process of the project. Besides, please also attach the VS complication log.
Nowadays it is quite common multiple Qt versions exist in a machine and these log may tell us which Qt was used.
from easy3d.
Actually I am not good at cmake. I will appreciate if you let me find the right cmake log.
Here is VS log.
Tutorial_204_Viewer_Qt.log
from easy3d.
What is the prefered QT version?
Testing with Qt5.12.7, it makes no compile errors but so much link errors regarding Qt.
from easy3d.
Is your Qt targetted for (or built by) VS 2022?
Your used Qt libraries must be compitable with your compiler.
The path to the Qt libraries on my tested machine is D:\dev\Qt5.15.2\5.15.2\msvc2019_64\lib
. On this path you see msvc2019_64
. This means the libraries are for VS 2019 (and they are typically not compitable with other VS versions).
Again, nowadays it is quite common multiple Qt versions exist in a machine, you must make sure you used the intended version of Qt and the existing Qt libraries are compitable with VS 2022.
from easy3d.
Actually I am not good at cmake. I will appreciate if you let me find the right cmake log. Here is VS log. Tutorial_204_Viewer_Qt.log
I need the complete log (not part of it), which is the output of VS when you compile/build the project. On my machine it looks like vs-log.txt.
Similarly, the CMake log is the log information CMake produced when you configure the project using CMake:
Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.18362.
The C compiler identification is MSVC 19.29.30153.0
The CXX compiler identification is MSVC 19.29.30153.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: C:/Program Files/Microsoft Visual Studio/2019/Professional/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
-- Setting C++11
Performing Test CMAKE_HAVE_LIBC_PTHREAD
Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - not found
Found Threads: TRUE
GLFW including Win32 support
Performing Test COMPILER_HAS_DEPRECATED_ATTR
Performing Test COMPILER_HAS_DEPRECATED_ATTR - Failed
Performing Test COMPILER_HAS_DEPRECATED
Performing Test COMPILER_HAS_DEPRECATED - Success
Adding target: easy3d::util (easy3d_util)
Adding target: easy3d::core (easy3d_core)
Adding target: easy3d::fileio (easy3d_fileio)
Adding target: easy3d::kdtree (easy3d_kdtree)
Adding target: easy3d::algo (easy3d_algo)
Found Boost: D:/dev/boost_1_80_0 (found version "1.80.0")
Adding target: easy3d::renderer (easy3d_renderer)
Found OpenGL: opengl32 found components: OpenGL
OpenGL library: opengl32
Adding target: easy3d::gui (easy3d_gui)
Adding target: easy3d::viewer (easy3d_viewer)
CMake Warning at tutorials/Tutorial_203_Viewer_wxWidgets/CMakeLists.txt:9 (message):
Tutorial_203_Viewer_wxWidgets requires wxWidgets but wxWidgets was not
found. You can set 'wxWidgets_ROOT_DIR' to the root directory of wxWidgets
(e.g., 'D:/dev/wxWidgets-3.2.1') to help CMake find wxWidgets. Without
wxWidgets, you will still be able to use all other features provided by
Easy3D.
****************************************************************************
Package : Easy3D
Version : 2.5.2
Generator : Visual Studio 16 2019
Configuration : Debug;Release;MinSizeRel;RelWithDebInfo
System : 64-bit Windows
----------------------------------------------------------------------------
Build shared libraries : ON
Build tutorials : ON
Build documentation : OFF
Build tests : OFF
With CGAL (>= v5.1) : OFF
With Qt5 (>= v5.6) : OFF
With ffmpeg (>= v3.4) : OFF
----------------------------------------------------------------------------
Build directory : F:/3_code/Easy3D-build-vs2022
Installation directory : C:/Program Files/Easy3D/2.5.2
****************************************************************************
Configuring done
from easy3d.
I will close this issue because it is not related to Easy3D bug or issues, but programming skills and use of develpment tools.
from easy3d.
Many thanks for your help. You are right I installed the other Qt version 5.15.2 and Easy3D is working well now.
from easy3d.
Related Issues (20)
- Does Easy3D have scene editing functions?
- Running first time HOT 7
- Off topic, compatibility questions: Will this work with unusual IDEs using old software versions? HOT 3
- [BUG] - dpi_scaling distorts multi viewports HOT 2
- Addressing Non-Manifold Vertex Issues During Mesh Loading in OBJ format: HOT 1
- Problem with V2.5.2: failed to make context current HOT 3
- How do I add new button functions HOT 5
- [Feature request] HOT 1
- not responding HOT 2
- [BUG] - fitScreenRegion change the pivot point HOT 2
- how to automate the RANSAC primitive extraction and how to use it in python project. HOT 1
- [Feature request] - DXF file read/write HOT 5
- [BUG] - imgui not working in v2.5.3 on Windows HOT 2
- [BUG] - MultiViewer is broken on Linux with a hidpi monitor HOT 13
- Render color alpha Settings HOT 3
- I have a picture control in c++ mfc, how i show the view to my picture? HOT 8
- [HELP] - wrong compile about nanoflann package HOT 3
- Model Matrix HOT 4
- Buliging own project on Visual Studio Code not finding Easy3D_RESOURCE_DIR HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from easy3d.