|
List Info
Thread: wxWidgets sample folder
|
|
| wxWidgets sample folder |

|
2006-12-02 20:23:00 |
|
Hi!
Somehow, you've managed to get the project into quite a state!
There's no code in the App file for creating the top window. I just did a regenerate on it and everything worked fine.
When you go back and forth, especially with the top window the project is supposed to create, you need to regenerate files. DB really has no way of knowing you've made such drastic changes, that's why there's property in the App for indicating the top window's ID.
I must say, though, you've certainly pointed out areas where DB is vulnerable!;)
But, getting back to your original problem, if you've got the libs built and you open a .dsp/.dsw (Version 6) file in Visual Studio 2005 paid versions, they _always_ convert and build properly. I've never been able to _not_ have this happen. I can build any Visual Studio .dsp/.dsw in the wxWidgets distribution with my Visual Studio 2005 Standard Edition with no changes/tweaks/nudges. I just open the file, let Visual Studio convert the file to 2005 format and do a Build Solution et voila, I have it!;)
If you've not got the libs built, and you don't use DB, you can go to wxWidgets<version>buildmsw and open the wx.dsw file there in Visual Studio and build whatever configuration of the lib you like, then build the sample/demo/etc or your own application.
HTH: ;
thx,
Dave S.
wxMS_developers · Development with wxWidgets on MSWindows 
wxMS_developers RSS feed
wxWidgets Code Exchange
-- On Sat, 2 Dec 2006 13:54:49 -0500 Peter Rung wrote --
> Dave,
>
>
> There must be something I’m doing wrong as a basic step. Let me go
> through this step by step.
> - I eliminated every installation of wxWidgets I hade on my XP
> system, and rebooted. - I downloaded wxMSW-2.6.3-Setup-1.exe.
> Running it, letting it install in the default location. - I started
> DB with my project file.
> - On the Configuration/Path page, I made sure the path to wxWidgets
> - On the Configuration/Configurations page, for debug, set VS8, set
> linking to dynamic. This gives me the debugging environment I’m
> looking for.
> - In DB, I execute Build/Clean wxWidgets – everything completes w/o
> errors - In DB, I execute Build/Build wxWidgets – everything
> completes w/I errors. - In my project folder, I delete all VS
> makefiles - In DB, I save the project. - In DB, I clean the
> project. - In DB, I build the project.
>
>
> LINK : fatal error LNK1104: cannot open file 'wxmsw26d_qa.lib'
>
> So, I get out of my project and go to the illustrations project you
> sent me last week, and rebuild the project. Same error.
>
>
> I am attaching the illustration project for you to look at this.
> Please let me know if you see something.
>
>
> Thanks,
>
>
> Peter
>
>
> From: wxMS_developers yahoogroups.com
> [ wxMS_developers@yahoogroups.com]">mailto:wxMS_developers yahoogroups.com] On Behalf Of Peter Rung
> Sent: Saturday, December 02, 2006 1:19 PM
> To: wxMS_developers yahoogroups.com
> Subject: RE: [anthemion-devtools] Re: [wxMS_developers] wxWidgets
> sample folder
>
>
> Cgywin is only the location. I have downloaded ALL widgets
> yesterday and today. It’s not installed off of c:. And, I am now
> dealing with an old error: LINK : fatal error LNK1104: cannot open
> file 'wxmsw26d_qa.lib'
>
>
> I’m going to try the MSW .zip file from at
> for 2.6.3.0; I’ll now go to the MSW ..exe installation. But I’m
> clearly going around in circles on the installation.
>
>
> Also, I am following your message from several days back about
> doing everything in DB
>
>
> Also2, I’ve given up on MinGW since the directions at wxWidgets for
> MinGW are for 2.4.2, and the files/folders don’t match the
> directions.
>
>
> I’ll let you know what I find. ;
>
>
> Thanks,
>
>
> Peter
>
>
> From: wxMS_developers yahoogroups.com
> [ wxMS_developers@yahoogroups.com]">mailto:wxMS_developers yahoogroups.com] On Behalf Of Dave Silvia
> Sent: Saturday, December 02, 2006 12:01 PM
> To: wxMS_developers yahoogroups.com
> Subject: RE: [anthemion-devtools] Re: [wxMS_developers] wxWidgets
> sample folder
>
>
>> ------ Build started: Project: zip, Configuration: Debug Win32 ---
>> --
>>
>
> The "zip" has me wondering. I don't have a "zip".
>
>
> Perhaps if you looked at a plain installation of wxWidgets, instead
> of something in Cygwin?
>
>
> I just download either MSW wxWidgets or the generic ALL wxWidgets
> and when I go to these directories and proceed to samples or demos,
> I can do exactly as I've described.
>
>
> The source in these downloads is not zipped (excepting for the
> download itself) and what is in the directories is just plain ASCII
> code (for .dsp and .dsw).
>
>
> Perhaps you're depending too heavily on your Cygwin download?
>
>
> HTH:
>
>
> thx,
>
>
> Dave S.
>
>
> wxMS_developers 7 Development with wxWidgets on MSWindows 
>
>
>
>
> wxMS_developers RSS feed
>
>
>
>
> wxWidgets Code Exchange
>
>
>
>
> -- On Sat, 2 Dec 2006 10:49:11 -0500 Peter Rung wrote --
>
>
>> Dave,
>>
>
>> Unfortunately, when I do exactly this with VS2005, I have
>> following
>>
>
>> occur with each sample.
>>
>
>> ------ Build started: Project: zip, Configuration: Debug Win32 ---
>> --
>>
>
>> -
>
>
>> Compiling...
>
>
>> zip.cpp
>
>
>> Compiling resources...
>
>
>> Compiling manifest to resources...
>
>
>> Linking...
>
>
>> CVTRES : fatal error CVT1100: duplicate resource.  type:MANIFEST,
>>
>
>> name:1, language:0x0409
>
>
>> LINK : fatal error LNK1123: failure during conversion to COFF:
>> file
>>
>
>> invalid or corrupt
>
>
>> Build log was saved at "file://c:cygwinhomewxWidgets2.6.3
>>
>
>> debugsampleshtmlzipvc_mswdzipBuildLog.htm"
>
>
>> zip - 2 error(s), 0 warning(s)
>>
>
>> Any thoughts? 
>>
>
>> Thanks,
>>
>
>> Peter
>>
>
>> From: anthemion-devtools yahoogroups.com [ anthemion">mailto:anthemion-
>>
>
>> devtools yahoogroups.com] On Behalf Of Dave Silvia
>>
>
>> Sent: Friday, December 01, 2006 9:17 PM
>>
>
>> To: wxMS_developers yahoogroups.com
>>
>
>> Cc: anthemion-devtools
>>
>
>> Subject: [anthemion-devtools] Re: [wxMS_developers] wxWidgets
>>
>
>> sample folder
>>
>
>> Hi!
>>
>
>> Like they say, there are no dumb questions, only dumb answers...;)
>>
>
>> I hope this isn't a dumb answer.
>>
>
>> The simple solution is to open the Version 6 .dsp file with Visual
>>
>
>> Studio 2005. It will convert it to a .vcproj and create a ..sln.
>> If
>>
>
>> you're using a paid version of Visual Studio 2005, you're all set,
>>
>
>> it's ready to roll, it has the Microsoft libs enumerated properly
>>
>
>> in inherit. The Express edition is just slightly more complicated
>>
>
>> in that it only inherits kernel32.lib, so, here's a listing
>>
>
>> (gleaned from DialogBlocks) of the libs to add (this is necessary
>>
>
>> because the libs have changed since Version 6).
>>
>
>> kernel32.lib
>>
>
>> user32.lib
>>
>
>> gdi32.lib
>>
>
>> comdlg32.lib
>>
>
>> winspool.lib
>>
>
>> winmm.lib
>>
>
>> shell32.lib
>>
>
>> comctl32.lib
>>
>
>> ole32.lib
>>
>
>> oleaut32.lib
>>
>
>> uuid.lib
>>
>
>> rpcrt4.lib
>>
>
>> advapi32.lib
>>
>
>> wsock32.lib
>>
>
>> Please, note this is a comprehensive list, i.e., all of these are
>>
>
>> not necessarily needed for every application, but they won't hurt
>>
>
>> either!;) Please, also note that this is only necessary for the
>>
>
>> Express Edition of Visual Studio 2005, the paid versions know what
>>
>
>> libraries should be inherited (I guess that's part of what you pay
>>
>
>> for!;)
>>
>
>> HTH:
>>
>
>> thx,
>>
>
>> Dave S.
>>
>
>> wxMS_developers 7 Development with wxWidgets on MSWindows 
>>
>
>>
>
>> wxMS_developers RSS feed
>>
>
>>
>
>> wxWidgets Code Exchange
>>
>
>>
>
>> -- On Fri, 01 Dec 2006 20:59:29 -0000 Peter Rung wrote --
>>
>
>>> This is probably a dumb question.....
>>
>
>>> Simply states, I am interested in compiling and linking the
>>>
>
>>> samples
>>
>
>>> in debug mode. I've complete this with VS6. The .exe files
>>> have
>>
>
>>> been created. Let's take widgets.exe - source exists in
>>
>
>>> wxWidgets2.6.3sampleswidgets
>>
>
>>> - widgets.exe exists in wxWidgets2.6.3sampleswidgetsvc_mswd
>>
>
>>> When I start the debugger in VS6, it asks me where the ..exe is.
>>
>
>>> So, I point the browser to:
>>>
>
>>> wxWidgets2.6.3sampleswidgetsvc_mswd.
>>
>
>>> VS6 cannot find widgets.exe, even though in a file explorer, it
>>> is
>>
>
>>> there. I executes, etc.
>>
>
>>> Sorry to all the advance folks. I'm not sure why VS6 can't find
>>
>
>>> the .exe
>>
>
>>> Also, why VS6? I figured this was the shortest path to some
>>
>
>>> debugging given the existence of widgets.dsw in in the source
>>
>
>>> folder.
>>
>
>>> Yahoo! Groups Links
>>
>
>>> To visit your group on the web, go to:
>>
>
>>
>
>>> Your email settings:
>>
>
>>> Individual Email | Traditional
>>
>
>>> To change settings online go to:
>>
>
>>
>
>>> required)
>>
>
>>> To change settings via email:
>>
>
>>> wxMS_developers-digest@yahoogroups.com">mailto:wxMS_developers-digest yahoogroups.com
>>
>
>>> wxMS_developers-fullfeatured@yahoogroups.com">mailto:wxMS_developers-fullfeatured yahoogroups.com
>>
>
>>> To unsubscribe from this group, send an email to:
>>
>
>>> wxMS_developers-unsubscribe yahoogroups.com
>>
>
>>> Your use of Yahoo! Groups is subject to:
>>
>
>
>
>
__._,_.___
.
__,_._,___
|
| wxWidgets sample folder |

|
2006-12-02 20:54:29 |
|
Dave,
I actually have a list of DB bugs I will submit in the next
week. A restart of DB clears them out, but they are inconvenient. Nothing
which stops me from using the tool.
This worked on my project as well. Wow!
In terms of VS2005. While you were looking at this, I
went to the samples folder and started in VS2005. Like you, I am now
running the debugger in VS2005. The leads me to: So what have you learned Dorothy?
Since downloading the .exe program from the wxWidgets site,
as opposed to the .zip file, I am having a different and positive experience. I
have no proof, I do know that I spent the better part of 10 hours working
against 3 installations of the .zip installation and was going around in
circles. I have not had this experience with the .exe implementation
today. I won’t draw the conclusion. However, I will
henceforth only download the .exe setup files from the wxWidgets site.
Have a great weekend!
Thanks,
Peter
From:
wxMS_developers yahoogroups.com [mailto:wxMS_developers yahoogroups.com] On Behalf Of Dave Silvia
Sent: Saturday, December 02, 2006
3:23 PM
To:
wxMS_developers yahoogroups.com
Cc: anthemion-devtools; Julian
Smart
Subject: RE: [anthemion-devtools]
Re: [wxMS_developers] wxWidgets sample folder
Somehow, you've managed to get the project into quite a state!
There's no code in the App file for creating the top window. I just did
a regenerate on it and everything worked fine.
When you go back and forth, especially with the top window the project
is supposed to create, you need to regenerate files. DB really has no way of
knowing you've made such drastic changes, that's why there's property in the
App for indicating the top window's ID.
I must say, though, you've certainly pointed out areas where DB is
vulnerable!;)
But, getting back to your original problem, if you've got the libs
built and you open a .dsp/.dsw (Version 6) file in Visual Studio 2005 paid
versions, they _always_ convert and build properly. I've never been able to
_not_ have this happen. I can build any Visual Studio .dsp/.dsw in the
wxWidgets distribution with my Visual Studio 2005 Standard Edition with no
changes/tweaks/nudges. I just open the file, let Visual Studio convert the
file to 2005 format and do a Build Solution et voila, I have it!;)
If you've not got the libs built, and you don't use DB, you can go to
wxWidgets<version>buildmsw and open the wx.dsw file there in Visual
Studio and build whatever configuration of the lib you like, then build the
sample/demo/etc or your own application.
wxMS_developers 7 Development with wxWidgets on
MSWindows
-- On Sat, 2 Dec 2006 13:54:49 -0500 Peter Rung wrote --
> There must be something Im doing
wrong as a basic step. Let me go
> through this step by step.
> - I eliminated every installation of
wxWidgets I hade on my XP
> system, and rebooted. - I downloaded
wxMSW-2.6.3-Setup-1.exe.
> Running it, letting it install in the
default location. - I started
> DB with my project file.
> - On the Configuration/Path page,
I made sure the path to wxWidgets
> - On the Configuration/Configurations
page, for debug, set VS8, set
> linking to dynamic. This gives
me the debugging environment Im
> - In DB, I execute Build/Clean
wxWidgets everything completes w/o
> errors - In DB, I execute Build/Build
wxWidgets everything
> completes w/I errors. - In my project
folder, I delete all VS
> makefiles - In DB, I save the project.
- In DB, I clean the
> project. - In DB, I build the project.
> LINK : fatal error LNK1104: cannot
open file 'wxmsw26d_qa.lib'
> So, I get out of my project and go to
the illustrations project you
> sent me last week, and rebuild the
project. Same error.
> I am attaching the illustration
project for you to look at this.
> Please let me know if you see
something.
> From: wxMS_developers yahoogroups.com
> [ wxMS_developers@yahoogroups.com%5d">mailto:wxMS_developers yahoogroups.com]
On Behalf Of Peter Rung
> Sent: Saturday, December 02, 2006 1:19
PM
> To: wxMS_developers yahoogroups.com
> Subject: RE: [anthemion-devtools]
Re: [wxMS_developers] wxWidgets
> Cgywin is only the location. I
have downloaded ALL widgets
> yesterday and today. It18;s
not installed off of c:. And, I am now
> dealing with an old error: LINK :
fatal error LNK1104: cannot open
> Im going to try the MSW .zip file
from at
> for 2.6.3. Ill now go to
the MSW ..exe installation. But Im
> clearly going around in circles on the
installation.
> Also, I am following your message from
several days back about
> Also2, Ive given up on MinGW
since the directions at wxWidgets for
> MinGW are for 2.4.2, and the
files/folders dont match the
> Ill let you know what I
find.
> From: wxMS_developers yahoogroups.com
> [ wxMS_developers@yahoogroups.com%5d">mailto:wxMS_developers yahoogroups.com]
On Behalf Of Dave Silvia
> Sent: Saturday, December 02, 2006
12:01 PM
> To: wxMS_developers yahoogroups.com
> Subject: RE: [anthemion-devtools]
Re: [wxMS_developers] wxWidgets
>> ------ Build started: Project:
zip, Configuration: Debug Win32 ---
> The "zip" has me wondering.
I don't have a "zip".
> Perhaps if you looked at a plain
installation of wxWidgets, instead
> of something in Cygwin?
> I just download either MSW wxWidgets
or the generic ALL wxWidgets
> and when I go to these directories and
proceed to samples or demos,
> I can do exactly as I've described.
> The source in these downloads is not
zipped (excepting for the
> download itself) and what is in the
directories is just plain ASCII
> code (for .dsp and .dsw).
> Perhaps you're depending too heavily
on your Cygwin download?
> wxMS_developers 7 Development with
wxWidgets on MSWindows
> wxMS_developers RSS feed
> wxWidgets Code Exchange
> -- On Sat, 2 Dec 2006 10:49:11 -0500
Peter Rung wrote --
>> Unfortunately, when I do exactly
this with VS2005, I have
>> occur with each sample.
>> ------ Build started: Project:
zip, Configuration: Debug Win32 ---
>> Compiling resources...
>> Compiling manifest to
resources...
>> CVTRES : fatal error CVT1100:
duplicate resource. type:MANIFEST,
>> name:1, language:0x0409
>> LINK : fatal error LNK1123:
failure during conversion to COFF:
>> Build log was saved at
"file://c:cygwinhomewxWidgets2.6.3
>> debugsampleshtmlzipvc_mswdzipBuildLog.htm"
>> zip - 2 error(s), 0 warning(s)
>> From: anthemion-devtools yahoogroups.com
[ anthemion">mailto:anthemion-
>> devtools yahoogroups.com]
On Behalf Of Dave Silvia
>> Sent: Friday, December 01, 2006
9:17 PM
>> To: wxMS_developers yahoogroups.com
>> Cc: anthemion-devtools
>> Subject: [anthemion-devtools]
Re: [wxMS_developers] wxWidgets
>> Like they say, there are no dumb
questions, only dumb answers...;)
>> I hope this isn't a dumb answer.
>> The simple solution is to open
the Version 6 .dsp file with Visual
>> Studio 2005. It will convert it
to a .vcproj and create a ..sln.
>> you're using a paid version of
Visual Studio 2005, you're all set,
>> it's ready to roll, it has the
Microsoft libs enumerated properly
>> in inherit. The Express edition
is just slightly more complicated
>> in that it only inherits
kernel32.lib, so, here's a listing
>> (gleaned from DialogBlocks) of
the libs to add (this is necessary
>> because the libs have changed
since Version 6).
>> Please, note this is a
comprehensive list, i.e., all of these are
>> not necessarily needed for every
application, but they won't hurt
>> either!;) Please, also note that
this is only necessary for the
>> Express Edition of Visual Studio
2005, the paid versions know what
>> libraries should be inherited (I
guess that's part of what you pay
>> wxMS_developers 7 Development
with wxWidgets on MSWindows
>> wxMS_developers RSS feed
>> wxWidgets Code Exchange
>> -- On Fri, 01 Dec 2006 20:59:29
-0000 Peter Rung wrote --
>>> This is probably a dumb
question.....
| |