.
D 2014-02-06T05:15:12.824
L this\spage
P 1cb49756571f02deba86f572a326f29ddef43500
U matt
W 3141
<h1>Attempt to Make New Version of Chicken-Iup.</h1>
* Install latest Mingw [DONE]
* Build chicken-4.8.0.5 [DONE] <verbatim>
# Start mingw shell and run the following in the chicken-4.8.0.5 directory
make PLATFORM=mingw-msys PREFIX=c:/chicken
</verbatim>
Trying ffcall from: http://www.kiatoa.com/cgi-bin/fossils/ffcall, this is v1.10 + a patch for executable protection on Windows.
Read about executable protection here: [http://www.deadbeef.com/ffcall_and_windows_xp_data_execution_pre/]
So far I've had to set:
CHICKEN_PREFIX=c:\chicken
and add c:\chicken\bin and c:\MinGW\bin to PATH
Put all of gtk in /c/chicken/ from gtk.org. Note: scratch area is /c/MinGW/msys/home/chicken-iup.
NOTE:: Installing all of gtk did not make this error go away (although then cairo installed seamlessly)
NOTE: Add path mod from http://legroom.net/software/modpath
=======================================
canvas-draw error message
<verbatim>
"c:\chicken\bin\csi" -bnq -setup-mode -e "(require-library setup-api)" -e "(im
port setup-api)" -e "(setup-error-handling)" -e "(extension-name-and-version '(\
"canvas-draw\" \"1.1.1\"))" -e "(keep-intermediates #t)" "C:\DOCUME~1\ADMINI~1\L
OCALS~1\Temp\temp17e0.1200\canvas-draw\canvas-draw.setup"
Deleted file - C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tempbfd2.1464.c
Deleted file - C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\tempc4de.1464.c
""c:\chicken\bin\csc"" -feature compiling-extension -setup-mode -k -s -O2 -d
1 canvas-draw.scm -j canvas-draw -j canvas-draw-base -j canvas-draw-primitives -
j canvas-draw-play -j canvas-draw-picture -j canvas-draw-client -j canvas-draw-p
s -j canvas-draw-svg -j canvas-draw-metafile -j canvas-draw-cgm -j canvas-draw-d
gn -j canvas-draw-dxf -j canvas-draw-emf -j canvas-draw-wmf -j canvas-draw-iup -
j canvas-draw-gl -j canvas-draw-native -j canvas-draw-server -j canvas-draw-clip
board -j canvas-draw-printer -j canvas-draw-pdf -lcd -liupcd -lcdgl -lcdpdf
canvas-draw.o:canvas-draw.c:(.text+0x18f94): undefined reference to `cdInitConte
xtPlus'
collect2.exe: error: ld returned 1 exit status
Error: shell command terminated with non-zero exit status 1: ""gcc" "canvas-draw
.o" -o "canvas-draw.so" -Wl,--enable-auto-import -shared -LC:/chicken -lcd -liup
cd -lcdgl -lcdpdf -L"c:/chicken/lib/" -lchicken -lm -lws2_32"
Error: shell command failed with nonzero exit status 1:
""c:\chicken\bin\csc"" -feature compiling-extension -setup-mode -k -s -O2 -d
1 canvas-draw.scm -j canvas-draw -j canvas-draw-base -j canvas-draw-primitives -
j canvas-draw-play -j canvas-draw-picture -j canvas-draw-client -j canvas-draw-p
s -j canvas-draw-svg -j canvas-draw-metafile -j canvas-draw-cgm -j canvas-draw-d
gn -j canvas-draw-dxf -j canvas-draw-emf -j canvas-draw-wmf -j canvas-draw-iup -
j canvas-draw-gl -j canvas-draw-native -j canvas-draw-server -j canvas-draw-clip
board -j canvas-draw-printer -j canvas-draw-pdf -lcd -liupcd -lcdgl -lcdpdf
Error: shell command terminated with nonzero exit code
70
"\"c:\\chicken\\bin\\csi\" -bnq -setup-mode -e \"(require-library setup-api)\" -
...
</verbatim>
Z 6827b3e4542f7b0f127627e9d3ab67d6