Giter VIP home page Giter VIP logo

Comments (2)

jwd996 avatar jwd996 commented on September 22, 2024

Found a way to use QtCreator to build. QtCreator comes with Qt5.14.
But to get it working, I had to add the line
set( CMAKE_CXX_STANDARD 14)

between
include(GNUInstallDirs)
project(smuview)

in CMakeFiles.txt

otherwise cmake would have added "-std=gnu++11" to compiler flags, which might come from some configuration of my system. To make the build process more robust on various build environments, I would recommend this change.

from smuview.

knarfS avatar knarfS commented on September 22, 2024

SmuView and the libs in /external only require C++11. But there was a glitch in the matrix which was fixed in commit 60b8d20.
I'll add a set(CMAKE_CXX_STANDARD 11) to the CMakeLists.txt to be more explicit.

The other problem is, that you are using a custom Qt 5.10.1 for compiling and linking, but when executing, the binary is trying to use your systems Qt 5.9.5. That's based on the info here and from the mikrocontroller forum (https://www.mikrocontroller.net/topic/490066#6149038):

Cannot mix incompatible Qt library (version 0x50905) with this library (version 0x50a01)

That does not work, because for Qt libraries, minor releases are only backwards compatible (binary and source).

But you could try to add your custom Qt libraries path to the LD_LIBRARY_PATH environment variable (not tested!):

$ env LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/qt-5.10.1 ./smuview

from smuview.

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.