News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Importing VC6 dsw problems.

Started by courage, March 28, 2007, 04:35:21 AM

Previous topic - Next topic

courage

Thanks for handling [Bug #10714], I can build static library of wxWidget successfully now.

But when building dynamic library of wxWidget, there is some problems:
Linking dynamic library: ..\..\lib\vc_dll\wxbase28u_vc_custom.dll
mingw32-g++.exe: ..\..\lib\vc_dll\wxbase28u.lib: No such file or directory
mingw32-g++.exe: ..\..\lib\vc_dll\wxbase28u: No such file or directory
Process terminated with status 1 (4 minutes, 17 seconds)


Would I report it as a bug?

stahta01

#1
Did you compile wxWidgets? Using Visual C++ so that wxbase28u_vc_custom.dll exists?
Or, what is the problem that you wish to report? Because, I only see user error.

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

courage

Quote from: stahta01 on March 28, 2007, 04:43:12 AM
Did you compile wxWidgets? Using Visual C++ so that wxbase28u_vc_custom.dll exists?
Or, what is the problem that you wish to report? Because, I only see user error.

Tim S

Hello Tim:

I try to build wxWidgets with MinGW32 by importing VC6 dsw file with Code::Blocks.
I built dynamic library of SDL and static library of wxWidgets successfully,
But I did not test if libraries works well.

Then I try to build dynamic library of wxWidgets, building is failed and there is the message as you see.

In the comment of [ Bug #10714 ] , biplab said:
"But please remember that compilation of *wxWidgets* will still fail as some other crucial parts will not be imported. "
I am not sure what he means.

Honestly, I built wxWidgets with MSYS.
For testing and curiosity, I try to import dsw file to compile.

Biplab

Quote from: courage on March 28, 2007, 06:21:51 AM
In the comment of [ Bug #10714 ] , biplab said:
"But please remember that compilation of *wxWidgets* will still fail as some other crucial parts will not be imported. "
I am not sure what he means.

I meant to inform you that the [Bug #10714] is fixed now. The bug you reported was due to not respecting "Excluding files from some build targets". But the compilation will still fail as the importer still lacks Custom Build import support. C::B importer does not import the following code-

# Begin Custom Build - Creating ..\..\lib\vc_lib\mswunivd\wx\msw\rcdefs.h

"..\..\lib\vc_lib\mswunivd\wx\msw\rcdefs.h" : "$(SOURCE)" "$(SETUPHDIR)\wx\msw"
cl /EP /nologo "$(InputPath)" > "..\..\lib\vc_lib\mswunivd\wx\msw\rcdefs.h"

# End Custom Build


That is the reason why your compilation fails. :)

I wrote that line as I knew you may face the problem after importing the project file.

I'll try to add this feature, in future.

Regards,

Biplab
Be a part of the solution, not a part of the problem.

courage