List Info

Thread: wxWidgets sample folder




wxWidgets sample folder
user name
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_developersyahoogroups.com
> [ wxMS_developers@yahoogroups.com]">mailto:wxMS_developersyahoogroups.com] On Behalf Of Peter Rung
> Sent: Saturday, December 02, 2006 1:19 PM
> To: wxMS_developersyahoogroups.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
> http://www.wxwidgets.org/downloads/.  Maybe it is what is in ALL
> 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_developersyahoogroups.com
> [ wxMS_developers@yahoogroups.com]">mailto:wxMS_developersyahoogroups.com] On Behalf Of Dave Silvia
> Sent: Saturday, December 02, 2006 12:01 PM
> To: wxMS_developersyahoogroups.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-devtoolsyahoogroups.com [ anthemion">mailto:anthemion-
>>
>
>> devtoolsyahoogroups.com] On Behalf Of Dave Silvia
>>
>
>> Sent: Friday, December 01, 2006 9:17 PM
>>
>
>> To: wxMS_developersyahoogroups.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-digestyahoogroups.com
>>
>
>>> wxMS_developers-fullfeatured@yahoogroups.com">mailto:wxMS_developers-fullfeaturedyahoogroups.com
>>
>
>>> To unsubscribe from this group, send an email to:
>>
>
>>> wxMS_developers-unsubscribeyahoogroups.com
>>
>
>>> Your use of Yahoo! Groups is subject to:
>>
>
>
>
>

__._,_.___
.

__,_._,___
wxWidgets sample folder
user name
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_developersyahoogroups.com [mailto:wxMS_developersyahoogroups.com] On Behalf Of Dave Silvia
Sent: Saturday, December 02, 2006 3:23 PM
To: wxMS_developersyahoogroups.com
Cc: anthemion-devtools; Julian Smart
Subject: RE: [anthemion-devtools] Re: [wxMS_developers] wxWidgets sample folder

 

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:
&nbsp;

thx,

Dave S.

 

wxMS_developers 7 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,

>&nbsp;

>&nbsp;

> 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

> 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.

>&nbsp;

>&nbsp;

> LINK : fatal error LNK1104: cannot open file 'wxmsw26d_qa.lib'

>&nbsp;

> So, I get out of my project and go to the illustrations project you

> sent me last week, and rebuild the project.  Same error.

>&nbsp;

>&nbsp;

> I am attaching the illustration project for you to look at this.  

> Please let me know if you see something. 

>&nbsp;

>&nbsp;

> Thanks,

>&nbsp;

>&nbsp;

> Peter

>&nbsp;

>&nbsp;

> From: wxMS_developersyahoogroups.com

> [ wxMS_developers@yahoogroups.com%5d">mailto:wxMS_developersyahoogroups.com] On Behalf Of Peter Rung

> Sent: Saturday, December 02, 2006 1:19 PM

> To: wxMS_developersyahoogroups.com

> Subject: RE: [anthemion-devtools] Re: [wxMS_developers] wxWidgets

> sample folder

>&nbsp;

>&nbsp;

> Cgywin is only the location.  I have downloaded ALL widgets

> yesterday and today.  It&#18;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'

>&nbsp;

>&nbsp;

> Im going to try the MSW .zip file from at

> http://www.wxwidgets.org/downloads/. &nbsp;Maybe it is what is in ALL

> for 2.6.3.&nbsp; Ill now go to the MSW ..exe installation. But Im

> clearly going around in circles on the installation.

>&nbsp;

>&nbsp;

> Also, I am following your message from several days back about

> doing everything in DB

>&nbsp;

>&nbsp;

> 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

> directions.

>&nbsp;

>&nbsp;

> Ill let you know what I find.&nbsp;

>&nbsp;

>&nbsp;

> Thanks,

>&nbsp;

>&nbsp;

> Peter

>&nbsp;

>&nbsp;

> From: wxMS_developersyahoogroups.com

> [ wxMS_developers@yahoogroups.com%5d">mailto:wxMS_developersyahoogroups.com] On Behalf Of Dave Silvia

> Sent: Saturday, December 02, 2006 12:01 PM

> To: wxMS_developersyahoogroups.com

> Subject: RE: [anthemion-devtools] Re: [wxMS_developers] wxWidgets

> sample folder

>&nbsp;

>&nbsp;

>> ------ Build started: Project: zip, Configuration: Debug Win32 ---

>> --

>> 

>&nbsp;

> The "zip&quot; has me wondering.  I don't have a "zip&quot;.

>&nbsp;

>&nbsp;

> Perhaps if you looked at a plain installation of wxWidgets, instead

> of something in Cygwin?

>&nbsp;

>&nbsp;

> 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.

>&nbsp;

>&nbsp;

> 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).

>&nbsp;

>&nbsp;

> Perhaps you're depending too heavily on your Cygwin download?

>&nbsp;

>&nbsp;

> HTH:

>&nbsp;

>&nbsp;

> thx,

>&nbsp;

>&nbsp;

> Dave S.

>&nbsp;

>&nbsp;

> wxMS_developers 7 Development with wxWidgets on MSWindows&nbsp;

>&nbsp;

>&nbsp;

>&nbsp;

>&nbsp;

> wxMS_developers RSS feed

>&nbsp;

>&nbsp;

>&nbsp;

>&nbsp;

> wxWidgets Code Exchange

>&nbsp;

>&nbsp;

>&nbsp;

>&nbsp;

> -- On Sat, 2 Dec 2006 10:49:11 -0500 Peter Rung wrote --

>&nbsp;

>&nbsp;

>> Dave,

>> 

>&nbsp;

>> Unfortunately, when I do exactly this with VS2005, I have

>> following

>> 

>&nbsp;

>> occur with each sample.

>> 

>&nbsp;

>> ------ Build started: Project: zip, Configuration: Debug Win32 ---

>> --

>> 

>&nbsp;

>> -

>&nbsp;

>&nbsp;

>> Compiling...

>&nbsp;

>&nbsp;

>> zip.cpp

>&nbsp;

>&nbsp;

>> Compiling resources...

>&nbsp;

>&nbsp;

>> Compiling manifest to resources...

>&nbsp;

>&nbsp;

>> Linking...

>&nbsp;

>&nbsp;

>> CVTRES : fatal error CVT1100: duplicate resource.&nbsp; type:MANIFEST,

>> 

>&nbsp;

>> name:1, language:0x0409

>&nbsp;

>&nbsp;

>> LINK : fatal error LNK1123: failure during conversion to COFF:

>> file

>> 

>&nbsp;

>> invalid or corrupt

>&nbsp;

>&nbsp;

>> Build log was saved at "file://c:cygwinhomewxWidgets2.6.3

>> 

>&nbsp;

>> debugsampleshtmlzipvc_mswdzipBuildLog.htm"

>&nbsp;

>&nbsp;

>> zip - 2 error(s), 0 warning(s)

>> 

>&nbsp;

>> Any thoughts?&nbsp;

>> 

>&nbsp;

>> Thanks,

>> 

>&nbsp;

>> Peter

>> 

>&nbsp;

>> From: anthemion-devtoolsyahoogroups.com [ anthemion">mailto:anthemion-

>> 

>&nbsp;

>> devtoolsyahoogroups.com] On Behalf Of Dave Silvia

>> 

>&nbsp;

>> Sent: Friday, December 01, 2006 9:17 PM

>> 

>&nbsp;

>> To: wxMS_developersyahoogroups.com

>> 

>&nbsp;

>> Cc: anthemion-devtools

>> 

>&nbsp;

>> Subject: [anthemion-devtools] Re: [wxMS_developers] wxWidgets

>> 

>&nbsp;

>> sample folder

>> 

>&nbsp;

>> Hi!

>> 

>&nbsp;

>> Like they say, there are no dumb questions, only dumb answers...;)

>> 

>&nbsp;

>> I hope this isn't a dumb answer.

>> 

>&nbsp;

>> The simple solution is to open the Version 6 .dsp file with Visual

>> 

>&nbsp;

>> Studio 2005. It will convert it to a .vcproj and create a ..sln.

>> If

>> 

>&nbsp;

>> you're using a paid version of Visual Studio 2005, you're all set,

>> 

>&nbsp;

>> it's ready to roll, it has the Microsoft libs enumerated properly

>> 

>&nbsp;

>> in inherit. The Express edition is just slightly more complicated

>> 

>&nbsp;

>> in that it only inherits kernel32.lib, so, here's a listing

>> 

>&nbsp;

>> (gleaned from DialogBlocks) of the libs to add (this is necessary

>> 

>&nbsp;

>> because the libs have changed since Version 6).

>> 

>&nbsp;

>> kernel32.lib

>> 

>&nbsp;

>> user32.lib

>> 

>&nbsp;

>> gdi32.lib

>> 

>&nbsp;

>> comdlg32.lib

>> 

>&nbsp;

>> winspool.lib

>> 

>&nbsp;

>> winmm.lib

>> 

>&nbsp;

>> shell32.lib

>> 

>&nbsp;

>> comctl32.lib

>> 

>&nbsp;

>> ole32.lib

>> 

>&nbsp;

>> oleaut32.lib

>> 

>&nbsp;

>> uuid.lib

>> 

>&nbsp;

>> rpcrt4.lib

>> 

>&nbsp;

>> advapi32.lib

>> 

>&nbsp;

>> wsock32.lib

>> 

>&nbsp;

>> Please, note this is a comprehensive list, i.e., all of these are

>> 

>&nbsp;

>> not necessarily needed for every application, but they won't hurt

>> 

>&nbsp;

>> either!;) Please, also note that this is only necessary for the

>> 

>&nbsp;

>> Express Edition of Visual Studio 2005, the paid versions know what

>> 

>&nbsp;

>> libraries should be inherited (I guess that's part of what you pay

>> 

>&nbsp;

>> for!;)

>> 

>&nbsp;

>> HTH:

>> 

>&nbsp;

>> thx,

>> 

>&nbsp;

>> Dave S.

>> 

>&nbsp;

>> wxMS_developers 7 Development with wxWidgets on MSWindows&nbsp;

>> 

>&nbsp;

>> 

>&nbsp;

>> wxMS_developers RSS feed

>> 

>&nbsp;

>> 

>&nbsp;

>> wxWidgets Code Exchange

>> 

>&nbsp;

>> 

>&nbsp;

>> -- On Fri, 01 Dec 2006 20:59:29 -0000 Peter Rung wrote --

>> 

>&nbsp;

>>&gt; This is probably a dumb question.....

>> 

>&nbsp;

>>&gt; Simp