[scilab-Users] Link error 236
Mike Page
Mike at Page-One.Waitrose.com
Wed May 11 12:23:26 CEST 2011
Hi again,
That doesn't seem to work for me. dumpbin produces the following output:
Microsoft (R) COFF/PE Dumper Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file libfftw3-3.dll
File Type: DLL
Summary
66000 .data
52000 .rdata
35000 .reloc
1000 .rsrc
806000 .text
No symbol information seems to be produced for Scilab's version. If I do
the same on my version of the DLL file it does work. I guess this is
because my dumpbin program is part of Visual C++ Express 10, which is not
the same as the version used to make the original DLL.
Regards,
Mike.
-----Original Message-----
From: jasper van baten [mailto:jasper at amsterchem.com]
Sent: 11 May 2011 10:56
To: users at lists.scilab.org; users at lists.scilab.org
Subject: RE: [scilab-Users] Link error 236
Hello Mike,
>Yes, I agree. Scilab's DLL is the one supplied in the distribution, so it
>would have been built in a different environment I guess. As far as I can
>see, the LIB file is not included in the Scilab distribution, just the DLL.
>Is that right? If so, I can't build my C code against the Scilab version
of
>the library. I guess I could substitute my DLL for the one in the Scilab
>distribution instead? But that sounds even harder...
You can make the lib from the DLL supplied with Scilab:
1) use dumpbin to get the exported symbols (dumpbin /symbols libfftw3-3.dll)
2) make a def file out of those (first line EXPORTS, each following
line an exported symbol name)
3) use the lib utility to generate the import lib (lib
/def:libfftw3-3.def /out:libfftw3-3.lib /machine:x86)
Hope that helps,
Best wishes,
Jasper.
No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 9.0.900 / Virus Database: 271.1.1/3628 - Release Date: 05/10/11
07:35:00
More information about the users
mailing list