Artifact 2c2e983e3fe0eb943b895a2d8290aedc629b3070:

Wiki page [chicken-iup-build] by jmoon on 2017-09-21 05:17:37.
0000: 44 20 32 30 31 37 2d 30 39 2d 32 31 54 30 35 3a  D 2017-09-21T05:
0010: 31 37 3a 33 37 2e 37 33 37 0a 4c 20 63 68 69 63  17:37.737.L chic
0020: 6b 65 6e 2d 69 75 70 2d 62 75 69 6c 64 0a 50 20  ken-iup-build.P 
0030: 36 38 34 33 65 38 61 63 39 64 62 64 61 39 38 35  6843e8ac9dbda985
0040: 38 33 30 39 35 31 30 65 30 61 63 39 32 61 31 33  8309510e0ac92a13
0050: 33 36 65 39 30 33 37 37 0a 55 20 6a 6d 6f 6f 6e  36e90377.U jmoon
0060: 0a 57 20 31 39 32 30 0a 32 30 31 37 20 6e 6f 74  .W 1920.2017 not
0070: 65 73 20 6f 6e 20 62 75 69 6c 64 69 6e 67 20 69  es on building i
0080: 6e 73 74 61 6c 6c 65 72 20 6f 6e 20 6d 69 6e 67  nstaller on ming
0090: 77 2e 20 0d 0a 42 75 69 6c 64 20 77 61 73 20 74  w. ..Build was t
00a0: 65 73 74 65 64 20 6f 6e 20 57 69 6e 64 6f 77 73  ested on Windows
00b0: 20 37 20 56 4d 20 61 6e 64 20 57 69 6e 64 6f 77   7 VM and Window
00c0: 73 20 31 30 20 70 68 79 73 69 63 61 6c 20 69 6e  s 10 physical in
00d0: 73 74 61 6c 6c 61 74 69 6f 6e 2e 0d 0a 0d 0a 20  stallation..... 
00e0: 2a 20 49 6e 73 74 61 6c 6c 20 4f 53 20 6f 66 20  * Install OS of 
00f0: 63 68 6f 69 63 65 20 28 49 74 20 61 70 70 65 61  choice (It appea
0100: 72 73 20 74 68 61 74 20 57 69 6e 64 6f 77 73 20  rs that Windows 
0110: 58 50 20 69 73 20 6c 69 6b 65 6c 79 20 6e 6f 20  XP is likely no 
0120: 6c 6f 6e 67 65 72 20 61 6e 20 6f 70 74 69 6f 6e  longer an option
0130: 20 64 75 65 20 74 6f 20 6d 69 6e 67 77 20 6e 6f   due to mingw no
0140: 74 20 62 65 69 6e 67 20 61 62 6c 65 20 74 6f 20  t being able to 
0150: 64 6f 77 6e 6c 6f 61 64 20 70 61 63 6b 61 67 65  download package
0160: 73 20 61 6e 79 6d 6f 72 65 29 0d 0a 0d 0a 20 2a  s anymore).... *
0170: 20 49 6e 73 74 61 6c 6c 20 4d 69 6e 67 77 20 28   Install Mingw (
0180: 6d 69 6e 67 77 2d 64 65 76 65 6c 6f 70 65 72 2d  mingw-developer-
0190: 74 6f 6f 6c 6b 69 74 20 6d 69 6e 67 77 33 32 2d  toolkit mingw32-
01a0: 67 63 63 0d 0a 20 20 6d 73 79 73 2d 62 61 73 68  gcc..  msys-bash
01b0: 29 0d 0a 0d 0a 20 2a 20 49 6e 73 74 61 6c 6c 20  ).... * Install 
01c0: 49 6e 6e 6f 20 53 65 74 75 70 0d 0a 0d 0a 20 2a  Inno Setup.... *
01d0: 20 44 6f 77 6e 6c 6f 61 64 20 2f 20 63 6c 6f 6e   Download / clon
01e0: 65 20 63 68 69 63 6b 65 6e 2d 69 75 70 20 66 6f  e chicken-iup fo
01f0: 73 73 69 6c 0d 0a 0d 0a 20 2a 20 47 65 74 20 69  ssil.... * Get i
0200: 6e 74 6f 20 22 6d 73 79 73 22 20 28 63 3a 2f 4d  nto "msys" (c:/M
0210: 69 6e 47 57 2f 6d 73 79 73 2f 31 2e 30 2f 6d 73  inGW/msys/1.0/ms
0220: 79 73 2c 20 66 6f 72 20 65 78 61 6d 70 6c 65 29  ys, for example)
0230: 0d 0a 0d 0a 20 2a 20 41 64 64 20 65 6e 74 72 79  .... * Add entry
0240: 20 69 6e 74 6f 20 2f 65 74 63 2f 66 73 74 61 62   into /etc/fstab
0250: 2c 20 6d 69 6e 65 20 6c 6f 6f 6b 65 64 20 6c 69  , mine looked li
0260: 6b 65 20 66 6f 6c 6c 6f 77 73 3a 0d 0a 0d 0a 3c  ke follows:....<
0270: 70 72 65 3e 0d 0a 23 20 2f 65 74 63 2f 66 73 74  pre>..# /etc/fst
0280: 61 62 20 2d 2d 20 6d 6f 75 6e 74 20 74 61 62 6c  ab -- mount tabl
0290: 65 20 63 6f 6e 66 69 67 75 72 61 74 69 6f 6e 20  e configuration 
02a0: 66 6f 72 20 4d 53 59 53 2e 0d 0a 23 20 50 6c 65  for MSYS...# Ple
02b0: 61 73 65 20 72 65 66 65 72 20 74 6f 20 2f 65 74  ase refer to /et
02c0: 63 2f 66 73 74 61 62 2e 73 61 6d 70 6c 65 20 66  c/fstab.sample f
02d0: 6f 72 20 65 78 70 6c 61 6e 61 74 6f 72 79 20 61  or explanatory a
02e0: 6e 6e 6f 74 61 74 69 6f 6e 2e 0d 0a 0d 0a 23 20  nnotation.....# 
02f0: 4d 53 59 53 2d 50 6f 72 74 61 62 6c 65 20 6e 65  MSYS-Portable ne
0300: 65 64 73 20 74 68 69 73 20 22 6d 61 67 69 63 22  eds this "magic"
0310: 20 63 6f 6d 6d 65 6e 74 3a 0d 0a 23 20 4d 53 59   comment:..# MSY
0320: 53 52 4f 4f 54 3d 43 3a 2f 4d 69 6e 47 57 2f 6d  SROOT=C:/MinGW/m
0330: 73 79 73 2f 31 2e 30 0d 0a 0d 0a 23 20 57 69 6e  sys/1.0....# Win
0340: 33 32 5f 50 61 74 68 09 09 09 09 4d 6f 75 6e 74  32_Path....Mount
0350: 5f 50 6f 69 6e 74 0d 0a 23 2d 2d 2d 2d 2d 2d 2d  _Point..#-------
0360: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d  ----------------
0370: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 09 2d  --------------.-
0380: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 0d 0a 43 3a 2f 4d  ----------..C:/M
0390: 69 6e 47 57 09 09 09 09 2f 6d 69 6e 67 77 0d 0a  inGW..../mingw..
03a0: 43 3a 2f 63 68 69 63 6b 65 6e 2d 69 75 70 09 09  C:/chicken-iup..
03b0: 09 2f 63 68 69 63 6b 65 6e 2d 69 75 70 0d 0a 43  ./chicken-iup..C
03c0: 3a 2f 55 73 65 72 73 2f 49 45 55 73 65 72 2f 44  :/Users/IEUser/D
03d0: 6f 77 6e 6c 6f 61 64 73 2f 66 66 63 61 6c 6c 20  ownloads/ffcall 
03e0: 09 2f 66 66 63 61 6c 6c 0d 0a 43 3a 2f 55 73 65  ./ffcall..C:/Use
03f0: 72 73 2f 49 45 55 73 65 72 2f 44 6f 77 6e 6c 6f  rs/IEUser/Downlo
0400: 61 64 73 2f 63 68 69 63 6b 65 6e 2d 69 75 70 20  ads/chicken-iup 
0410: 09 2f 63 69 75 70 0d 0a 3c 2f 70 72 65 3e 0d 0a  ./ciup..</pre>..
0420: 0d 0a 2a 20 49 6e 20 6d 73 79 73 20 73 68 65 6c  ..* In msys shel
0430: 6c 2c 20 72 75 6e 20 6d 61 6b 65 0d 0a 0d 0a 2a  l, run make....*
0440: 20 41 73 73 75 6d 69 6e 67 20 62 75 69 6c 64 20   Assuming build 
0450: 72 61 6e 20 74 68 72 6f 75 67 68 20 73 75 63 63  ran through succ
0460: 65 73 73 66 75 6c 6c 79 2c 20 6f 70 65 6e 20 63  essfully, open c
0470: 68 69 63 6b 65 6e 2d 69 75 70 2e 69 73 73 20 66  hicken-iup.iss f
0480: 69 6c 65 20 69 6e 20 49 6e 6e 6f 20 53 65 74 75  ile in Inno Setu
0490: 70 2e 20 20 43 6c 69 63 6b 20 22 52 75 6e 22 2e  p.  Click "Run".
04a0: 20 20 54 68 69 73 20 77 69 6c 6c 20 63 72 65 61    This will crea
04b0: 74 65 20 74 68 65 20 69 6e 73 74 61 6c 6c 65 72  te the installer
04c0: 2e 20 20 0d 0a 0d 0a 2a 20 4e 6f 74 65 73 3a 20  .  ....* Notes: 
04d0: 52 65 6d 65 6d 62 65 72 20 74 68 61 74 20 57 69  Remember that Wi
04e0: 6e 64 6f 77 73 20 75 73 65 73 20 69 74 27 73 20  ndows uses it's 
04f0: 22 50 41 54 48 22 20 76 61 72 69 61 62 6c 65 20  "PATH" variable 
0500: 74 6f 20 6c 6f 61 64 20 6c 69 62 72 61 72 69 65  to load librarie
0510: 73 2e 20 20 53 6f 20 63 68 69 63 6b 65 6e 2d 69  s.  So chicken-i
0520: 75 70 2f 62 69 6e 20 61 6e 64 20 63 68 69 63 6b  up/bin and chick
0530: 65 6e 2d 69 75 70 2f 6c 69 62 20 6d 75 73 74 20  en-iup/lib must 
0540: 62 65 20 69 6e 20 74 68 65 20 70 61 74 68 2e 20  be in the path. 
0550: 20 54 68 65 20 69 6e 73 74 61 6c 6c 65 72 20 64   The installer d
0560: 6f 65 73 20 74 68 69 73 2c 20 62 75 74 20 69 66  oes this, but if
0570: 20 79 6f 75 20 74 72 79 20 74 6f 20 74 65 73 74   you try to test
0580: 20 62 65 66 6f 72 65 20 63 72 65 61 74 69 6e 67   before creating
0590: 20 74 68 65 20 69 6e 73 74 61 6c 6c 65 72 2c 20   the installer, 
05a0: 73 6f 6d 65 20 6f 66 20 74 68 65 20 6c 69 62 72  some of the libr
05b0: 61 72 69 65 73 20 77 69 6c 6c 20 6e 6f 74 20 77  aries will not w
05c0: 6f 72 6b 2e 20 20 59 6f 75 20 63 61 6e 20 65 69  ork.  You can ei
05d0: 74 68 65 72 20 73 65 74 20 74 68 65 6d 20 6d 61  ther set them ma
05e0: 6e 75 61 6c 6c 79 2c 20 6f 72 20 72 75 6e 20 74  nually, or run t
05f0: 68 65 20 69 6e 73 74 61 6c 6c 65 72 20 74 6f 20  he installer to 
0600: 74 65 73 74 20 69 74 20 6f 75 74 2e 20 20 41 6c  test it out.  Al
0610: 73 6f 2c 20 74 68 65 20 69 75 70 20 65 67 67 20  so, the iup egg 
0620: 77 61 73 20 75 6e 61 62 6c 65 20 74 6f 20 62 65  was unable to be
0630: 20 6f 6e 20 74 68 65 20 6c 61 74 65 73 74 20 76   on the latest v
0640: 65 72 73 69 6f 6e 2e 20 20 49 27 6d 20 6e 6f 74  ersion.  I'm not
0650: 20 73 75 72 65 20 77 68 61 74 20 65 78 61 63 74   sure what exact
0660: 6c 79 20 63 68 61 6e 67 65 64 2c 20 62 75 74 20  ly changed, but 
0670: 74 68 65 20 6c 61 74 65 73 74 20 76 65 72 73 69  the latest versi
0680: 6f 6e 20 6f 66 20 74 68 65 20 69 75 70 20 65 67  on of the iup eg
0690: 67 20 77 61 73 20 74 72 69 63 6b 79 2e 20 20 49  g was tricky.  I
06a0: 20 74 68 69 6e 6b 20 69 74 20 68 61 73 20 74 6f   think it has to
06b0: 20 64 6f 20 77 69 74 68 20 73 6f 6d 65 20 63 6f   do with some co
06c0: 64 65 20 74 68 61 74 20 77 61 73 20 61 64 64 65  de that was adde
06d0: 64 20 66 6f 72 20 61 64 64 69 6e 67 20 69 6d 61  d for adding ima
06e0: 67 65 73 20 66 72 6f 6d 20 62 69 6e 61 72 79 20  ges from binary 
06f0: 66 6f 72 6d 61 74 73 2e 20 20 54 68 69 73 20 6d  formats.  This m
0700: 61 79 20 62 65 20 61 62 6c 65 20 74 6f 20 62 65  ay be able to be
0710: 20 66 69 78 65 64 20 77 69 74 68 20 73 6f 6d 65   fixed with some
0720: 20 77 6f 72 6b 2c 20 62 75 74 20 49 20 64 69 64   work, but I did
0730: 6e 27 74 20 67 65 74 20 69 74 20 77 6f 72 6b 69  n't get it worki
0740: 6e 67 2e 0d 0a 0d 0a 20 2a 20 52 75 6e 20 60 63  ng..... * Run `c
0750: 73 69 20 2d 52 20 69 75 70 20 2d 65 20 27 28 6c  si -R iup -e '(l
0760: 65 74 20 28 5b 64 6c 67 20 28 64 69 61 6c 6f 67  et ([dlg (dialog
0770: 20 23 3a 74 69 74 6c 65 20 22 54 65 73 74 22 20   #:title "Test" 
0780: 28 62 75 74 74 6f 6e 20 22 50 75 73 68 0d 0a 20  (button "Push.. 
0790: 20 6d 65 21 22 20 23 3a 61 63 74 69 6f 6e 20 70   me!" #:action p
07a0: 72 69 6e 74 29 29 5d 29 20 28 73 68 6f 77 20 64  rint))]) (show d
07b0: 6c 67 20 23 3a 6d 6f 64 61 6c 3f 20 23 74 29 29  lg #:modal? #t))
07c0: 27 60 20 74 6f 20 76 65 72 69 66 79 20 74 68 65  '` to verify the
07d0: 0d 0a 20 20 69 6e 73 74 61 6c 6c 61 74 69 6f 6e  ..  installation
07e0: 20 77 6f 72 6b 73 0d 0a 0a 5a 20 33 35 65 66 36   works...Z 35ef6
07f0: 31 31 63 61 63 65 32 31 30 64 64 62 65 34 35 38  11cace210ddbe458
0800: 63 66 37 37 62 30 34 33 34 66 66 0a              cf77b0434ff.