Re: Where do you get implib

2017-01-29 Thread Nestor via Digitalmars-d-learn
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

Creating shared library on Monodevelop with MonoD, Implib problem

2016-11-18 Thread tcak via Digitalmars-d-learn
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

Re: implib and system dlls, oh my

2014-07-07 Thread Jason King via Digitalmars-d-learn
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.

Re: implib and system dlls, oh my

2014-07-07 Thread Jason King via Digitalmars-d-learn
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/

Re: implib and system dlls, oh my

2014-07-06 Thread Jason King via Digitalmars-d-learn
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

Re: implib and system dlls, oh my

2014-07-05 Thread Joakim via Digitalmars-d-learn
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

Re: implib and system dlls, oh my

2014-06-24 Thread Jason King via Digitalmars-d-learn
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

Re: implib and system dlls, oh my

2014-06-24 Thread Rikki Cattermole via Digitalmars-d-learn
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

implib and system dlls, oh my

2014-06-24 Thread Jason King via Digitalmars-d-learn
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

implib error with opencv dll (max 450 chars)

2012-11-04 Thread Andre
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

Re: Where do you get implib

2011-11-04 Thread Jesse Phillips
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. > >

Re: Where do you get implib

2011-11-04 Thread Johannes Pfau
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

Where do you get implib

2011-11-04 Thread Jesse Phillips
>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

Re: implib

2011-04-13 Thread Tine Sukljan
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.

Re: implib

2011-04-13 Thread Bernard Helyer
implib is for working with Windows libraries. Why on earth do you need it on OS X?

Re: implib

2011-04-12 Thread Jimmy Cao
It's for Windows only.

implib

2011-04-12 Thread Tine Sukljan
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

Re: (coff)-Implib lib from dll

2011-01-15 Thread Nrgyzer
This solved the problems, thanks - but, when the line "mysql = mysql_init(null);" produces an access violation.

Re: (coff)-Implib lib from dll

2011-01-15 Thread Jimmy Cao
Try this: implib /s libmysql.lib libmysql.dll Then change extern(Windows) to extern(C). (That's how I usually have it set up)

Re: (coff)-Implib lib from dll

2011-01-15 Thread Nrgyzer
Thanks, but didn't help to change to "implib /system libmysql.lib libmysql.dll" - some errors.

Re: (coff)-Implib lib from dll

2011-01-15 Thread Mafi
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

Re: (coff)-Implib lib from dll

2011-01-15 Thread nrgyzer
I just used "implib libmysql.lib libmysql.dll /system" but it produces the same errors.

Re: (coff)-Implib lib from dll

2011-01-15 Thread Mafi
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

(coff)-Implib lib from dll

2011-01-15 Thread %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 file with implib with the fo

Re: implib crashing with .def files

2010-10-19 Thread Kagamin
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.

Re: implib crashing with .def files

2010-10-18 Thread Andrej Mitrovic
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

Re: implib crashing with .def files

2010-10-18 Thread Kagamin
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.

implib crashing with .def files

2010-10-17 Thread Andrej Mitrovic
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

Re: Using IMPLIB with D dll's

2010-09-10 Thread Don
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

Re: Using IMPLIB with D dll's

2010-09-09 Thread Andrej Mitrovic
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

Re: Using IMPLIB with D dll's

2010-09-09 Thread 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.

Using IMPLIB with D dll's

2010-09-09 Thread Andrej Mitrovic
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