[racket-dev] advice on linking against racket in windows
On Oct 8, 2011, at 10:39 AM, Matthew Flatt wrote:
> At Sat, 8 Oct 2011 10:28:58 -0700, John Clements wrote:
>> I'm building cross-platform binaries, and one of my platforms is Windows.
>>
>> Moreover, I'm calling mzrt_sema primitives from my library, but those are the
>> only Racket functions I'm calling.
>
> The main problem is that the mzrt_ functions are not currently exported
> from the Racket DLL. We can change that for future versions, but
> they're completely inaccessible from the current DLLs.
>
> (On many platforms, all non-`static' functions are exported, so mzrt_
> functions are exported anyway. But it doesn't work that way for
> Windows.)
... snip ...
>> 2) Find some racket DLL or .o file and the right scheme.h, and add them to my
>> Visual Studio 2010 project.
>
> The right files are in the "include" and "lib/msvc" directories of your
> Racket installation.
I'm slightly confused... your first two paragraphs are saying that number 2 won't currently work, so this is hypothetical, right?
Thanks for your help!
John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4624 bytes
Desc: not available
URL: <http://lists.racket-lang.org/dev/archive/attachments/20111008/8b30dce6/attachment.p7s>