Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: arst on February 13, 2007, 06:20:01 pm

Title: Help, need link library, libwxmsw26u.a
Post by: arst on February 13, 2007, 06:20:01 pm
Hello,

I'm usually compiling against wxWidgets 2.8.0. Now I'm working
with testing a plugin under development and I need test against
wxW 2.6. And, for that I need the import library for wxmsw26u.dll

Could some kind person upload libwxmsw26u.a (maybe to savefile.com)?

If possible I'd prefer not installing wxw 2.6 and doing all the compiling.

Thanks,
Arst
Title: Re: Help, need link library, libwxmsw26u.a
Post by: Biplab on February 13, 2007, 06:50:11 pm
Please download both the files.  :)

Quote
http://www.fileden.com/files/4628/gcc_dll-1.7z
http://www.fileden.com/files/4628/wxmsw26u_gcc_cb.7z
Title: Re: Help, need link library, libwxmsw26u.a
Post by: mandrav on February 13, 2007, 07:11:47 pm
Hello,

I'm usually compiling against wxWidgets 2.8.0. Now I'm working
with testing a plugin under development and I need test against
wxW 2.6. And, for that I need the import library for wxmsw26u.dll

You can link directly to the dll you already have, you don't need the import library.
Title: Re: Help, need link library, libwxmsw26u.a
Post by: Biplab on February 13, 2007, 07:15:13 pm
How can we do that? Give us some links.  :)

Thanks & Regards,

Biplab
Title: Re: Help, need link library, libwxmsw26u.a
Post by: dje on February 13, 2007, 08:52:53 pm
Hi !

On the linker part of the project Build options, you can add static libraries. To add dynamic libraries (dlls), just change the file filter to "all files" and select the dlls you want.

Is it possible to change extensions add the dll extension to the .a, .so... as it is possible to use them for link ?

Dje
Title: Re: Help, need link library, libwxmsw26u.a
Post by: arst on February 15, 2007, 12:11:15 am
I've been testing linking directly to DLLs on a number of projects
now. Sometimes it works, sometimes I get a bunch of errors
from the linker.

I could not link the CodeBlocks app against codeblocks.dll and
wxmsw26u_gcc_cb.dll. Changing back to .a lib files it worked.

My plugin compiles and links fine with the wxwidgets DLL.

There's a good page on the subject here: http://linux.web.cern.ch/linux/scientific4/docs/rhel-ld-en-4/win32.html (http://linux.web.cern.ch/linux/scientific4/docs/rhel-ld-en-4/win32.html)

OK
// Arst
 
Title: Re: Help, need link library, libwxmsw26u.a
Post by: dje on February 15, 2007, 10:12:58 pm
Thanks, very good article that explain very clearly the different ways to export dlls symbols !