TONPPAMF

The Official NPPAngband And NPPMoria Forum

You are not logged in.

Announcement

November 28, 2016 - NPPAngband forum has been migrated to a new host. SSL has been enabled so please use https:// if possible.

#1 2017-05-17 02:53:04

darwin
Member
From: Eastern Washington state, USA
Registered: 2017-05-17
Posts: 2
Website

Please write some compilation instructions

I used to be a forum member years ago, but my account was deleted.

Please write some compilation instructions for the current version (the files in nppgames-8.0.5-src.zip are very obscure compared to most source code archives.)

Offline

#2 2017-05-17 03:03:39

darwin
Member
From: Eastern Washington state, USA
Registered: 2017-05-17
Posts: 2
Website

Re: Please write some compilation instructions

I figured it out but still would like to see some instructions, as many people don't have as much experience to be able to figure it out. After changing number of make jobs to 1 (which I hate to do) I get this shorter error.

d@cosmos:~/NPPAngband_QT-master/NPPQT$ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtTest -I/usr/lib64/qt/include/QtMultimedia -I/usr/lib64/qt/include -I. -o qt_main.o src/qt_main.cpp
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_TESTLIB_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++ -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/lib64/qt/include/QtTest -I/usr/lib64/qt/include/QtMultimedia -I/usr/lib64/qt/include -I. -o qt_mainwindow.o src/qt_mainwindow.cpp
src/qt_mainwindow.cpp: In member function 'void MainWindow::save_png_screenshot()':
src/qt_mainwindow.cpp:2533:39: error: 'class MainWindow' has no member named 'grab'
     QPixmap screenshot = main_window->grab(screen_grab);
                                       ^
Makefile:950: recipe for target 'qt_mainwindow.o' failed
make: *** [qt_mainwindow.o] Error 1.

Offline

Board footer

Powered by FluxBB