please specify the name of the executable file to be used in this debug session

2,025 views
Skip to first unread message

dben...@gmail.com

unread,
Feb 14, 2008, 12:19:21 AM2/14/08
to ode-users
Hi all

I am Visual Studio 2008 newbie and I have tried to build ODE using it.
However, after it builds the whole solution, it simply shows dialog
box and it says "please specify the name of the executable file to be
used in this debug session". Needless to say, it neither creates any
exe files from examples, nor ode dll (although it does create a lot of
strange files). What am I doing wrong?

Regards, dbenasic

dben...@gmail.com

unread,
Feb 14, 2008, 12:20:56 AM2/14/08
to ode-users
Its actually Visual Studio 2005, sorry typo

Jean-Sebastien Guay

unread,
Feb 14, 2008, 12:33:47 AM2/14/08
to ode-...@googlegroups.com
Hello dbenasic (?),

> > I am Visual Studio 2008 newbie and I have tried to build ODE using it.
> > However, after it builds the whole solution, it simply shows dialog
> > box and it says "please specify the name of the executable file to be
> > used in this debug session". Needless to say, it neither creates any
> > exe files from examples, nor ode dll (although it does create a lot of
> > strange files). What am I doing wrong?

If you build the demos, it should build executables for them.

But the error message you're getting is simply because you probably pressed F5
(or Ctrl-F5) and hadn't selected a runnable project as your "Startup Project"
from the list of projects in the solution file. Simply right-click on one of
the demos (demo_moving_trimesh for example) and select "Set as Startup project"
from the pop-up menu, then press F5 and it should run.

The Startup Project is the one in bold. If it's a library (like the ode project)
then you'll get the message you got. When you first open the project files it
gets set to whatever it wants to, so it's very possible it was set to a lib and
you have to set it to an actual runnable (executable) project.

Alternatively, if you just wanted to build ODE, press F7 (or Ctrl-Shift-B, for
Build Solution) instead of F5 which is Run (Debug).

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay jean-seba...@cm-labs.com
http://www.cm-labs.com/
http://whitestar02.webhop.org/

dben...@gmail.com

unread,
Feb 14, 2008, 12:54:14 AM2/14/08
to ode-users
now it works. Thank you folks.

On Feb 14, 6:33 am, Jean-Sebastien Guay <jean-
> Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com
> http://www.cm-labs.com/
> http://whitestar02.webhop.org/
Reply all
Reply to author
Forward
0 new messages