[FIXED] Error compiling debian 64bit

Errors, malfunctions, website typos.
Post Reply
ivan
F1 - Bilberry
Posts: 1
Joined: Wed Apr 18, 2012 11:26 pm

[FIXED] Error compiling debian 64bit

Post by ivan » Thu Apr 19, 2012 2:14 pm

Hi,
I'm trying to compile Giada 0.4.7 on a Mint LMDE 64bit (debian testing based).
.configure complete ok, but when I compile I receive an error:

Here my output, Thanks!

Ivan

--------------------------------------------------
Making all in src
make[1]: Entering directory `/home/ivan/src/giada_0.4.7/src'
g++ -DPACKAGE_NAME="giada" -DPACKAGE_TARNAME="giada" -DPACKAGE_VERSION="0.4" -DPACKAGE_STRING="giada 0.4" -DPACKAGE_BUGREPORT="development@monocasual.com" -DPACKAGE_URL="" -DPACKAGE="giada" -DVERSION="0.4" -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE__BOOL=1 -DHAVE_STDBOOL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_MKDIR=1 -DHAVE_STRSTR=1 -I. -Wall -pedantic -Werror -g -O2 -MT gg_keyboard.o -MD -MP -MF .deps/gg_keyboard.Tpo -c -o gg_keyboard.o gg_keyboard.cpp
gg_keyboard.cpp: In constructor 'Keyboard::Keyboard(int, int, int, int, const char*)':
gg_keyboard.cpp:69:37: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
gg_keyboard.cpp:71:55: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
gg_keyboard.cpp:73:42: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
gg_keyboard.cpp: In member function 'void Keyboard::addActionButton(int, bool)':
gg_keyboard.cpp:309:50: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
cc1plus: all warnings being treated as errors
make[1]: *** [gg_keyboard.o] Error 1
make[1]: Leaving directory `/home/ivan/src/giada_0.4.7/src'
make: *** [all-recursive] Error 1

User avatar
FFT
F14 - Syrian Rue
Posts: 530
Joined: Thu Mar 08, 2012 6:51 pm

Re: Error compiling debian 64bit

Post by FFT » Fri Apr 20, 2012 10:41 pm

ivan wrote:Hi,
I'm trying to compile Giada 0.4.7 on a Mint LMDE 64bit (debian testing based).
.configure complete ok, but when I compile I receive an error:

Here my output, Thanks!

Ivan
Hi ivan, thanks for reporting. This bug should have been fixed in 0.4.7 ( :evil: )
I will post a patch to test a new solution.

User avatar
FFT
F14 - Syrian Rue
Posts: 530
Joined: Thu Mar 08, 2012 6:51 pm

Re: Error compiling debian 64bit

Post by FFT » Tue May 01, 2012 4:58 pm

Here's a patch provided by a generous friend from Arch Linux. It should fix any remaining issue on version 0.4.8. Testers are welcome!
giada-x86_64.patch.tar.gz
(517 Bytes) Downloaded 825 times

User avatar
Duchamp
Site Admin
Posts: 40
Joined: Thu Mar 08, 2012 6:42 pm

Re: Error compiling debian 64bit

Post by Duchamp » Sun May 13, 2012 3:28 pm

(hopefully) fixed in 0.4.9

Post Reply