Problem creating command line application with XCode
Problem creating command line application with XCode
- Subject: Problem creating command line application with XCode
- From: email@hidden
- Date: Tue, 31 Jul 2007 20:13:47 -0400 (EDT)
- Importance: Normal
Please excuse my ignorance.
I'm fairly new to C++ program, having gotten my feet wet using Visual
Studio 6 and now having switched over to Mac I've decided to embrace
XCode.
I develop software for medical imaging research and use a package of
classes called itk (insight toolkit, www.itk.org).
For my first attempt to compile my previous code using XCode I performed
the same steps I did with Visual Studio
1. produce a project file using cmake; I do this to allow for itk wrapping
(ccmake -G Xcode .)
2. load in the project to Xcode
3. build the project
4. run it from the terminal command line
Steps 1-3 work well. I can even see the proper output of a simple program
if I choose the "run & go" option. However, when I open a terminal and
type the file name to execute it, nothing happens.
I've tried creating a new target (BSD shell tool), with no luck.
I've even tried to create a new project, "Command Line Utility: C++ tool"
compile and I still can't get it to run in a terminal window.
The reason I want to run this in the terminal window is so I can run the
program passing variables into it: I guess if I am able to do this through
XCode, that would be a solution as well.
Am I missing something very simple?
thanks
Using XCode 2.4.1; OS 10.4.10; GCC 4.0 comipler; itk is compiled using
c++, I've tried to change this but it won't let me for some reason.
instead I aliased c++ to g++
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden