Forum > GTK

Compile GTK2 app for x86_64-Win64 failed..

<< < (3/3)

Leledumbo:

--- Quote ---Sama2 orang indonesia juga ..   pake english ...
--- End quote ---
Biar ntar kalo ada yang senasib (moga2 dan diharapkan) kagak nanya2 lagi

--- Quote ---Of course, I have x86_64 units in "C:\Laz-RAD\RAD-A98\fpc\2.6.1\units\x86_64" but I didn't see "gtk2" folder.. sad.. sad..
I saw fpc.cfg covering that folder..
--- End quote ---
Try searching the .o and .ppu, it might not be under gtk2. Finally, if nothing found, build the package yourself from the given source.

Takeda:

--- Quote from: Leledumbo on February 24, 2012, 04:08:29 pm ---
--- Quote ---Sama2 orang indonesia juga ..   pake english ..
Biar ntar kalo ada yang senasib (moga2 dan diharapkan) kagak nanya2 lagi
--- End quote ---

--- End quote ---

Yes, I'm not pure blood.. Aku keturunan.. :)


--- Quote from: Leledumbo on February 24, 2012, 04:08:29 pm ---
--- Quote ---Of course, I have x86_64 units in "C:\Laz-RAD\RAD-A98\fpc\2.6.1\units\x86_64" but I didn't see "gtk2" folder.. sad.. sad..
I saw fpc.cfg covering that folder..
--- End quote ---
Try searching the .o and .ppu, it might not be under gtk2. Finally, if nothing found, build the package yourself from the given source.

--- End quote ---

Even I already build FPC from source 100%, So I have ppc386, croos-compiler for x86_64-win64, cross-compiler for arm-wince.. So, I have all units for i386-win32, x86_64-win64, and arm-wince..

(NOTE : I already check "default" FPC which build by dev, on "..\units\x86_64-win64\" not contain "gtk2" folder like on "i386-win32'.. :()

Leledumbo:
I mean: cd to source/packages/gtk2, execute make from there, followed by

--- Quote ---make -Px86_64 -Twin64 crossinstall INSTALL_PREFIX=C:\Laz-RAD\RAD-A98\fpc\2.6.1
--- End quote ---

Takeda:

--- Quote from: Leledumbo on February 25, 2012, 02:21:14 am ---I mean: cd to source/packages/gtk2, execute make from there, followed by

--- Quote ---make -Px86_64 -Twin64 crossinstall INSTALL_PREFIX=C:\Laz-RAD\RAD-A98\fpc\2.6.1
--- End quote ---

--- End quote ---

Failed!

Even I already use :


--- Code: ---cd d:\freepascal261

set myroot=d:\freepascal261
set myFPC=d:\freepascal271\fpc\2.6.1
set mybinutils=d:\freepascal261\binutils
set PATH=d:\freepascal261\binutils\i386-win32;d:\freepascal261\fpc\2.6.1\bin\i386-win32;

cd D:\freepascal261\packages\gtk2\
 
make OS_TARGET=win64 CPU_TARGET=x86_64

--- End code ---

and the result of compilation :


--- Quote ---.............
D:\freepascal261\packages\gtk2>
D:\freepascal261\packages\gtk2>make OS_TARGET=win64 CPU_TARGET=x86_64
d:/freepascal261/binutils/i386-win32/ppcrossx64.exe -Twin64 -Px86_64 -XPx86_64-w
in64- -Xr -Fusrc -Fusrc/glib -Fusrc/atk -Fusrc/pango -Fusrc/pangocairo -Fusrc/gt
k+/gdk-pixbuf -Fusrc/gtk+/gdk -Fusrc/gtk+/gtk -Fusrc/libglade -Fusrc/gtkglext -F
usrc/gtkext -Fusrc/ -Fu../../rtl/units/x86_64-win64 -Fu../../packages/pasjpeg/un
its/x86_64-win64 -Fu../../packages/hash/units/x86_64-win64 -Fu../../packages/pas
zlib/units/x86_64-win64 -Fu../../packages/fcl-base/units/x86_64-win64 -Fu../../p
ackages/fcl-image/units/x86_64-win64 -Fu../../packages/cairo  -FE. -FUunits/x86_
64-win64 -dx86_64  src/buildgtk2.pp
Fatal: Can't find unit cairo used by gdk2
Fatal: Compilation aborted
make: *** [src/buildgtk2.ppu] Error 1
.....

--- End quote ---

NOTE :
- FPC 2.7.1 has GTK2 folder on "...\Units\x86_64-win64\", and I was successfully to compile GTK2 app for x86_64-win64..
- Both PFC 2.6.0 and FPC 2.6.1 didn't have GTK2 folder on "...\Units\x86_64-win64\"..

MIGHT this FPC issue.. :(

Leledumbo:

--- Quote ---NOTE :
- FPC 2.7.1 has GTK2 folder on "...\Units\x86_64-win64\", and I was successfully to compile GTK2 app for x86_64-win64..
- Both PFC 2.6.0 and FPC 2.6.1 didn't have GTK2 folder on "...\Units\x86_64-win64\"..

MIGHT this FPC issue..
--- End quote ---
Maybe... please try FPC only installer, if that one comes with GTK2 folder that means the problem is in lazarus installer.

Navigation

[0] Message Index

[*] Previous page

Go to full version