Giter VIP home page Giter VIP logo

Comments (5)

juef17 avatar juef17 commented on May 27, 2024

My output from qmake --version is the following:

QMake version 3.1
Using Qt version 5.8.0 in /home/francois/Settings/Qt/5.8/gcc_64/lib

So no qt-dev... I've shown you mine, now show me yours! :P

from librebridge.

Jerther avatar Jerther commented on May 27, 2024
[jerther@localhost LibreBridge]$ qmake-qt4 --version
QMake version 2.01a
Using Qt version 4.8.7 in /usr/lib64

Using Fedora 25 btw. Hmm, looks like Fedora's package is outdated. Which distro are you using?

from librebridge.

juef17 avatar juef17 commented on May 27, 2024

Linux Lite 3.4, but I installed that Qt version manually, I'm not sure which Qt package is available for it. I will update the build instructions with this info!

from librebridge.

Jerther avatar Jerther commented on May 27, 2024

Okay so I did install qt5-devel instead of qt-devel. Still getting the same error:

[jerther@localhost LibreBridge]$ qmake-qt5
[jerther@localhost LibreBridge]$ make
g++ -c -pipe -Wall -Wextra -pedantic -fPIC -O2 -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DVERSION_MAJOR=0 -DVERSION_MINOR=1 -DVERSION_BUILD=0 -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o Game.o src/Game.cpp
src/Game.cpp: In member function ‘void Game::deal()’:
src/Game.cpp:56:16: error: ‘default_random_engine’ was not declared in this scope
  auto engine = default_random_engine{getSeed()};
                ^~~~~~~~~~~~~~~~~~~~~
Makefile:680: recipe for target 'Game.o' failed
make: *** [Game.o] Error 1
[jerther@localhost LibreBridge]$ g++ --version
g++ (GCC) 6.3.1 20161221 (Red Hat 6.3.1-1)
[jerther@localhost LibreBridge]$ qmake-qt5 --version
QMake version 3.0
Using Qt version 5.7.1 in /usr/lib64

Should I try an even more recent version of qmake?

from librebridge.

juef17 avatar juef17 commented on May 27, 2024

https://www.youtube.com/watch?v=v7BkdARYNAE

Try adding #include <random> with the other includes in Game.cpp.

I'm on an earlier version of g++ (5.4.0) but I doubt that's the problem.

from librebridge.

Related Issues (5)

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.