At Mon, 21 Sep 2015 01:04:15 +0300, Dmitry Pavlov wrote:
> Matthew,
> 
> On 09/21/2015 12:38 AM, Matthew Flatt wrote:
> > At Sun, 20 Sep 2015 23:53:42 +0300, Dmitry Pavlov wrote:
> >> On Windows, though, I ran into a problem when linking my app
> >> with pre-built libracket3m_9yy8mp.lib :
> >>
> >> error LNK2001: unresolved external symbol __imp_scheme_get_mz_setjmp
> >>
> >> That is the only unresolved symbol. All the others were gone after
> >> I added libracket3m_9yy8mp.lib to the project.
> >> Do you have an idea how I can fix that one?
> >
> > I think this is a VC vs. MinGW problem. I'll have to think about this
> > problem more, because we want those builds to be the same.
> 
> You probably figured that out, but to be sure: I got the error on
> the Utah snapshot, and I am building the app with Visual Studio.
> The version of VS is 2013.

That makes sense. I noticed that it was actually a VS 2008/2010 vs.
everything else issue. It should be easy to fix.

> Also, I want to add that it was a 64-bit Racket and 64-bit C app.
> I just tried the 32-bit Utah snapshot and 32-bit C app -- build OK,
> but the app crashed right on scheme_main_setup with zero pointer
> access. It did not even enter my "run" function.

My initial guess is that it's related to thread-local storage and
missing instructions in "Inside". I'll look into it.

> > Meanwhile, if you use a Windows snapshot from Northwestern, does it
> > solve the problem?
> >
> >    http://plt.eecs.northwestern.edu/snapshots/
> 
> Err, just installed 32-bit Northwestern snapshot and I see no
> libracket3m*.lib, only .dll without .exp, so not sure how to link that.

Ok, another issue to resolve.

-- 
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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to