Can't compile it ! #1
Labels
No Label
RGSS accuracy
bug
compilation
discussion
documentation
duplicate
enhancement
invalid
performance issue
port request
question
ruby incompatibility
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: MapleShrine/mkxp#1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After install all depends and qmake, on Ubuntu 13.04 or ArchLinux, same problem :
tikilou@tikilou-desktop:~/mkxp$ make
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/GL -I/usr/include/pixman-1 -I/usr/local/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -o main.o src/main.cpp
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/GL -I/usr/include/pixman-1 -I/usr/local/include/SDL2 -I/usr/include/qt5 -I/usr/include/qt5/QtCore -I. -o audio.o src/audio.cpp
In file included from src/audio.cpp:27:0:
src/filesystem.h:74:13: erreur: invalid abstract return type for member function ‘FileStream FileSystem::openRead(const char_, FileSystem::FileType)’
src/filesystem.h:31:7: note: because the following virtual functions are pure within ‘FileStream’:
In file included from src/filesystem.h:25:0,
from src/audio.cpp:27:
/usr/include/SFML/System/InputStream.hpp:59:19: note: virtual sf::Int64 sf::InputStream::read(char_, sf::Int64)
src/audio.cpp:53:13: erreur: cannot declare field ‘MusicEntity::currentData’ to be of abstract type ‘FileStream’
In file included from src/audio.cpp:27:0:
src/filesystem.h:31:7: note: since type ‘FileStream’ has pure virtual functions
src/audio.cpp: In member function ‘void MusicEntity::play(const QByteArray&, int, int)’:
src/audio.cpp:126:80: erreur: cannot allocate an object of abstract type ‘FileStream’
In file included from src/audio.cpp:27:0:
src/filesystem.h:31:7: note: since type ‘FileStream’ has pure virtual functions
src/audio.cpp: In member function ‘sf::SoundBuffer& SoundEntity::allocateBuffer(const char_)’:
src/audio.cpp:438:62: erreur: cannot allocate an object of abstract type ‘FileStream’
In file included from src/audio.cpp:27:0:
src/filesystem.h:31:7: note: since type ‘FileStream’ has pure virtual functions
src/audio.cpp:437:15: erreur: cannot declare variable ‘data’ to be of abstract type ‘FileStream’
In file included from src/audio.cpp:27:0:
src/filesystem.h:31:7: note: since type ‘FileStream’ has pure virtual functions
make: *_* [audio.o] Erreur 1
On Archlinux :
[camille@tikilou_laptop mkxp]$ make
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o audio.o src/audio.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o bitmap.o src/bitmap.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o eventthread.o src/eventthread.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o filesystem.o src/filesystem.cpp
src/filesystem.cpp:49:2: erreur: ‘PHYSFS_Io’ does not name a type
PHYSFS_Io io;
^
src/filesystem.cpp:51:47: erreur: ‘PHYSFS_Io’ has not been declared
RGSS_entryHandle(const RGSS_entryData &data, PHYSFS_Io *archIo)
^
src/filesystem.cpp: In constructor ‘RGSS_entryHandle::RGSS_entryHandle(const RGSS_entryData&, int)’:
src/filesystem.cpp:56:3: erreur: ‘io’ was not declared in this scope
io = archIo->duplicate(archIo);
^
src/filesystem.cpp:56:16: erreur: request for member ‘duplicate’ in ‘* archIo’, which is of non-class type ‘int’
io = archIo->duplicate(archIo);
^
src/filesystem.cpp: In destructor ‘RGSS_entryHandle::~RGSS_entryHandle()’:
src/filesystem.cpp:61:3: erreur: ‘io’ was not declared in this scope
io->destroy(io);
^
src/filesystem.cpp: At global scope:
src/filesystem.cpp:69:2: erreur: ‘PHYSFS_Io’ does not name a type
PHYSFS_Io archiveIo;
^
src/filesystem.cpp:75:12: erreur: ‘PHYSFS_Io’ was not declared in this scope
readUint32(PHYSFS_Io *io, uint32_t &result)
^
src/filesystem.cpp:75:23: erreur: ‘io’ was not declared in this scope
readUint32(PHYSFS_Io *io, uint32_t &result)
^
src/filesystem.cpp:75:36: erreur: expected primary-expression before ‘&’ token
readUint32(PHYSFS_Io *io, uint32_t &result)
^
src/filesystem.cpp:75:37: erreur: ‘result’ was not declared in this scope
readUint32(PHYSFS_Io *io, uint32_t &result)
^
src/filesystem.cpp:75:43: erreur: expression list treated as compound expression in initializer [-fpermissive]
readUint32(PHYSFS_Io *io, uint32_t &result)
^
src/filesystem.cpp:76:1: erreur: expected ‘,’ or ‘;’ before ‘{’ token
{
^
src/filesystem.cpp:148:13: erreur: ‘PHYSFS_Io’ was not declared in this scope
RGSS_ioRead(PHYSFS_Io *self, void *buffer, PHYSFS_uint64 len)
^
src/filesystem.cpp:148:24: erreur: ‘self’ was not declared in this scope
RGSS_ioRead(PHYSFS_Io *self, void *buffer, PHYSFS_uint64 len)
^
src/filesystem.cpp:148:30: erreur: expected primary-expression before ‘void’
RGSS_ioRead(PHYSFS_Io *self, void *buffer, PHYSFS_uint64 len)
^
src/filesystem.cpp:148:58: erreur: expected primary-expression before ‘len’
RGSS_ioRead(PHYSFS_Io *self, void *buffer, PHYSFS_uint64 len)
^
src/filesystem.cpp:148:61: erreur: expression list treated as compound expression in initializer [-fpermissive]
RGSS_ioRead(PHYSFS_Io *self, void *buffer, PHYSFS_uint64 len)
^
src/filesystem.cpp:149:1: erreur: expected ‘,’ or ‘;’ before ‘{’ token
{
^
src/filesystem.cpp:75:1: attention : ‘readUint32’ defined but not used [-Wunused-variable]
readUint32(PHYSFS_Io *io, uint32_t &result)
^
src/filesystem.cpp:148:1: attention : ‘RGSS_ioRead’ defined but not used [-Wunused-variable]
RGSS_ioRead(PHYSFS_Io *self, void *buffer, PHYSFS_uint64 len)
^
make: ** [filesystem.o] Erreur 1
Where did you install PhysicsFS from?
By the way, I have precompiled binary + libraries that work out of the box, but only 64bit for now.
PhysFS is installed on /usr/lib/libphysfs.so
You can see the package here : https://www.archlinux.org/packages/extra/x86_64/physfs/download/
Can you share your precompiled binary + libraries please ? :)
Ah I see, you need the latest development version of PhysicsFS (should have made that clearer in the readme file, sorry). You can get it here: http://hg.icculus.org/icculus/physfs/
Note that you need the mercurial version control system to check out (it works similar to git). If you have it installed, you can run
Here's my precompiled 64bit mkxp: http://ancurio.bplaced.net/TheMirrorLied/mkxp.amd64/mkxp.amd64.tar.gz
I've written about this in the Steam thread too, but you won't be able to run vanilla To the Moon with my engine yet (the vanilla game uses Win32API calls and has to be patched, and I'm still working on this patched version). If you still want to help out, can you check out this thread and play through the game / report any bugs? It's basically another game by the same developer, but a very short one. The port I posted uses this engine.
You can of course still run other RPG Maker XP games with it that don't use special ruby scripts (should work out of the box).
Okay, i'm gone to see that, big thanks for your work, your help, and your time, and sorry for my bad english (i'm french ^^" )
I have found pkgbuild explain how to build physfs in the last update with mercurial :
Maintainer: Tai Chi Minh Ralph Eastwood tcmreastwood@gmail.com
Maintainer of physfs package: Eric Bélanger eric@archlinux.org
pkgname=physfs-hg
pkgver=1301
pkgrel=1
pkgdesc="A library to provide abstract access to various archives"
arch=('i686' 'x86_64')
url="http://icculus.org/physfs/"
license=('ZLIB')
depends=('zlib')
makedepends=('cmake' 'doxygen' 'mercurial')
options=('!makeflags')
source=()
sha1sums=()
provides=(physfs)
replaces=(physfs)
conflicts=(physfs)
_hgroot="http://hg.icculus.org/icculus/physfs"
_hgrepo="physfs"
build() {
cd "$srcdir"
msg "Connecting to Mercurial server...."
if [ -d $_hgrepo ]; then
cd $_hgrepo
hg pull -u || true
msg "The local files are updated."
else
hg clone
_hgroot
_hgrepo || truefi
msg "Mercurial checkout done or server timeout"
msg "Starting make..."
rm -rf "
srcdir/
_hgrepo-build"cp -r "
srcdir/
_hgrepo" "srcdir/
_hgrepo-build"cd "
{srcdir}/
_hgrepo-build"sed -i 's/-Werror//' CMakeLists.txt
export CFLAGS="$CFLAGS -fno-strict-aliasing"
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
cmake . -DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF
make all docs
}
package() {
cd "
{srcdir}/
_hgrepo-build"make DESTDIR="${pkgdir}" install
install -d "${pkgdir}"/usr/share/{doc/physfs,man/man3}
install -m644 docs/html/* "${pkgdir}/usr/share/doc/physfs"
install -m644 docs/man/man3/* "${pkgdir}/usr/share/man/man3"
for i in author Deinit description extension Free Init major Malloc minor opaque patch Realloc url ; do
mv "
{pkgdir}/usr/share/man/man3/$i.3" "
{pkgdir}/usr/share/man/man3/PHYSFS_$i.3"done
install -D -m644 LICENSE.txt "
{pkgdir}/usr/share/licenses/
{pkgname}/LICENSE"}
Don't worry about that, I'm doing this mostly because it's fun, and helping others with my software is about the least I can do. Your English perfectly fine, I'm not a native speaker myself. Actually, I'm happy that you tried to build mkxp because you're probably the very first person besides me to do it, so I didn't really know how well it compiled on other systems. The issue with PhysicsFS probably wouldn't have arisen if I didn't employ such a shitty build system with no library version checks whatsoever (I suck a build systems, I should finally learn cmake and rewrite it).
Ah, yeah sorry, I forgot that PhysFS uses cmake and not autotools, would have explained how to build using that to you otherwise. It's really nothing more than
Tell me if you're successful with building mkxp. Oh, and did you check out that forum thread I linked earlier?
No, not successful building mkxp, now i have this :
$ make
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o font.o src/font.cpp
src/font.cpp:28:40: fatal error: ../assets/liberation.ttf.xxd : Not file or folder found
#include "../assets/liberation.ttf.xxd"
^
compilation terminée.
make: *** [font.o] Error 1
I have read your thread and try to launch The Mirror Lied, it work very well, i just found one bug, normally with To the moon for example, sound of the bell when changing chapter, something must be written, here it does not appear, just blackscreen.
Anyway, i'm happy to see the proof of concept working well ! :)
I just pushed a fix, can you
git pull
and try again please? Oh, and did you put a compiled source code folder forruby
in the 'mkxp' folder as well? Otherwise the binding will not compile for you.Thanks a lot for testing! I think what you meant is that you didn't see any text saying something like "Chapter 1: blablabla text" when the bell rang at the beginning, right? That is not a bug. In "The Mirror Lied", there are no chapters and the whole game itself is rather short (you can play through it in 20 minutes).
Okay, i test your fix and :
When i try to compile Ruby, i have an error :
executable host ruby is required. use --with-baseruby option.; false -C ./tool get-config_files config.guess
executable host ruby is required. use --with-baseruby option.; false -C ./tool get-config_files config.sub
configure: error: cannot run /bin/sh tool/config.sub
And for your software after git pull
$ make
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o font.o src/font.cpp
src/font.cpp: In function ‘SDL_RWops* openBundledFont()’:
src/font.cpp:40:27: erreur: ‘assets_liberation_ttf’ was not declared in this scope
#define BUNDLED_FONT_D(f) assets_## f ##ttf
^
src/font.cpp:44:21: note: in expansion of macro ‘BUNDLED_FONT_D’
#define BNDL_F_D(f) BUNDLED_FONT_D(f)
^
src/font.cpp:70:28: note: in expansion of macro ‘BNDL_F_D’
return SDL_RWFromConstMem(BNDL_F_D(BUNDLED_FONT), BNDL_F_L(BUNDLED_FONT));
^
src/font.cpp:41:27: erreur: ‘assets_liberation_ttf_len’ was not declared in this scope
#define BUNDLED_FONT_L(f) assets## f ##_ttf_len
^
src/font.cpp:45:21: note: in expansion of macro ‘BUNDLED_FONT_L’
#define BNDL_F_L(f) BUNDLED_FONT_L(f)
^
src/font.cpp:70:52: note: in expansion of macro ‘BNDL_F_L’
return SDL_RWFromConstMem(BNDL_F_D(BUNDLED_FONT), BNDL_F_L(BUNDLED_FONT));
^
src/font.cpp:71:1: attention : contrôle a atteint la fin non void de la fonction [-Wreturn-type]
}
^
make: *** [font.o] Erreur 1
Yes; your right ! =)
I like test your code, but archlinux isn't the most easy way for try to compile a software i'm think, after work tomorrow, maybe i gone to try this on Ubuntu.
Can you run
and attach the entire console output?
make clean
rm -f transSimple.frag.xxd trans.frag.xxd hue.frag.xxd sprite.frag.xxd plane.frag.xxd bitmapBlit.frag.xxd simple.frag.xxd simpleColor.frag.xxd simpleAlpha.frag.xxd flashMap.frag.xxd blur.frag.xxd simple.vert.xxd simpleColor.vert.xxd sprite.vert.xxd simpleMatrix.vert.xxd blurH.vert.xxd blurV.vert.xxd liberation.ttf.xxd
rm -f main.o audio.o bitmap.o eventthread.o filesystem.o font.o input.o plane.o scene.o sprite.o table.o tilequad.o viewport.o window.o texpool.o shader.o glstate.o tilemap.o autotiles.o graphics.o debuglogger.o etc.o config.o tileatlas.o perftimer.o sharedstate.o binding-mri.o binding-util.o table-binding.o etc-binding.o bitmap-binding.o font-binding.o graphics-binding.o input-binding.o sprite-binding.o viewport-binding.o plane-binding.o window-binding.o tilemap-binding.o audio-binding.o module_rpg.o filesystem-binding.o
rm -f ~ core *.core
[Tikilou@laptop mkxp]$ make
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o main.o src/main.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o audio.o src/audio.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o bitmap.o src/bitmap.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o eventthread.o src/eventthread.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o filesystem.o src/filesystem.cpp
xxd -i assets/liberation.ttf > liberation.ttf.xxd
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o font.o src/font.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o input.o src/input.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o plane.o src/plane.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o scene.o src/scene.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o sprite.o src/sprite.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o table.o src/table.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o tilequad.o src/tilequad.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o viewport.o src/viewport.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o window.o src/window.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o texpool.o src/texpool.cpp
xxd -i shader/sprite.frag > sprite.frag.xxd
xxd -i shader/hue.frag > hue.frag.xxd
xxd -i shader/trans.frag > trans.frag.xxd
xxd -i shader/transSimple.frag > transSimple.frag.xxd
xxd -i shader/bitmapBlit.frag > bitmapBlit.frag.xxd
xxd -i shader/plane.frag > plane.frag.xxd
xxd -i shader/simple.frag > simple.frag.xxd
xxd -i shader/simpleColor.frag > simpleColor.frag.xxd
xxd -i shader/simpleAlpha.frag > simpleAlpha.frag.xxd
xxd -i shader/flashMap.frag > flashMap.frag.xxd
xxd -i shader/simple.vert > simple.vert.xxd
xxd -i shader/simpleColor.vert > simpleColor.vert.xxd
xxd -i shader/sprite.vert > sprite.vert.xxd
xxd -i shader/blur.frag > blur.frag.xxd
xxd -i shader/simpleMatrix.vert > simpleMatrix.vert.xxd
xxd -i shader/blurH.vert > blurH.vert.xxd
xxd -i shader/blurV.vert > blurV.vert.xxd
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o shader.o src/shader.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o glstate.o src/glstate.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o tilemap.o src/tilemap.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o autotiles.o src/autotiles.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o graphics.o src/graphics.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o debuglogger.o src/debuglogger.cpp
src/debuglogger.cpp: In member function ‘void DebugLoggerPrivate::writeTimestamp()’:
src/debuglogger.cpp:58:37: erreur: ‘class QString’ has no member named ‘toAscii’
*stream << "[" << time.toString().toAscii() << "] ";
^
make: ** [debuglogger.o] Error 1
Okay, the font.cpp issue is gone. The error you're getting now is because I build with Qt 4.8 and you're building with Qt 5.0. I pushed a fix to make it compatible with 5.0 (this is a very good thing). Can you pull and recompile once more? We're almost there I think!
Hi, i have an error with Ruby ! (Thanks for the fix with QT 5, it's a goof feature to support it in for the futur !)
$ make
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o main.o src/main.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o audio.o src/audio.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o bitmap.o src/bitmap.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o eventthread.o src/eventthread.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o filesystem.o src/filesystem.cpp
xxd -i assets/liberation.ttf > liberation.ttf.xxd
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o font.o src/font.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o input.o src/input.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o plane.o src/plane.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o scene.o src/scene.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o sprite.o src/sprite.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o table.o src/table.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o tilequad.o src/tilequad.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o viewport.o src/viewport.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o window.o src/window.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o texpool.o src/texpool.cpp
xxd -i shader/sprite.frag > sprite.frag.xxd
xxd -i shader/hue.frag > hue.frag.xxd
xxd -i shader/trans.frag > trans.frag.xxd
xxd -i shader/transSimple.frag > transSimple.frag.xxd
xxd -i shader/bitmapBlit.frag > bitmapBlit.frag.xxd
xxd -i shader/plane.frag > plane.frag.xxd
xxd -i shader/simple.frag > simple.frag.xxd
xxd -i shader/simpleColor.frag > simpleColor.frag.xxd
xxd -i shader/simpleAlpha.frag > simpleAlpha.frag.xxd
xxd -i shader/flashMap.frag > flashMap.frag.xxd
xxd -i shader/simple.vert > simple.vert.xxd
xxd -i shader/simpleColor.vert > simpleColor.vert.xxd
xxd -i shader/sprite.vert > sprite.vert.xxd
xxd -i shader/blur.frag > blur.frag.xxd
xxd -i shader/simpleMatrix.vert > simpleMatrix.vert.xxd
xxd -i shader/blurH.vert > blurH.vert.xxd
xxd -i shader/blurV.vert > blurV.vert.xxd
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o shader.o src/shader.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o glstate.o src/glstate.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o tilemap.o src/tilemap.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o autotiles.o src/autotiles.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o graphics.o src/graphics.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o debuglogger.o src/debuglogger.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o etc.o src/etc.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o config.o src/config.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o tileatlas.o src/tileatlas.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o perftimer.o src/perftimer.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o sharedstate.o src/sharedstate.cpp
g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_KEYWORDS -DBINDING_MRI -D_REENTRANT -DQT_NO_DEBUG -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -I. -I. -Isrc -Iruby/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/GL -I/usr/include/libdrm -I/usr/include/pixman-1 -I/usr/include/SDL2 -I/usr/include/qt -I/usr/include/qt/QtCore -I. -o binding-mri.o binding-mri/binding-mri.cpp
In file included from binding-mri/binding-util.h:25:0,
from binding-mri/binding-mri.cpp:23:
ruby/include/./ruby/ruby.h:24:25: fatal error: ruby/config.h : no file or folder found
#include "ruby/config.h"
^
compilation terminée.
make: *** [binding-mri.o] Error 1
You did build the ruby inside the folder with
./configure && make
, yes?Directly inside, or in the folder "ruby" in the folder of source code of mkxp ?
I have build alreday build ruby in a folder "ruby" in mkxp folder, without problem, but nothing change, exactly the same error when i try to build mkxp.
dir in the ruby folder after build it :
ruby]$ ls -l
total 130960
drwxr-xr-x 1 tikilou users 48 10.10.2013 21:40 autom4te.cache/
drwxr-xr-x 1 tikilou users 3784 10.10.2013 21:35 benchmark/
drwxr-xr-x 1 tikilou users 50 10.10.2013 21:35 bin/
drwxr-xr-x 1 tikilou users 706 10.10.2013 21:34 bootstraptest/
drwxr-xr-x 1 tikilou users 28 10.10.2013 21:34 cygwin/
drwxr-xr-x 1 tikilou users 182 10.10.2013 21:34 defs/
drwxr-xr-x 1 tikilou users 548 12.10.2013 03:08 doc/
drwxr-xr-x 1 tikilou users 1730 12.10.2013 03:05 enc/
drwxr-xr-x 1 tikilou users 528 10.10.2013 21:35 ext/
drwxr-xr-x 1 tikilou users 20 10.10.2013 21:34 include/
drwxr-xr-x 1 tikilou users 1406 10.10.2013 21:34 lib/
drwxr-xr-x 1 tikilou users 68 10.10.2013 21:35 man/
drwxr-xr-x 1 tikilou users 282 10.10.2013 21:34 misc/
drwxr-xr-x 1 tikilou users 516 10.10.2013 21:35 missing/
drwxr-xr-x 1 tikilou users 298 10.10.2013 21:34 nacl/
drwxr-xr-x 1 tikilou users 860 10.10.2013 21:34 sample/
drwxr-xr-x 1 tikilou users 38 10.10.2013 21:34 spec/
drwxr-xr-x 1 tikilou users 140 10.10.2013 21:34 symbian/
drwxr-xr-x 1 tikilou users 588 10.10.2013 21:35 template/
drwxr-xr-x 1 tikilou users 1556 10.10.2013 21:35 test/
drwxr-xr-x 1 tikilou users 1068 12.10.2013 03:03 tool/
drwxr-xr-x 1 tikilou users 348 10.10.2013 21:34 win32/
-rw-r--r-- 1 tikilou users 25228 10.10.2013 21:34 addr2line.c
-rw-r--r-- 1 tikilou users 414 10.10.2013 21:34 addr2line.h
-rw-r--r-- 1 tikilou users 378464 12.10.2013 03:05 addr2line.o
-rw-r--r-- 1 tikilou users 144283 10.10.2013 21:34 array.c
-rw-r--r-- 1 tikilou users 1157096 12.10.2013 03:04 array.o
-rw-r--r-- 1 tikilou users 193184 12.10.2013 03:05 ascii.o
-rw-r--r-- 1 tikilou users 185473 10.10.2013 21:35 bignum.c
-rw-r--r-- 1 tikilou users 1509024 12.10.2013 03:04 bignum.o
-rw-r--r-- 1 tikilou users 1282 10.10.2013 21:34 BSDL
-rw-r--r-- 1 tikilou users 476884 10.10.2013 21:34 ChangeLog
-rw-r--r-- 1 tikilou users 47921 10.10.2013 21:34 class.c
-rw-r--r-- 1 tikilou users 809808 12.10.2013 03:04 class.o
-rw-r--r-- 1 tikilou users 43678 10.10.2013 21:34 common.mk
-rw-r--r-- 1 tikilou users 5776 10.10.2013 21:35 compar.c
-rw-r--r-- 1 tikilou users 232632 12.10.2013 03:04 compar.o
-rw-r--r-- 1 tikilou users 147292 10.10.2013 21:34 compile.c
-rw-r--r-- 1 tikilou users 1045904 12.10.2013 03:05 compile.o
-rw-r--r-- 1 tikilou users 48206 10.10.2013 21:34 complex.c
-rw-r--r-- 1 tikilou users 1307336 12.10.2013 03:04 complex.o
-rw-r--r-- 1 tikilou users 819959 12.10.2013 03:03 config.log
-rwxr-xr-x 1 tikilou users 32301 12.10.2013 03:03 config.status*
-rwxr-xr-x 1 tikilou users 592375 10.10.2013 21:40 configure*
-rw-r--r-- 1 tikilou users 121614 10.10.2013 21:34 configure.in
-rw-r--r-- 1 tikilou users 1085 10.10.2013 21:35 constant.h
-rw-r--r-- 1 tikilou users 41935 10.10.2013 21:35 cont.c
-rw-r--r-- 1 tikilou users 622488 12.10.2013 03:05 cont.o
-rw-r--r-- 1 tikilou users 2504 10.10.2013 21:34 COPYING
-rw-r--r-- 1 tikilou users 2624 10.10.2013 21:34 COPYING.ja
-rw-r--r-- 1 tikilou users 4498 10.10.2013 21:34 debug.c
-rw-r--r-- 1 tikilou users 384624 12.10.2013 03:05 debug.o
-rw-r--r-- 1 tikilou users 56426 10.10.2013 21:34 dir.c
-rw-r--r-- 1 tikilou users 834664 12.10.2013 03:04 dir.o
-rw-r--r-- 1 tikilou users 33880 10.10.2013 21:34 dln.c
-rw-r--r-- 1 tikilou users 6151 10.10.2013 21:34 dln_find.c
-rw-r--r-- 1 tikilou users 249640 12.10.2013 03:04 dln_find.o
-rw-r--r-- 1 tikilou users 990 10.10.2013 21:35 dln.h
-rw-r--r-- 1 tikilou users 245128 12.10.2013 03:05 dln.o
-rw-r--r-- 1 tikilou users 152 10.10.2013 21:35 dmydln.c
-rw-r--r-- 1 tikilou users 217360 12.10.2013 03:04 dmydln.o
-rw-r--r-- 1 tikilou users 49 10.10.2013 21:34 dmyext.c
-rw-r--r-- 1 tikilou users 17552 12.10.2013 03:05 dmyext.o
-rw-r--r-- 1 tikilou users 9477 12.10.2013 03:08 Doxyfile
-rw-r--r-- 1 tikilou users 8934 12.10.2013 03:05 encdb.h
-rw-r--r-- 1 tikilou users 33242 12.10.2013 03:05 enc.mk
-rw-r--r-- 1 tikilou users 48500 10.10.2013 21:34 encoding.c
-rw-r--r-- 1 tikilou users 723040 12.10.2013 03:04 encoding.o
-rw-r--r-- 1 tikilou users 73165 10.10.2013 21:34 enum.c
-rw-r--r-- 1 tikilou users 50803 10.10.2013 21:34 enumerator.c
-rw-r--r-- 1 tikilou users 608248 12.10.2013 03:04 enumerator.o
-rw-r--r-- 1 tikilou users 505152 12.10.2013 03:04 enum.o
-rw-r--r-- 1 tikilou users 47383 10.10.2013 21:35 error.c
-rw-r--r-- 1 tikilou users 631584 12.10.2013 03:04 error.o
-rw-r--r-- 1 tikilou users 37279 10.10.2013 21:34 eval.c
-rw-r--r-- 1 tikilou users 6286 10.10.2013 21:34 eval_error.c
-rw-r--r-- 1 tikilou users 5608 10.10.2013 21:34 eval_intern.h
-rw-r--r-- 1 tikilou users 2777 10.10.2013 21:34 eval_jump.c
-rw-r--r-- 1 tikilou users 563088 12.10.2013 03:04 eval.o
-rw-r--r-- 1 tikilou users 50569 12.10.2013 03:06 exts.mk
-rw-r--r-- 1 tikilou users 140043 10.10.2013 21:35 file.c
-rw-r--r-- 1 tikilou users 1017408 12.10.2013 03:04 file.o
-rw-r--r-- 1 tikilou users 155359 10.10.2013 21:34 gc.c
-rw-r--r-- 1 tikilou users 2956 10.10.2013 21:34 gc.h
-rw-r--r-- 1 tikilou users 1188544 12.10.2013 03:04 gc.o
-rw-r--r-- 1 tikilou users 39 10.10.2013 21:34 gem_prelude.rb
-rw-r--r-- 1 tikilou users 165 12.10.2013 03:03 GNUmakefile
-rw-r--r-- 1 tikilou users 2476 10.10.2013 21:35 golf_prelude.rb
-rw-r--r-- 1 tikilou users 1213 10.10.2013 21:34 goruby.c
-rw-r--r-- 1 tikilou users 18092 10.10.2013 21:35 GPL
-rw-r--r-- 1 tikilou users 90032 10.10.2013 21:35 hash.c
-rw-r--r-- 1 tikilou users 819144 12.10.2013 03:04 hash.o
-rw-r--r-- 1 tikilou users 1125 10.10.2013 21:35 ia64.s
-rw-r--r-- 1 tikilou users 2710 12.10.2013 03:04 id.c
-rw-r--r-- 1 tikilou users 4412 12.10.2013 03:04 id.h
-rw-r--r-- 1 tikilou users 1213 10.10.2013 21:35 inits.c
-rw-r--r-- 1 tikilou users 231760 12.10.2013 03:04 inits.o
-rw-r--r-- 1 tikilou users 45248 10.10.2013 21:34 insns.def
-rw-r--r-- 1 tikilou users 3706 12.10.2013 03:05 insns.inc
-rw-r--r-- 1 tikilou users 11460 12.10.2013 03:05 insns_info.inc
-rw-r--r-- 1 tikilou users 24677 10.10.2013 21:35 internal.h
-rw-r--r-- 1 tikilou users 318395 10.10.2013 21:34 io.c
-rw-r--r-- 1 tikilou users 1740472 12.10.2013 03:04 io.o
-rw-r--r-- 1 tikilou users 63449 10.10.2013 21:34 iseq.c
-rw-r--r-- 1 tikilou users 3458 10.10.2013 21:34 iseq.h
-rw-r--r-- 1 tikilou users 647176 12.10.2013 03:05 iseq.o
-rw-r--r-- 1 tikilou users 101 10.10.2013 21:34 KNOWNBUGS.rb
-rw-r--r-- 1 tikilou users 15719 12.10.2013 03:04 known_errors.inc
-rw-r--r-- 1 tikilou users 22975 10.10.2013 21:34 LEGAL
-rw-r--r-- 1 tikilou users 8332 12.10.2013 03:04 lex.c
-rw-r--r-- 1 tikilou users 8332 10.10.2013 21:34 lex.c.blt
-rw-r--r-- 1 tikilou users 48371542 12.10.2013 03:07 libruby-static.a
-rw-r--r-- 1 tikilou users 31335 10.10.2013 21:34 load.c
-rw-r--r-- 1 tikilou users 432160 12.10.2013 03:04 load.o
-rw-r--r-- 1 tikilou users 2362 10.10.2013 21:35 loadpath.c
-rw-r--r-- 1 tikilou users 220896 12.10.2013 03:07 loadpath.o
-rw-r--r-- 1 tikilou users 1548 10.10.2013 21:34 localeinit.c
-rw-r--r-- 1 tikilou users 278872 12.10.2013 03:05 localeinit.o
-rw-r--r-- 1 tikilou users 719 10.10.2013 21:34 main.c
-rw-r--r-- 1 tikilou users 242496 12.10.2013 03:04 main.o
-rw-r--r-- 1 tikilou users 14915 12.10.2013 03:03 Makefile
-rw-r--r-- 1 tikilou users 14479 10.10.2013 21:34 Makefile.in
-rw-r--r-- 1 tikilou users 50890 10.10.2013 21:35 marshal.c
-rw-r--r-- 1 tikilou users 858840 12.10.2013 03:04 marshal.o
-rw-r--r-- 1 tikilou users 21478 10.10.2013 21:34 math.c
-rw-r--r-- 1 tikilou users 356936 12.10.2013 03:04 math.o
-rw-r--r-- 1 tikilou users 4535 10.10.2013 21:34 method.h
-rw-r--r-- 1 tikilou users 661 10.10.2013 21:34 miniinit.c
-rw-r--r-- 1 tikilou users 251024 12.10.2013 03:04 miniinit.o
-rw-r--r-- 1 tikilou users 1108 12.10.2013 03:04 miniprelude.c
-rw-r--r-- 1 tikilou users 315000 12.10.2013 03:04 miniprelude.o
-rwxr-xr-x 1 tikilou users 13813698 12.10.2013 03:07 miniruby*
-rw-r--r-- 1 tikilou users 5906 12.10.2013 03:05 newline.c
-rw-r--r-- 1 tikilou users 228224 12.10.2013 03:05 newline.o
-rw-r--r-- 1 tikilou users 8956 10.10.2013 21:35 NEWS
-rw-r--r-- 1 tikilou users 22912 10.10.2013 21:35 node.c
-rw-r--r-- 1 tikilou users 16708 10.10.2013 21:35 node.h
-rw-r--r-- 1 tikilou users 4872 12.10.2013 03:05 node_name.inc
-rw-r--r-- 1 tikilou users 767056 12.10.2013 03:04 node.o
-rw-r--r-- 1 tikilou users 91851 10.10.2013 21:35 numeric.c
-rw-r--r-- 1 tikilou users 1064680 12.10.2013 03:04 numeric.o
-rw-r--r-- 1 tikilou users 84556 10.10.2013 21:34 object.c
-rw-r--r-- 1 tikilou users 696144 12.10.2013 03:04 object.o
-rw-r--r-- 1 tikilou users 1609 12.10.2013 03:05 optinsn.inc
-rw-r--r-- 1 tikilou users 6953 12.10.2013 03:05 opt_sc.inc
-rw-r--r-- 1 tikilou users 1286 12.10.2013 03:05 optunifs.inc
-rw-r--r-- 1 tikilou users 52959 10.10.2013 21:34 pack.c
-rw-r--r-- 1 tikilou users 400856 12.10.2013 03:04 pack.o
-rw-r--r-- 1 tikilou users 553641 12.10.2013 03:04 parse.c
-rw-r--r-- 1 tikilou users 4682 12.10.2013 03:04 parse.h
-rw-r--r-- 1 tikilou users 2102032 12.10.2013 03:04 parse.o
-rw-r--r-- 1 tikilou users 257779 10.10.2013 21:34 parse.y
-rw-r--r-- 1 tikilou users 1907 12.10.2013 03:07 prelude.c
-rw-r--r-- 1 tikilou users 317208 12.10.2013 03:07 prelude.o
-rw-r--r-- 1 tikilou users 367 10.10.2013 21:34 prelude.rb
-rw-r--r-- 1 tikilou users 7779 10.10.2013 21:34 probes.d
-rw-r--r-- 1 tikilou users 2811 12.10.2013 03:04 probes.dmyh
-rw-r--r-- 1 tikilou users 2811 12.10.2013 03:04 probes.h
-rw-r--r-- 1 tikilou users 1732 10.10.2013 21:34 probes_helper.h
-rw-r--r-- 1 tikilou users 68461 10.10.2013 21:34 proc.c
-rw-r--r-- 1 tikilou users 209248 10.10.2013 21:34 process.c
-rw-r--r-- 1 tikilou users 1217256 12.10.2013 03:04 process.o
-rw-r--r-- 1 tikilou users 597976 12.10.2013 03:04 proc.o
-rw-r--r-- 1 tikilou users 35280 10.10.2013 21:35 random.c
-rw-r--r-- 1 tikilou users 493152 12.10.2013 03:04 random.o
-rw-r--r-- 1 tikilou users 33036 10.10.2013 21:34 range.c
-rw-r--r-- 1 tikilou users 400008 12.10.2013 03:04 range.o
-rw-r--r-- 1 tikilou users 57537 10.10.2013 21:35 rational.c
-rw-r--r-- 1 tikilou users 808520 12.10.2013 03:04 rational.o
-rw-r--r-- 1 tikilou users 9997 12.10.2013 03:05 rbconfig.rb
-rw-r--r-- 1 tikilou users 5568 10.10.2013 21:34 README
-rw-r--r-- 1 tikilou users 45825 10.10.2013 21:34 README.EXT
-rw-r--r-- 1 tikilou users 63298 10.10.2013 21:35 README.EXT.ja
-rw-r--r-- 1 tikilou users 7681 10.10.2013 21:34 README.ja
-rw-r--r-- 1 tikilou users 94386 10.10.2013 21:34 re.c
-rw-r--r-- 1 tikilou users 158310 10.10.2013 21:34 regcomp.c
-rw-r--r-- 1 tikilou users 755640 12.10.2013 03:05 regcomp.o
-rw-r--r-- 1 tikilou users 29824 10.10.2013 21:34 regenc.c
-rw-r--r-- 1 tikilou users 10890 10.10.2013 21:34 regenc.h
-rw-r--r-- 1 tikilou users 326072 12.10.2013 03:05 regenc.o
-rw-r--r-- 1 tikilou users 12708 10.10.2013 21:34 regerror.c
-rw-r--r-- 1 tikilou users 303768 12.10.2013 03:05 regerror.o
-rw-r--r-- 1 tikilou users 108733 10.10.2013 21:35 regexec.c
-rw-r--r-- 1 tikilou users 461112 12.10.2013 03:05 regexec.o
-rw-r--r-- 1 tikilou users 32689 10.10.2013 21:34 regint.h
-rw-r--r-- 1 tikilou users 146339 10.10.2013 21:34 regparse.c
-rw-r--r-- 1 tikilou users 12542 10.10.2013 21:34 regparse.h
-rw-r--r-- 1 tikilou users 1059760 12.10.2013 03:05 regparse.o
-rw-r--r-- 1 tikilou users 14675 10.10.2013 21:35 regsyntax.c
-rw-r--r-- 1 tikilou users 276552 12.10.2013 03:05 regsyntax.o
-rw-r--r-- 1 tikilou users 802096 12.10.2013 03:04 re.o
-rw-r--r-- 1 tikilou users 28 12.10.2013 03:05 revision.h
-rwxr-xr-x 1 tikilou users 13810152 12.10.2013 03:07 ruby*
-rw-r--r-- 1 tikilou users 1793 12.10.2013 03:03 ruby-2.1.pc
-rw-r--r-- 1 tikilou users 5414 10.10.2013 21:34 ruby_atomic.h
-rw-r--r-- 1 tikilou users 50275 10.10.2013 21:35 ruby.c
-rw-r--r-- 1 tikilou users 636064 12.10.2013 03:05 ruby.o
-rw-r--r-- 1 tikilou users 2675 10.10.2013 21:35 safe.c
-rw-r--r-- 1 tikilou users 323136 12.10.2013 03:05 safe.o
-rw-r--r-- 1 tikilou users 224792 12.10.2013 03:05 setproctitle.o
-rw-r--r-- 1 tikilou users 25651 10.10.2013 21:35 signal.c
-rw-r--r-- 1 tikilou users 412616 12.10.2013 03:05 signal.o
-rw-r--r-- 1 tikilou users 10989 10.10.2013 21:35 siphash.c
-rw-r--r-- 1 tikilou users 1284 10.10.2013 21:35 siphash.h
-rw-r--r-- 1 tikilou users 1099 12.10.2013 03:05 sizes.c
-rw-r--r-- 1 tikilou users 222376 12.10.2013 03:05 sizes.o
-rw-r--r-- 1 tikilou users 1084 10.10.2013 21:35 sparc.c
-rw-r--r-- 1 tikilou users 37704 10.10.2013 21:34 sprintf.c
-rw-r--r-- 1 tikilou users 467752 12.10.2013 03:05 sprintf.o
-rw-r--r-- 1 tikilou users 37637 10.10.2013 21:34 st.c
-rw-r--r-- 1 tikilou users 416464 12.10.2013 03:05 st.o
-rw-r--r-- 1 tikilou users 31500 10.10.2013 21:34 strftime.c
-rw-r--r-- 1 tikilou users 334728 12.10.2013 03:05 strftime.o
-rw-r--r-- 1 tikilou users 221279 10.10.2013 21:34 string.c
-rw-r--r-- 1 tikilou users 1857328 12.10.2013 03:05 string.o
-rw-r--r-- 1 tikilou users 91128 12.10.2013 03:05 strlcat.o
-rw-r--r-- 1 tikilou users 90120 12.10.2013 03:05 strlcpy.o
-rw-r--r-- 1 tikilou users 27455 10.10.2013 21:34 struct.c
-rw-r--r-- 1 tikilou users 406984 12.10.2013 03:05 struct.o
-rw-r--r-- 1 tikilou users 131244 10.10.2013 21:34 thread.c
-rw-r--r-- 1 tikilou users 575 10.10.2013 21:35 thread_native.h
-rw-r--r-- 1 tikilou users 1305120 12.10.2013 03:05 thread.o
-rw-r--r-- 1 tikilou users 40095 10.10.2013 21:34 thread_pthread.c
-rw-r--r-- 1 tikilou users 1219 10.10.2013 21:34 thread_pthread.h
-rw-r--r-- 1 tikilou users 17634 10.10.2013 21:34 thread_win32.c
-rw-r--r-- 1 tikilou users 953 10.10.2013 21:34 thread_win32.h
-rw-r--r-- 1 tikilou users 132906 10.10.2013 21:34 time.c
-rw-r--r-- 1 tikilou users 1158712 12.10.2013 03:05 time.o
-rw-r--r-- 1 tikilou users 1149 10.10.2013 21:35 timev.h
-rw-r--r-- 1 tikilou users 139145 10.10.2013 21:35 transcode.c
-rw-r--r-- 1 tikilou users 5463 10.10.2013 21:35 transcode_data.h
-rw-r--r-- 1 tikilou users 1106016 12.10.2013 03:05 transcode.o
-rw-r--r-- 1 tikilou users 11364 12.10.2013 03:05 transdb.h
-rw-r--r-- 1 tikilou users 39145 12.10.2013 03:03 uncommon.mk
-rw-r--r-- 1 tikilou users 739072 12.10.2013 03:05 unicode.o
-rw-r--r-- 1 tikilou users 193856 12.10.2013 03:05 us_ascii.o
-rw-r--r-- 1 tikilou users 219488 12.10.2013 03:05 utf_8.o
-rw-r--r-- 1 tikilou users 102325 10.10.2013 21:34 util.c
-rw-r--r-- 1 tikilou users 494968 12.10.2013 03:05 util.o
-rw-r--r-- 1 tikilou users 60243 10.10.2013 21:34 variable.c
-rw-r--r-- 1 tikilou users 840104 12.10.2013 03:05 variable.o
-rw-r--r-- 1 tikilou users 684 12.10.2013 03:07 verconf.h
-rw-r--r-- 1 tikilou users 2422 10.10.2013 21:35 version.c
-rw-r--r-- 1 tikilou users 1446 10.10.2013 21:35 version.h
-rw-r--r-- 1 tikilou users 226160 12.10.2013 03:07 version.o
-rw-r--r-- 1 tikilou users 31870 10.10.2013 21:34 vm_backtrace.c
-rw-r--r-- 1 tikilou users 604144 12.10.2013 03:05 vm_backtrace.o
-rw-r--r-- 1 tikilou users 70827 10.10.2013 21:35 vm.c
-rw-r--r-- 1 tikilou users 29376 10.10.2013 21:34 vm_core.h
-rw-r--r-- 1 tikilou users 1173 10.10.2013 21:34 vm_debug.h
-rw-r--r-- 1 tikilou users 21701 10.10.2013 21:35 vm_dump.c
-rw-r--r-- 1 tikilou users 357880 12.10.2013 03:05 vm_dump.o
-rw-r--r-- 1 tikilou users 51547 10.10.2013 21:34 vm_eval.c
-rw-r--r-- 1 tikilou users 2879 10.10.2013 21:35 vm_exec.c
-rw-r--r-- 1 tikilou users 4143 10.10.2013 21:35 vm_exec.h
-rw-r--r-- 1 tikilou users 80786 12.10.2013 03:05 vm.inc
-rw-r--r-- 1 tikilou users 60780 10.10.2013 21:35 vm_insnhelper.c
-rw-r--r-- 1 tikilou users 7946 10.10.2013 21:35 vm_insnhelper.h
-rw-r--r-- 1 tikilou users 43592 10.10.2013 21:34 vm_method.c
-rw-r--r-- 1 tikilou users 2100256 12.10.2013 03:05 vm.o
-rw-r--r-- 1 tikilou users 1398 10.10.2013 21:35 vm_opts.h
-rw-r--r-- 1 tikilou users 2549 12.10.2013 03:05 vmtc.inc
-rw-r--r-- 1 tikilou users 35591 10.10.2013 21:35 vm_trace.c
-rw-r--r-- 1 tikilou users 606872 12.10.2013 03:05 vm_trace.o
-rw-r--r-- 1 tikilou users 33087 10.10.2013 21:34 vsnprintf.c
Can you list these files from withing ruby folder?
And there is no shared library... hm that is weird indeed. I remember when I built ruby it automatically linked it. I think you should recompile ruby with
Okay :
listing directory : http://pastebin.com/vVx4cAz8
configure ruby : http://pastebin.com/Fb3Ts0vk
compile ruby : http://pastebin.com/pchHpadU
Try to compile mkxp, but same error : http://pastebin.com/jS2x9Zcr
Sorry, can you pull the latest commit and
qmake && make
in the mkxp folder again? I'm pretty sure this should fix the ruby issue.Also, you have the shared libruby.so build now, which is good.
Okay, after qmake && make i compile mkxp without apparent problem, i obtain somes files and an executable.
For the library of ruby after the error message, i'm copy ~/mkxp/ruby/libruby.so.2.1.0 to /usr/lib/libruby.so.2.1
Finally i try to launch mkxp, and obtain a transparent window, and segfault... On the terminal, i have that => http://pastebin.com/rFCz2pvM
Is that I made a mistake?
Aye, we finally built it! :D
It should be enough for you to copy libruby.so.2.1 to the build folder, ie. "mkxp". No need to pollute your global namespace.
As for the segfault, do you know how to generate a stack trace with gdb?
Also, what happens if you run the executable in the precompiled tar archive I sent you earlier? Does it segfault too?
"Aye, we finally built it! :D "
Yes, finally ! =D
"It should be enough for you to copy libruby.so.2.1 to the build folder, ie. "mkxp". No need to pollute your global namespace."
I have already test this before, but the result is, this is why i copied the library in /usr/lib
mkxp]$ ./mkxp
./mkxp: error while loading shared libraries: libruby.so.2.1: cannot open shared object file: No such file or directory
"As for the segfault, do you know how to generate a stack trace with gdb?"
No, it is very rare that i compile something, I want to learn many things, but my English was not good enough so far.
"Also, what happens if you run the executable in the precompiled tar archive I sent you earlier? Does it segfault too?"
No, not segfault, the window black is launched, with a message "No game scripts specified (missing Game.ini?), that's all, everything seems fine.
In the terminal :
mkxp.amd64]$ ./mkxp
--- Compiling SimpleShader
From: simple.vert simple.frag
--- Compiling SimpleColorShader
From: simpleColor.vert simpleColor.frag
--- Compiling SimpleAlphaShader
From: simpleColor.vert simpleAlpha.frag
--- Compiling SimpleSpriteShader
From: sprite.vert simple.frag
--- Compiling SpriteShader
From: sprite.vert sprite.frag
--- Compiling PlaneShader
From: simple.vert plane.frag
--- Compiling FlashMapShader
From: simpleColor.vert flashMap.frag
--- Compiling TransShader
From: simple.vert trans.frag
--- Compiling SimpleTransShader
From: simple.vert transSimple.frag
--- Compiling HueShader
From: simple.vert hue.frag
--- Compiling BltShader
From: simple.vert bitmapBlit.frag
Hm okay, so my compiled code runs fine on your end, so it must have something to do with the libraries on your system.. hm.
Anyway, here's how you do a gdb trace: First, make sure that "gdb" is installed. Then start mkxp through gdb:
wait until the segfault happens.. then in the gdb console:
which should print you a nice backtrace I'd like to see. You can then quit gdb with
Okay, the result is here => http://pastebin.com/NZNqcWa8
Something is bad with the SDL API ?
Possibly, I'm not sure why it would segfault there. Where did you get your SDL2 from? You could try using my SDL2 library instead. Just put it in the same folder as the mkxp binary and run it like so:
SDL2 is installed with AUR package on archlinux, named sd2-hg (https://aur.archlinux.org/packages/sd/sdl2-hg/PKGBUILD), il purpose to compile and install the last revision of mercurial repository of SDL2.
First, i try to launch mkxp with your command, after have copied all SDL library on the mkxp folder, i obtain same problem
After that I'm put your lib on "lib" folder of your archive of mkxp, and launched mkxp with this commande :
LD_LIBRARY_PATH="./lib/" ./mkxp
Mkxp has launched without problem.
Now, i try to remove SDL2 unstable (mercurial official repository) and install stable packages of SDL2 and SDL2-ttf (2.0.12-1) of the extra repository of Archlinux, mkxp has finally launched without problem ! =D
Just for a little test, i try to make clean && qmake && make -j4 , and now, mkxp compile with stable revision of SDL2 ;-)
Anyway, the issue is solved for ArchLinux and "Manjaro Linux" (it is what is Ubuntu for Debian, but for Archlinux !)
I'm gone on Ubuntu for try to compile it on debian-based system now !
On ubuntu, i have somes errors when i try to compile Mkxp exactly like my first post => http://pastebin.com/7Sk210vi
Aweseome!
Looks like a PhysFS issue again. Did you make sure to use the latest PhysFS from mercurial like you did on Arch?
Yes, the methodology to compile the last version of PhysFS :
hg clone -u release-2.0.3 http://hg.icculus.org/icculus/physfs && cd physfs
export CFLAGS="$CFLAGS -fno-strict-aliasing"
export CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
cmake . -DCMAKEBUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DPHYSFS_BUILD_TEST=OFF -DPHYSFS_BUILD_WX_TEST=OFF
make all docs
sudo checkinstall
sudo dpkg -i physfs_20131013-1_amd64.deb
You can download physfs_20131013-1_amd64.deb on http://vavar60.online.fr/share/physfs_20131013-1_amd64.deb and look inside the package archive.
With all of this, same problem for compile mkxp
What version of sfml do you have installed on Ubuntu?
This : http://ppa.launchpad.net/quentin-henriet/ppa/ubuntu/pool/main/libs/libsfml/
Uhh, those packages look seriously out of date. SFML 2.0 was only released in 2013 I think, so the stable API is probably different in some places compared to the git head one year ago. So yeah, you'll need a stable release of 2.0. I'm not sure exactly if there are up to date packages for Ubuntu, but I found this ppa: http://en.sfml-dev.org/forums/index.php?topic=11338.0
Alternatively, you can compile it from source: https://github.com/LaurentGomila/SFML
Okay, i have try with the PPA and the source code && checkinstall, i have same problem for both =>
mkxp$ qmake
Project ERROR: Package sfml-audio not found
But i did not have this package on the official PPA repository, or when i compile SFML mysefl and install package.
Wait, did you use the PPA or did you compile SFML from source?
I test with source first, and after because i have sfml-audio not found, i try with the PPA, and i have exactly same problem.
Can you post the output of this:
ls /usr/local/lib/pkgconfig | grep sfml => Nothing
I don't have /usr/local/lib64 on Ubuntu.
$ ls /usr/local/lib/pkgconfig
SDL2_image.pc sdl2.pc SDL2_ttf.pc
Ah yes, I just found out SFML doesn't install the pc files by default (wtf were they thinking..). Now, how does one enable that in cmake...
Alright, I finally found out how to do it! Here's how:
Okay, now i can qmake without problem, thanks ! :)
After that, i obtain the physfs issue, but with mercurial repo of physfs and checkinstall, issue is solved, exactly like on Archlinux.
Just after, new problem, subversion version on ubuntu 13.04 is to old to use svn command for Ruby, so i use the command "sudo add-apt-repository ppa:svn/ppa && sudo apt-get update && sudo apt-get upgrade" and problem is solved. :)
But now, i have an other problem...
src/debuglogger.cpp:110:6: error: ‘GLEW_KHR_debug’ was not declared in this scope
src/debuglogger.cpp:111:41: error: ‘glDebugMessageCallback’ was not declared in this scope
make: *** [debuglogger.o] Error 1
http://pastebin.com/WEmXTFTE
There's a github mirror of ruby btw, so you don't have to murk around with svn: https://github.com/ruby/ruby
Looks like an old GLEW, that's why it says in the readme "Assume latest version unless explicitly stated". You can find the newest GLEW version here: http://glew.sourceforge.net/
I understant now, but first, i try to build the last revision of glew :
git clone https://github.com/nigels-com/glew.git glew
cd glew/auto
make
cd ..
make
sudo checkinstall
glew package is generated and installed without problem.
but now i have :
~/mkxp$ qmake
Project ERROR: Package glew not found
if i try to build mkxp => http://pastebin.com/y1VFVkqD
Can you try executing
and then qmake again?
Yes, it work !!!! And make too ! =D
but... When i try to launch mkxp :
~/mkxp$ ./mkxp
./mkxp: error while loading shared libraries: libGLEW.so.1.10: cannot open shared object file: No such file or directory
I think you should read this: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html
(This one is also good: http://www.yolinux.com/TUTORIALS/LibraryArchives-StaticAndDynamic.html , read the Library Path section of it)
Thanks, but it is very difficult for me to read everything, this is my problem, i don't know all vocabulary... Translate every words with dictionnary and learn all of that, it is very long...
But i try to read quickly for understand.
Finally i try :
export LD_LIBRARY_PATH=/usr/lib64/ && ./mkxp
mkxp launch, but I have the same problem we had with Archlinux, SDL 2 compiled from latest revision cause segfault, and Ubuntu don't purpose stable package of SDL 2 in its repository.
I tried searching a ppa for SDL 2, unsuccessfully...
It is very important that you learn this, this is basic knowledge that you will always need on Linux.
I managed to reproduce the issue and am investigating now. Meanwhile you can try using my precompiled SDL2 library.
Yes, i know.
Thanks for your help Ancurio, i'm very excited by your project, and your contribution for the GNU software community ! :)
I you'll find the problem with SDL2 =]
If you need a tester, contact me !
I have found the commit in SDL2 that introduced that crash and opened a bug report: https://bugzilla.libsdl.org/show_bug.cgi?id=2154
For now, I guess I'd just recommend to anyone to use a stable release of SDL.
Do you have any more problems or questions? I appreciate your tests on two distros very much, but this issue thread as grown very big and I'd like to close it. If you have any further problems you can just open another issue.
No, i do not have other questions, we can close this issue now ! :)
The issue in SDL2 has been resolved as of today.
Great ! =D
I'm gone to test it now.
Edit : it work, many thanks !
Hey guys, I tried to follow the command that you guys provided, but there was no luck to build to the program
"Project ERROR: Package physfs not found" always shows after perform qmake
I am using ubuntu and tried to use "hg" and "make install" for reinstall the physfs package
Did you make sure that pkgconfig can find your from source installed libraries? Ie. try this: