User forums > Help

Visual C++ 6.0

(1/1)

andwan0:
This isn't a bug but more of query/discussion about getting "big" Visual C++ 6.0 projects fully working in Code::Blocks.

I have a workspace consisting of many DLL & EXE projects. The DLLs are dependent on other DLLs and link to their *.lib. The problem is that the Code::Blocks "Build targets" for DLLs only creates the *.dll file and not the *.lib file (not even when the default Create import library is ticked). I get around this by manually changing the "Type" to Static library. Just wondering how others get around this problem, whether this is really a bug or just normal?

Just curious, is the Code::Blocks /Zi same as VS6 /ZI?

ollydbg:

--- Quote ---I have a workspace consisting of many DLL & EXE projects. The DLLs are dependent on other DLLs and link to their *.lib. The problem is that the Code::Blocks "Build targets" for DLLs only creates the *.dll file and not the *.lib file (not even when the default Create import library is ticked). I get around this by manually changing the "Type" to Static library. Just wondering how others get around this problem, whether this is really a bug or just normal?
--- End quote ---
In my windows Xp, using nightly build version, c::b can generate *.DLL files and import library name is *.a. (Not *.lib as you said). This works quite good on building OpenCV libraries. :D

andwan0:

--- Quote from: ollydbg on March 25, 2009, 12:35:00 pm ---
--- Quote ---I have a workspace consisting of many DLL & EXE projects. The DLLs are dependent on other DLLs and link to their *.lib. The problem is that the Code::Blocks "Build targets" for DLLs only creates the *.dll file and not the *.lib file (not even when the default Create import library is ticked). I get around this by manually changing the "Type" to Static library. Just wondering how others get around this problem, whether this is really a bug or just normal?
--- End quote ---
In my windows Xp, using nightly build version, c::b can generate *.DLL files and import library name is *.a. (Not *.lib as you said). This works quite good on building OpenCV libraries. :D

--- End quote ---

Mine doesn't even build *.a files aswell :( This is the default setup of following the wiki page on getting Visual C++ 6.0 to work with Code::Blocks... and yes, Visual C+ 6.0 config is the default compiler.

ollydbg:
Oh, I'm sorry, I use MinGW compiler.
I haven't used VC6's compiler together with code::blocks.

Navigation

[0] Message Index

Go to full version