Maybe Hypergiant was the wrong egg to use as example, because of all of its dependencies. I installed GLFW and GLEW in Windows (SystemWOW64 directory for 32-bit dlls), and in MinGW (c:\MinGW-32\ming32\bin directory). I did a command in the MinGW command prompt to find out which directories it searches, and the Windows version doesn't have a usr/bin or usr/lib, so I put it there. In any case, Termbox has not dependencies and it too fails with the '(require-library setup-api)' at the end. Unfortunately, I have to work on Windows for my company, and some family members. I have a linux box, Mac and I am currently hacking a USB TV Stick with an ARM processor. I am not tied to Windows, but I have to tell you, CHICKEN has allowed me in one day to create fast, small executeables fairly easy on Windows with a GUI (IUP), so I am hooked! Hypergiant looks exactly what I was looking for per the video I watched of it. I'll keep hacking on it to figure out the dependencies and loccation issues. I am a bit concerned about the Termbox error though. Thanks, and great work!
Rob On 2 October 2015 at 05:40, Alex Charlton <[email protected]> wrote: > Hi Robert, > > As it seems your goal is to get Hypergiant running on Windows, I have to > let you know that you're venturing into uncharted territory. It's not > something I've ever tried before! > > That said, there error that you've shared with us is fairly > straight-forward: > > > ingw32/bin/ld.exe: cannot find -lglfw > > This is the source of the problem which is saying that it's not able to > link to GLFW. This could mean that you don't have GLFW ( > http://www.glfw.org/) installed in the right place (which could also be > the case for other eggs that depend on external libraries) or that the egg > itself is not linking to it correctly. The latter is certainly possible, > since I don't think it's been tested on Windows before. > > If you want more help working through this, just send me an email. If you > find that the egg is doing something wrong, I'm happy to patch it for you. > Of course, if you want to continue conversing with this lovely mailing > list, feel free to do that, too ;-) Maybe someone here has gotten > Hypergiant running on Windows. > > Cheers, > Alex > > On Thu, Oct 1, 2015 at 12:20 PM Robert Herman <[email protected]> wrote: > >> I am running Windows 10, with MinGW-64 32-bit version, since I have the >> Windows binary for CHICKEN-IUP which is 32-bit. Some eggs have installedj >> fine - format, sql-de-lite, Spiffy, and other spiffy eggs, numbers, srfi's, >> gl-math, awful, and awful-server, but others - blas, hypergiant, >> hyperscene, and termbox fail with the same type of error - (require-library >> setup-api). >> I would like to be able to load blas, atlas-lapack, hypergiant, and >> hyperscene for math and game dev. >> I always run chicken-install, csi and csc from the MinGW command window. >> Below is the last half of the log of my command line when trying to install >> the hypergiant egg. I have installed glfw and glew on windows with paths >> set outside of CHICKEN-IUP. Hypergiant has a lot of dependencies, but some >> of the smaller eggs fail in a similar fashion. Any ideas? Thank you. >> >> HTTP/1.1 200 OK >> Date: Thu, 01 Oct 2015 12:43:42 GMT >> Server: Apache/2.2.29 (Unix) DAV/2 SVN/1.8.10 PHP/5.4.32 mod_fastcgi/2.4.6 >> Connection: close >> Transfer-Encoding: chunked >> Content-Type: text/plain >> reading chunks ...... >> reading files ... >> ./BSD-LICENCE >> ./hashtest.c >> ./z3.meta >> ./z3.scm >> ./z3.setup >> ./z3bdtest.c >> ./z3betest.c >> ./z3blib.c >> ./z3blib.h >> ./z3crc32.h >> ./z3ddtest.c >> ./z3detest.c >> ./z3dlib.3 >> ./z3dlib.c >> ./z3dlib.h >> ./z3fdtest.c >> ./z3fetest.c >> ./z3flib.3 >> ./z3flib.c >> ./z3flib.h >> ./z3lib.3 >> ./z3lib.h >> ./z3liblib.h >> z3 located at C:\Users\Robert\AppData\Local\Temp/tempc7f2.14752/z3 >> checking platform for `opengl-glew' ... >> checking dependencies for `opengl-glew' ... >> checking platform for `z3' ... >> checking dependencies for `z3' ... >> checking platform for `hyperscene' ... >> checking dependencies for `hyperscene' ... >> checking platform for `gl-type' ... >> checking dependencies for `gl-type' ... >> missing: freetype, opengl-glew, gl-utils >> retrieving ... >> connecting to host "chicken.kitten-technologies.co.uk", port 80 ... >> requesting "/henrietta.cgi?name=freetype&mode=default" ... >> reading response ... >> HTTP/1.1 200 OK >> Date: Thu, 01 Oct 2015 12:43:44 GMT >> Server: Apache/2.2.29 (Unix) DAV/2 SVN/1.8.10 PHP/5.4.32 mod_fastcgi/2.4.6 >> Connection: close >> Transfer-Encoding: chunked >> Content-Type: text/plain >> reading chunks . >> reading files ... >> ./freetype.meta >> ./freetype.scm >> ./freetype.setup >> freetype located at >> C:\Users\Robert\AppData\Local\Temp/tempc7f2.14752/freetype >> checking platform for `freetype' ... >> checking dependencies for `freetype' ... >> checking platform for `glfw3' ... >> checking dependencies for `glfw3' ... >> install order: >> ("glfw3" >> "freetype" >> "opengl-glew" >> "z3" >> "srfi-99" >> "gl-utils" >> "gl-type" >> "hyperscene" >> "glls" >> "noise" >> "soil" >> "random-mtzig" >> "bitstring" >> "hypergiant") >> installing glfw3:0.6.1 ... >> changing current directory to >> C:\Users\Robert\AppData\Local\Temp/tempc7f2.14752/ >> glfw3 >> "c:\chicken-iup\bin\csi" -bnq -setup-mode -e "(require-library >> setup-api)" -e >> "(import setup-api)" -e "(setup-error-handling)" -e >> "(extension-name-and-version >> '(\"glfw3\" \"0.6.1\"))" "glfw3.setup" >> "c:\chicken-iup\bin\csc" -feature compiling-extension -setup-mode >> -O2 -d0 - >> lglfw -lopengl32 -lgdi32 -J -s glfw3-bindings.scm >> >> C:/minGW-32/mingw32/bin/../lib/gcc/i686-w64-mingw32/5.2.0/../../../../i686-w64-m >> ingw32/bin/ld.exe: cannot find -lglfw >> collect2.exe: error: ld returned 1 exit status >> >> Error: shell command terminated with non-zero exit status 1: ""gcc" >> "glfw3-bindi >> ngs.o" -o "glfw3-bindings.so" -Wl,--enable-auto-import -shared >> -Lc:\chicken-iup\ >> lib -lglfw -lopengl32 -lgdi32 -L"c:\chicken-iup/lib/" -lchicken -lm >> -lws2_32" >> >> Error: shell command failed with nonzero exit status 1: >> >> "c:\chicken-iup\bin\csc" -feature compiling-extension -setup-mode >> -O2 -d0 - >> lglfw -lopengl32 -lgdi32 -J -s glfw3-bindings.scm >> >> >> Error: shell command terminated with nonzero exit code >> 70 >> "\"c:\\chicken-iup\\bin\\csi\" -bnq -setup-mode -e \"(require-library >> setup-api) >> \"... >> >> C:\> >> _______________________________________________ >> Chicken-users mailing list >> [email protected] >> https://lists.nongnu.org/mailman/listinfo/chicken-users >> >
_______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
