Re: Problems linking c++/SWI executable for Windows
Kaitain Jones <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAMeycMyT_keEkoX0771nNba997oGDLx11+aMGWRRnOK3MUs15g@mail.gmail.com> |
> Using MSVC 2009 (Express version), I can _now_ link to both the 32 > and 64-bit versions. This was achieved by following the MinGW FAQ > for creating libswipl.lib by making MinGW generate a .def file and > using MSVC lib.exe to create the .lib file from there. > This is now in the GIT repo, so tomorrow's daily build should ship > with .lib files (if we are lucky). Thanks for this, Jan. Finally got up and running with SWI embedded into an MSVC Windows app today. Interestingly, I could ONLY get the 64-bit version working (this is on MSVC 2010). I could build and link with both, but the 32-bit version exploded on the launchpad with an “Application was unable to start correctly (0x000007b)” error. I'm assuming this is from a 32 vs 64 bit mismatch somewhere, i.e. the problem is likely at my end. I'll see if I can sort that one out later. -------------- next part -------------- HTML attachment scrubbed and removed