Overview

Artifact ID: 1cb49756571f02deba86f572a326f29ddef43500
Page Name:this page
Date: 2014-02-06 05:12:16
Original User: matt
Parent: 7305f1d9594a74f89a21a1f570a3f1d30533401d (diff)
Next 74f5635add9a6ed340b5964c33fff6a136ef59d0
Content

Attempt to Make New Version of Chicken-Iup.

  • Install latest Mingw DONE
  • Build chicken-4.8.0.5 DONE
    # Start mingw shell and run the following in the chicken-4.8.0.5 directory
    make PLATFORM=mingw-msys PREFIX=c:/chicken
    

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)

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

canvas-draw error message

  "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)\" -
...