How to have multiple main programs: one for client and one for server? [message #174244] |
Thu, 03 August 2006 21:21 |
Eclipse User |
|
|
|
Originally posted by: siegfried.heintze.com
I'm running CDT 3.0.2 on Eclipse 3.1.2 and I'm confused. I created a project
with two main C++ programs: one for the socket client and one for the socket
server. It was working on my notebook. I committed to a CVS repository and
checked it out on my desktop.
Now when I compile and try to run with eclipse, it tells me there are two
main programs. When I rename the server program to be tmain, the client
program works (well, it fails the way it is supposed to because there is no
server running).
How can I have two main programs again and run them simultaneously so I can
test them?
Thanks,
Siegfried
|
|
|
|
|
|
Re: How to have multiple main programs: one for client and one for server? [message #174404 is a reply to message #174265] |
Fri, 04 August 2006 18:47 |
Eclipse User |
|
|
|
Originally posted by: siegfried.heintze.com
When I go to run->Debug I don't see "C/C++ Local Appliation". What am I
doing wrong? I've tried hi-lighting the project and the main file containing
the main program.
I'm running 3.1.2 eclipse and cdt 3.0.2.
Thanks,
Siegfried
"Axel Mueller" <aegges@web.de> wrote in message
news:ee2bcef26acb1bff7318fe2cea0d9bad$1@www.eclipse.org...
> You should create a Debug Configuration for both applications: In the menu
> select Run->Debug .. and choose C/C++ Local Application. In the Main tab
> you select the Project and the corresponding Executable. Repeat these
> steps for both client and server app.
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05469 seconds