Re: [racket-users] Compile and Embedding

2016-06-26 Thread Diego Rodriguez
Tried modifying the sources to expose the scheme_compile_for_eval but it's not working. I'm trying now your solution, so: - DLL exposing the functions i need in the scripts - glue.rkt, which expose the FFI of the dll to the other modules - hello.rkt module which will call the glue.rkt functions -

Re: [racket-users] VS 2015 Community and Racket Embedding

2016-06-26 Thread Diego Rodriguez
Yes, got it working checking out the repo and updating the msvcprep.bat before making nmake win32-in-place. I have added this to the bat: set VCVARBAT=C:\Program Files\Microsoft Visual Studio 15.0\vc\vcvarsall.bat if not exist "%VCVARBAT%" set VCVARBAT=C:\Program Files (x86)\Microsoft Visual Stu

Re: [racket-users] VS 2015 Community and Racket Embedding

2016-06-26 Thread Diego Rodriguez
t; 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

[racket-users] Compile and Embedding

2016-06-26 Thread Diego Rodriguez
Hi, i would like to execute a compiled rack script from an embedding racket program. The script should contain references and calls to symbols (functions) dynamically added to the environment from the embedding program. I managed to make it work using scheme_eval_string_all but i would like to av

[racket-users] VS 2015 Community and Racket Embedding

2016-06-26 Thread Diego Rodriguez
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 follo