Artifact 7305f1d9594a74f89a21a1f570a3f1d30533401d:

Wiki page [this page] by matt on 2014-02-06 05:07:09.
D 2014-02-06T05:07:09.549
L this\spage
P 4700f2d70cb6ce9f283b39d8b42a22728424e0b4
U matt
W 2969
<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

=======================================

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 f3cb8a61a5226117b98351b07884bcb7