www.digitalmars.com         C & C++   DMDScript  

D - linking DUI with GTK+ on windows

reply Ant <Ant_member pathlink.com> writes:
linking DUI with GTK+ 0n windows

I get,
Error 43: Not a Valid Library File

I went to the archives and
saw lots of problems with linking.

The idea I get from past discussions is that I
might have to recompile the GTK libs with DMC???
yikes!

Can't it even be done?
Is there another solution?
Can I compile with gcc and then link with OPTLINK?

Am I completly off the track?

(
seems that dui compiles and the libdui is created,
when I don't include the gtk lib OPTLINK reports lot's of
"
libdui.lib(Window)
Error 42: Symbol Undefined _gtk_********************
"
I'm assuming that means libdui.lib is a valid lib
)

Ant
Sep 02 2003
parent reply Ant <Ant_member pathlink.com> writes:
In article <bj3uqt$1l8h$1 digitaldaemon.com>, Ant says...
linking DUI with GTK+ 0n windows

I get,
Error 43: Not a Valid Library File

hummm... there is a page at ... Digital Mars on IMPLIB and COFF2OMF let me try those first. Ant next time I will reread the posts before asking... :P
Sep 02 2003
next sibling parent Ant <Ant_member pathlink.com> writes:
In article <bj3vnu$1md6$1 digitaldaemon.com>, Ant says...
In article <bj3uqt$1l8h$1 digitaldaemon.com>, Ant says...
linking DUI with GTK+ 0n windows

I get,
Error 43: Not a Valid Library File

hummm... there is a page at ... Digital Mars on IMPLIB and COFF2OMF

ah... no luck seems those are proprietary tools. back to my original question... I got another idea from the readings: Can extract the modules (whatever they are called) from the libraries and rebuild the library? Ant
Sep 02 2003
prev sibling parent reply Ant <Ant_member pathlink.com> writes:
In article <bj3vnu$1md6$1 digitaldaemon.com>, Ant says...
In article <bj3uqt$1l8h$1 digitaldaemon.com>, Ant says...
linking DUI with GTK+ 0n windows

I get,
Error 43: Not a Valid Library File

hummm... there is a page at ... Digital Mars on IMPLIB and COFF2OMF

ah... no luck seems those are proprietary tools. back to my original question... I got another idea from the readings: Can extract the modules (whatever they are called) from the libraries and rebuild the library? Ant
Sep 02 2003
parent reply Brad Anderson <brad sankaty.com> writes:
Ant wrote:

hummm... there is a page at ... Digital Mars 
on IMPLIB and COFF2OMF

ah... no luck seems those are proprietary tools. back to my original question... I got another idea from the readings: Can extract the modules (whatever they are called) from the libraries and rebuild the library? Ant

Try here: http://www.digitalmars.com/download/freecompiler.html (get Basic Utilities for implib) implib worked for me when I had a DLL and needed a LIB. BA
Sep 03 2003
next sibling parent Ant <Ant_member pathlink.com> writes:
Try here:  http://www.digitalmars.com/download/freecompiler.html  (get Basic 
Utilities for implib)

implib worked for me when I had a DLL and needed a LIB.

BA

Ha! Ha! I'll try it! Thanks. (again I overlook that, sorry folks) Ant
Sep 03 2003
prev sibling parent Ant <Ant_member pathlink.com> writes:
In article <bj5160$47p$1 digitaldaemon.com>, Brad Anderson says...
Try here:  http://www.digitalmars.com/download/freecompiler.html  (get Basic 
Utilities for implib)

implib worked for me when I had a DLL and needed a LIB.

BA

That did it! thanks. Tomorrow (night) I'll package every thing and publish it. Ant
Sep 03 2003