Author Topic: Importing VC6 dsw problems.  (Read 4677 times)

Offline courage

  • Multiple posting newcomer
  • *
  • Posts: 48
Importing VC6 dsw problems.
« on: March 28, 2007, 04:35:21 am »
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)

Would I report it as a bug?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Importing VC6 dsw problems.
« Reply #1 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
« Last Edit: March 28, 2007, 04:44:53 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline courage

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Importing VC6 dsw problems.
« Reply #2 on: March 28, 2007, 06:21:51 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.

Offline Biplab

  • Developer
  • Lives here!
  • *****
  • Posts: 1874
    • Biplab's Blog
Re: Importing VC6 dsw problems.
« Reply #3 on: March 28, 2007, 06:54:26 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-

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.

Offline courage

  • Multiple posting newcomer
  • *
  • Posts: 48
Re: Importing VC6 dsw problems.
« Reply #4 on: March 28, 2007, 10:08:27 am »
Thank you Biplab, Thanks.  :)