User forums > Using Code::Blocks
Importing VC6 dsw problems.
(1/1)
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:
--- Code: ---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)
--- End code ---
Would I report it as a bug?
stahta01:
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
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
--- End quote ---
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.
--- End quote ---
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-
--- 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
--- End code ---
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
courage:
Thank you Biplab, Thanks. :)
Navigation
[0] Message Index
Go to full version