On Friday, 4 November 2011 at 16:31:30 UTC, Johannes Pfau wrote:
On http://www.digitalmars.com/download/freecompiler.html
there's a link to this file: http://ftp.digitalmars.com/bup.zip
I think that's the implib you want?
I just tried implib with latest sqlite library def (windows
I am on Ubuntu. I try to create a very basic (one empty function
declaration) shared library for testing.
MonoD (version 2.14.5), generates a command line similar to
following:
dmd -debug -gc "myclass.d" "-I/usr/include/dmd"
"-L/IMPLIB:/home/user/Projects/Rou
Let me see what I can do for time. There's the above, it's
also possible to link mixed coff and omf with jwlink
(http://www.japheth.de/JWlink/JWlink.htm).
There's a couple of paths and while win32 isn't leading edge, I
think enhancing it is a worthwhile project for lesser lights
like myself.
You may want to spearhead the effort to get Win32 support of
MSVC into D, if you care enough about it. Rainer has done most
of the work, you'd just have to turn his patches into pull
requests, shepherd them through the review process, and maybe
add some polish:
http://forum.dlang.org/thread/
You may want to spearhead the effort to get Win32 support of
MSVC into D, if you care enough about it. Rainer has done most
of the work, you'd just have to turn his patches into pull
requests, shepherd them through the review process, and maybe
add some polish:
http://forum.dlang.org/threa
On Tuesday, 24 June 2014 at 12:56:28 UTC, Jason King wrote:
I don't know enough about implib to explain it.
But another method that I believe should work is to use linker
definition files.
It'll allow optlink to work.
Just add it to dmd, actually I believe it needs to be passed
I don't know enough about implib to explain it.
But another method that I believe should work is to use linker
definition files.
It'll allow optlink to work.
Just add it to dmd, actually I believe it needs to be passed to
Optlink (so -L it).
Another fix, might be to use 64bit, but
ile. No exported _VarCmp@16.
There were 400-odd lines of exports so I believe lib -l worked.
If I run implib /s oleaut32.lib oleaut32.dll vs. a windows XP
oleaut32.dll I get an oleaut32.lib that includes a _VarCmp (not
_VarCmp@16).
What's the secret sauce to creating an oleaut32.lib that's f
400-odd lines of exports so I believe lib
-l worked.
If I run implib /s oleaut32.lib oleaut32.dll vs. a windows XP
oleaut32.dll I get an oleaut32.lib that includes a _VarCmp (not
_VarCmp@16).
What's the secret sauce to creating an oleaut32.lib that's fully
decorated? Is there a way
Hi,
I use the implib tool (http://ftp.digitalmars.com/bup.zip) to
create a lib file from the opencv dll "opencv_features2d240.dll"
(x86/vc10). For allmost all other dlls the conversion is working.
But for this libary there is following error raised: DLL Exported
name too long (max 450
Johannes Pfau Wrote:
> Jesse Phillips wrote:
> >From what I gather, if you have a DLL to link, you can use implib to
> >build a static library that will do the linking for you. My research
> >suggests that everyone already has it, and may even come with Windows.
> >
Jesse Phillips wrote:
>From what I gather, if you have a DLL to link, you can use implib to
>build a static library that will do the linking for you. My research
>suggests that everyone already has it, and may even come with Windows.
>But I don't seem to have it. Where do you g
>From what I gather, if you have a DLL to link, you can use implib to build a
>static library that will do the linking for you. My research suggests that
>everyone already has it, and may even come with Windows. But I don't seem to
>have it. Where do you get it.
I found
On 4/13/11 3:59 PM, Bernard Helyer wrote:
implib is for working with Windows libraries. Why on earth do you need it
on OS X?
In the examples that comes with GLFW library there are some def files.
And the Makefile uses implib to get the lib files from them. So I
searched for implib.
implib is for working with Windows libraries. Why on earth do you need it
on OS X?
It's for Windows only.
Hi,
can anyone tell me where to find implib. I am using mac OS X, but
bup.zip have just exe files, which are of no use. Is there a place where
I can find implib for mac or unix system?
Thanks for the help
Tine Å ukljan
This solved the problems, thanks - but, when the line "mysql =
mysql_init(null);" produces an access violation.
Try this:
implib /s libmysql.lib libmysql.dll
Then change extern(Windows) to extern(C).
(That's how I usually have it set up)
Thanks, but didn't help to change to "implib /system libmysql.lib
libmysql.dll" - some errors.
Am 15.01.2011 17:46, schrieb nrgyzer:
I just used "implib libmysql.lib libmysql.dll /system" but it produces
the same errors.
In the implib help it says:
"implib [switches] libfile [ dllfile | deffile ]"
I'm not sure but implib could be picky about where the switches are.
Mafi
I just used "implib libmysql.lib libmysql.dll /system" but it produces
the same errors.
Am 15.01.2011 17:07, schrieb %u:
Hey guys,
I'm trying to connect to my mysql-server on windows. I'm using the mysql
binding from http://www.steinmole.de/d/ because as I know the
DDBI project doesn't support D2.
I followed the instructions on the site and first created the lib f
Hey guys,
I'm trying to connect to my mysql-server on windows. I'm using the mysql
binding from http://www.steinmole.de/d/ because as I know the
DDBI project doesn't support D2.
I followed the instructions on the site and first created the lib file with
implib with the fo
Andrej Mitrovic Wrote:
> That's ok, using the DLL with implib works, but crashing is never nice.
>
> I don't think coffimplib is available for download however?
it's in that same ftp directory, though I don't know, whether it's piracy or
not, lol.
That's ok, using the DLL with implib works, but crashing is never nice.
I don't think coffimplib is available for download however?
On 10/18/10, Kagamin wrote:
> Andrej Mitrovic Wrote:
>
>> Using: implib output.lib portaudio.def
>>
>> The usual Windows crash
Andrej Mitrovic Wrote:
> Using: implib output.lib portaudio.def
>
> The usual Windows crash dialog appears.
You should use coffimplib instead and convert .lib import library of your dll.
I don't know where else to post this.
I downloaded implib with the "bup" package, I've found it on this NG
(ftp://digitalmars.com/bup.zip).
Anyway, implib works fine when I need to make an OMF import library out of a
DLL made in e.g. Visual Studio. But it crashes if I s
Andrej Mitrovic wrote:
One other thing. I'm trying to use a tool called objconv, it allows
modification of .lib files, e.g. adding aliases to existing symbols. I was
trying to add aliases to existing symbols and make them have underscores, but
the tool complains that I can't use OMF file forma
Forgive me for my ignorance, I neglected to use the /s switch for IMPLIB:
$ implib /s mydll3.lib mydll.dll
$ dmd test.d mydll3.lib
$ test
hello dll world
However I still get a .lib file with no symbols if I use IMPLIB with a .def
file instead of a .dll file. Is this a bug?
Andrej Mitrovic
r.org/optimize/#objconv
It was already posted on D NG:
http://www.digitalmars.com/d/archives/digitalmars/D/announce/objconv_2.03_released_includes_.OBJ_disassembler_14246.html
Andrej Mitrovic Wrote:
> I'm trying to figure how to use IMPLIB with D DLLs.
I'm trying to figure how to use IMPLIB with D DLLs.
The DLL example from the samples folder in DMD:
dll.d > http://pastebin.com/C9NJtqUV
mydll.d > http://pastebin.com/8idbnge0
test.d > http://pastebin.com/6c953BSJ
mydll.def > http://pastebin.com/4enbfbc7
First I'll sho
32 matches
Mail list logo