Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP on Ubuntu
#31
(03-28-2013, 01:37 PM)cyclonmaster Wrote: Try that, still no luck. Same error. Sad

What does
Code:
apt-cache policy qtmobility-dev
say?
And what Ubuntu are you using?
Reply
#32
I'm running Ubuntu 12.10.
Quote:cyclonmaster@ubuntu:~/ppsspp/Qt$ apt-cache policy qtmobility-dev
qtmobility-dev:
Installed: 1.2.0-3ubuntu4
Candidate: 1.2.0-3ubuntu4
Version table:
*** 1.2.0-3ubuntu4 0
500 http://us.archive.ubuntu.com/ubuntu/ quantal/universe i386 Packages
100 /var/lib/dpkg/status
cyclonmaster@ubuntu:~/ppsspp/Qt$

Updated source, still get same error on Qt.
Also now I get error on SDL build which is not before:

Quote:cyclonmaster@ubuntu:~/ppsspp$ ./b.sh
-- Up-to-date: /home/cyclonmaster/ppsspp/build/assets/ui_atlas.zim
-- Installing: /home/cyclonmaster/ppsspp/build/assets/ppge_atlas.zim
-- Configuring done
CMake Error at CMakeLists.txt:316 (add_library):
Cannot find source file:

native/ext/rg_etc1/rg_etc1.cpp

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx


-- Build files have been written to: /home/cyclonmaster/ppsspp/build
Reply
#33
For the SDL build, you need to run:

git submodule update

-[Unknown]
Reply
#34
Ok. Success build SDL again. PPSSPP 0.7 rev 324.

build QT get this error:
Quote:cyclonmaster@ubuntu:~/ppsspp/Qt$ qmake PPSSPPQt.pro && make
/usr/bin/qmake /home/cyclonmaster/ppsspp/Qt/Native.pro -o Makefile.Native
make -f Makefile.Native
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
/usr/bin/qmake /home/cyclonmaster/ppsspp/Qt/Core.pro -o Makefile.Core
make -f Makefile.Core
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
/home/cyclonmaster/ppsspp/Qt/git-version-gen.sh
g++ -c -pipe -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter -std=c++0x -ffast-math -fno-strict-aliasing -msse2 -O2 -fPIC -Wall -W -D_REENTRANT -DQT_WEBKIT -DUSING_QT_UI -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I../ext/zlib -I../native/ext/glew -I../Common -I../native -I../Core/MIPS -I.. -I/usr/X11R6/include -I. -o git-version.o ../git-version.cpp
g++ -c -pipe -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter -std=c++0x -ffast-math -fno-strict-aliasing -msse2 -O2 -fPIC -Wall -W -D_REENTRANT -DQT_WEBKIT -DUSING_QT_UI -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I../ext/zlib -I../native/ext/glew -I../Common -I../native -I../Core/MIPS -I.. -I/usr/X11R6/include -I. -o PSPMixer.o ../Core/PSPMixer.cpp
g++ -c -pipe -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter -std=c++0x -ffast-math -fno-strict-aliasing -msse2 -O2 -fPIC -Wall -W -D_REENTRANT -DQT_WEBKIT -DUSING_QT_UI -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I../ext/zlib -I../native/ext/glew -I../Common -I../native -I../Core/MIPS -I.. -I/usr/X11R6/include -I. -o BlockDevices.o ../Core/FileSystems/BlockDevices.cpp
rm -f libCore.a
ar cqs libCore.a git-version.o Asm.o CompALU.o CompBranch.o CompFPU.o CompLoadStore.o CompVFPU.o Jit.o JitCache.o RegCache.o RegCacheFPU.o CPU.o Config.o Core.o CoreTiming.o Host.o Loaders.o MemMap.o MemMapFunctions.o PSPLoaders.o PSPMixer.o Reporting.o SaveState.o System.o Breakpoints.o SymbolMap.o PSPDialog.o PSPMsgDialog.o PSPOskDialog.o PSPPlaceholderDialog.o PSPSaveDialog.o SavedataParam.o ElfReader.o ParamSFO.o PrxDecrypter.o BlockDevices.o DirectoryFileSystem.o ISOFileSystem.o MetaFileSystem.o PGF.o __sceAudio.o HLE.o HLETables.o sceAtrac.o sceAudio.o sceChnnlsv.o sceCtrl.o sceDisplay.o sceDmac.o sceFont.o sceGameUpdate.o sceGe.o sceHprm.o sceHttp.o sceImpose.o sceIo.o sceKernel.o sceKernelAlarm.o sceKernelEventFlag.o sceKernelInterrupt.o sceKernelMbx.o sceKernelMemory.o sceKernelModule.o sceKernelMsgPipe.o sceKernelMutex.o sceKernelSemaphore.o sceKernelThread.o sceKernelTime.o sceKernelVTimer.o sceMpeg.o sceNet.o sceOpenPSID.o sceP3da.o sceParseHttp.o sceParseUri.o scePower.o scePsmf.o scePspNpDrm_user.o sceRtc.o sceSas.o sceSsl.o sceUmd.o sceUsb.o sceUtility.o sceVaudio.o MediaEngine.o MemoryStick.o SasAudio.o MIPS.o MIPSAnalyst.o MIPSCodeUtils.o MIPSDebugInterface.o MIPSDis.o MIPSDisVFPU.o MIPSInt.o MIPSIntVFPU.o MIPSTables.o MIPSVFPUUtils.o JitCommon.o BlockAllocator.o ppge_atlas.o PPGeDraw.o GeDisasm.o GPUCommon.o GPUState.o Math3D.o NullGpu.o DisplayListInterpreter.o FragmentShaderGenerator.o Framebuffer.o IndexGenerator.o ShaderManager.o StateMapping.o TextureCache.o TransformPipeline.o VertexDecoder.o VertexShaderGenerator.o AES.o amctrl.o bn.o ec.o kirk_engine.o SHA1.o
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
/usr/bin/qmake /home/cyclonmaster/ppsspp/Qt/Common.pro -o Makefile.Common
make -f Makefile.Common
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
/usr/bin/qmake /home/cyclonmaster/ppsspp/Qt/PPSSPP.pro -o Makefile.PPSSPP
make -f Makefile.PPSSPP
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
g++ -c -pipe -Wno-unused-function -Wno-unused-variable -Wno-multichar -Wno-uninitialized -Wno-ignored-qualifiers -Wno-missing-field-initializers -Wno-unused-parameter -std=c++0x -ffast-math -fno-strict-aliasing -msse2 -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DUSING_QT_UI -DQT_HAS_SDL -D_GNU_SOURCE=1 -D_REENTRANT -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -I/usr/include/QtMultimediaKit -I../ext/zlib -I../native/ext/glew -I../Common -I.. -I../Common -I../native -I../Qt -I/usr/include/SDL -I/usr/include -I/usr/include/QtMobility -I/usr/X11R6/include -Imoc -Iui -o EmuScreen.o ../UI/EmuScreen.cpp
../UI/EmuScreen.cpp: In member function ‘virtual void EmuScreen::render()’:
../UI/EmuScreen.cpp:256:47: error: no matching function for call to ‘DrawBuffer::Begin(GLSLProgram*, DrawBufferMode)’
../UI/EmuScreen.cpp:256:47: note: candidate is:
In file included from ../native/ui/ui.h:26:0,
from ../UI/EmuScreen.cpp:25:
../native/gfx_es2/draw_buffer.h:50:7: note: void DrawBuffer::Begin(DrawBufferMode)
../native/gfx_es2/draw_buffer.h:50:7: note: candidate expects 1 argument, 2 provided
../UI/EmuScreen.cpp:265:18: error: no matching function for call to ‘DrawBuffer::Flush()’
../UI/EmuScreen.cpp:265:18: note: candidate is:
In file included from ../native/ui/ui.h:26:0,
from ../UI/EmuScreen.cpp:25:
../native/gfx_es2/draw_buffer.h:60:7: note: void DrawBuffer::Flush(const GLSLProgram*, bool)
../native/gfx_es2/draw_buffer.h:60:7: note: candidate expects 2 arguments, 0 provided
make[1]: *** [EmuScreen.o] Error 1
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
make: *** [sub-PPSSPP-pro-make_default-ordered] Error 2

In Windows, savegame goes into Memstick folder.

But in Linux, where did the savegame files go? There is no Memstick folder exists. But when run game, the save is available after I save a game at certain point. I want to put other savegame files but don't know where to put it.
Reply
#35
Unfortunately... Qt is a bit broken atm.

On Linux, savegames go into ~/.ppsspp/ iirc.

-[Unknown]
Reply
#36
Owh! found it now. It's in hidden folder. No worry, still can fix Qt later. SDL still work great too.
Reply
#37
SDL build failed now, including Qt build
Reply
#38
What error do you get?

-[Unknown]
Reply
#39
This is the SDL error:
Quote:cyclonmaster@cyclonmaster-PC:~/ppsspp$ ./b.sh
-- Could NOT find SDL (missing: SDL_LIBRARY SDL_INCLUDE_DIR)
CMake Error at CMakeLists.txt:469 (message):
Could not find SDL. Failing.


-- Configuring incomplete, errors occurred!
Reply
#40
Hmm. And this is the same install that was working before? It sounds like you really don't have libsdl-dev (or whatever the package's name is) installed.

-[Unknown]
Reply
#41
This time I'm testing Ubuntu 13.04. You're right, I've been missing some libsdl. Installed it, now it's ok again.
Qt build still the same error.
Reply
#42
(04-05-2013, 12:29 AM)cyclonmaster Wrote: Qt build still the same error.
Same error as in ../native/gfx_es2/draw_buffer.h:60:7: note: void DrawBuffer::Flush(const GLSLProgram*, bool) ?

You have an old git if that is the case.
Reply
#43
git alreay up to date, rev 457. I get this error:

Quote:cyclonmaster@cyclonmaster-PC:~/ppsspp/Qt$ qmake PPSSPPQt.pro && make
( test -f Makefile.Native || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/cyclonmaster/ppsspp/Qt/Native.pro -o Makefile.Native ) && make -f Makefile.Native
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
( test -f Makefile.Core || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/cyclonmaster/ppsspp/Qt/Core.pro -o Makefile.Core ) && make -f Makefile.Core
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
/home/cyclonmaster/ppsspp/Qt/git-version-gen.sh
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
( test -f Makefile.Common || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/cyclonmaster/ppsspp/Qt/Common.pro -o Makefile.Common ) && make -f Makefile.Common
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
( test -f Makefile.PPSSPP || /usr/lib/i386-linux-gnu/qt5/bin/qmake /home/cyclonmaster/ppsspp/Qt/PPSSPP.pro -o Makefile.PPSSPP ) && make -f Makefile.PPSSPP
make[1]: Entering directory `/home/cyclonmaster/ppsspp/Qt'
/usr/lib/i386-linux-gnu/qt5/bin/lrelease languages/ppsspp_cn.ts
make[1]: /usr/lib/i386-linux-gnu/qt5/bin/lrelease: Command not found
make[1]: *** [languages/ppsspp_cn.qm] Error 127
make[1]: Leaving directory `/home/cyclonmaster/ppsspp/Qt'
make: *** [sub-PPSSPP-pro-make_first-ordered] Error 2
cyclonmaster@cyclonmaster-PC:~/ppsspp/Qt$
Reply
#44
Oh, you don't have lrelease. Probabbly try qt4-dev-tools or something?

-[Unknown]
Reply
#45
(04-05-2013, 06:40 AM)[Unknown] Wrote: Oh, you don't have lrelease. Probabbly try qt4-dev-tools or something?

-[Unknown]

I can see it's here. Is it something else missing? Anything need to install? Link?


Attached Files Thumbnail(s)
   
Reply


Forum Jump: