At Sun, 26 Jun 2016 07:31:14 -0700 (PDT), Diego Rodriguez wrote: > Il giorno domenica 26 giugno 2016 14:33:12 UTC+2, Matthew Flatt ha scritto: > > Can you say more about the problem with VS 2015? I have used VS 2015, > > and it worked for me, although I haven't used it lately. > > > > Did you run `nmake win32-in-place` in the top-level Git checkout, or > > did you build in some other way? > > > > If you build the part of Racket that's in the "src" directory without > > using the top-level makefile, the build doesn't include packages that > > are in the main distribution --- including the "compile-lib" package > > that provides `raco ctool`. The top-level makefile's `in-place` target > > builds in "src" via `win32-base` and then installs packages. So, my > > guess is that you have the "src" part working and need to `nmake > > win32-in-place`. > > > > At Sun, 26 Jun 2016 05:10:11 -0700 (PDT), Diego Rodriguez wrote: > > > Hi, > > > i have followed the guide on the site to embed racket in a c program. > > > I have noticed the setup bats are not updated for visual studio 2015, > > > so i had hard times to make it work, but in the end i suceeded. > > > Now, i have a problem with raco tools, in particular after i have compiled > > > everything following the README, raco.exe help seems missing ctools and > other > > > commands. > > > The only availables commands are link pkg setup. > > > I have deceived the problem downloading the 6.5 sources from github and > using > > > the raco.exe of the stable release to generate a compatible bytecode, but > > > clearly i would like to know where i'm wrong with 6.5.7 version. > > > > > > Thanks > > > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Racket Users" group. > > > To unsubscribe from this group and stop receiving emails from it, send an > > > email to [email protected]. > > > For more options, visit https://groups.google.com/d/optout. > > Yes, i didn't do nmake, my bad but i didn't read about it in the README.
In case you haven't seen it already, the top-level "README.txt" in the Git checkout suggests "INSTALL.txt", which explains more. > Anyway, i did it but stops with error because seems to be a mismatch version > with gui-lib, here is the output : > Resolving "gui-win32-x86_64" via https://pkgs.racket-lang.org > Using cached14669497991466949799188 for > https://pkg-sources.racket-lang.org/pkgs/721e2f98e314ef994e2ccf7ef123a91fc00c6e > eb/gui-win32-x86_64.zip > raco pkg install: version mismatch for dependency > for package: gui-lib > mismatch packages: > base (have 6.5, need 6.5.0.2) > NMAKE : fatal error U1077: 'racket\racket.EXE' : return code '0x1' > Stop. I think you've installed the "base" package from the package catalog, instead of installing the one that's with the Git checkout. The makefile should have adjusted the build's package configuration to look in the checkout for "base", but probably some package work happened earlier, before you tried `nmake win32-in-place`. It's possible to recover from the current state, but I suggest starting from a clean checkout and just run `nmake win32-in-place` in the top-level checkout directory, which should just work. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

