Git Product home page Git Product logo

Comments (9)

LiangliangNan avatar LiangliangNan commented on May 28, 2024

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.

Kraj413 avatar Kraj413 commented on May 28, 2024

Thank you for your feedback.
I used Qt 5.6.3 and VS 2022.
CMakeConfigureLog.yaml.txt

from easy3d.

LiangliangNan avatar LiangliangNan commented on May 28, 2024

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.

Kraj413 avatar Kraj413 commented on May 28, 2024

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.

Kraj413 avatar Kraj413 commented on May 28, 2024

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.

LiangliangNan avatar LiangliangNan commented on May 28, 2024

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.

LiangliangNan avatar LiangliangNan commented on May 28, 2024

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.

LiangliangNan avatar LiangliangNan commented on May 28, 2024

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.

Kraj413 avatar Kraj413 commented on May 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.