![]() |
Blitz Support : |
From: Julian Cummings (cummings_at_[hidden])
Date: 2005-03-22 22:59:15
Hello Andy,
OK, I see why you are having this problem. It is partly a function of the
way in which we have constructed the Blitz-Library "solution" file. Our
solution file contains separate "projects" for building the blitz library
and each of the blitz testsuite codes. All of these project files are
contained in a single folder called Blitz-Testsuite that gets created within
your main blitz directory. By default, the blitz library project is
designated as the Startup Project for this solution file (shown in bold
letters in the Solution Explorer). This means that this project will always
be built first (good!) and that this project will be run by default when you
select Start from the Debug menu (bad!). This second feature is bad because
the blitz library is not an application! This is why you are getting that
dialog box asking for an executable to run.
So to run one of the testsuite applications via the VS.NET IDE, you need to
designate the corresponding project file as the Startup Project. To do
this, highlight the Blitz-Library solution within the Solution Explorer
window and then go to Set Startup Projects on the Project menu. From the
dialog box, you can then designate any of the testsuite projects to be the
Startup Project. Then when you click Start on the Debug menu, it should run
the corresponding testsuite application. There is also a way to select
multiple startup projects, so in principle, you could set this up to run
each of the testsuite application codes in succession, as is done in the
Unix testsuite build. Perhaps we should set things up like this by default.
It might be less confusing. Of course, you can always go into the
Blitz-Testsuite solution directory yourself in Windows Explorer and find and
run the executable you want by yourself, outside of the IDE.
Thanks for pointing out this problem.
Regards, Julian C.
Dr. Julian C. Cummings Office: PB-111
Caltech/CACR, MC 158-79 Phone: 626-395-2543
1200 E. California Blvd. Fax: 626-584-5917
Pasadena, CA 91125
> -----Original Message-----
> From: blitz-support-bounces_at_[hidden]
> [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of
> Andrew Greenwell
> Sent: Friday, March 18, 2005 3:20 PM
> To: blitz-support_at_[hidden]
> Subject: [Blitz-support] Trouble Creating Library in VS.NET 2003
>
>
> Sorry for the upcoming freshman level question, but I am
> newbie to Visual Studio.NET and Blitz++, coming from a
> numerical background purely in MATLAB (please don't hate me for it).
>
> Anyway, I have downloaded and successfully compiled the
> Blitz++ library (hooray), but when the compilation is
> finished it asks me in a dialogue box to
>
> "Please specify the name of the executable file to be used
> for the debug session. Executable file name: ...."
>
> Is there an included .exe or .lib or .dll file name I am
> suppose to associate with it, or do I make something up (that
> didn't work), or is it something else that every two year old
> is being taught these days but I missed out on in high school
> and college.
>
> Thank you very much and I can't wait to start using your library,
>
> Andy Greenwell
>
>
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>