Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Build src files
Build src files [message #722869] Wed, 07 September 2011 02:29 Go to next message
anergie is currently offline anergieFriend
Messages: 1
Registered: September 2011
Junior Member
Hi all,

I am using Eclipse on Mac and I just started programming in c++. I wrote a program using the SDL libraries that plays .wav sound files. The program works perfectly when I run it within eclipse from the workspace.

The problem is that it does not work when I run it using the executable in the Debug folder. The reason seems to be that eclipse does not include the .wav files in the Debug/src folder. It also does not work if I manually copy the .wav files there.

How can I bring Eclipse to build the entire program including the .wav files? (Please don't say google for it, I have been searching for half a day)

Your help is greatly appreciated!
Re: Build src files [message #723499 is a reply to message #722869] Thu, 08 September 2011 16:55 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
On 9/6/11 10:29 PM, anergie wrote:
> Hi all,
> I am using Eclipse on Mac and I just started programming in c++. I wrote
> a program using the SDL libraries that plays .wav sound files. The
> program works perfectly when I run it within eclipse from the workspace.
> The problem is that it does not work when I run it using the executable
> in the Debug folder. The reason seems to be that eclipse does not
> include the .wav files in the Debug/src folder. It also does not work if
> I manually copy the .wav files there.
>
> How can I bring Eclipse to build the entire program including the .wav
> files? (Please don't say google for it, I have been searching for half a
> day)
>
> Your help is greatly appreciated!


See the "sticky" topic at the top of this forum; it tells you that
questions specific to C/C++ development should go to the CDT forum group.

Eric
Re: Build src files [message #723504 is a reply to message #722869] Thu, 08 September 2011 16:55 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
On 9/6/11 10:29 PM, anergie wrote:
> Hi all,
> I am using Eclipse on Mac and I just started programming in c++. I wrote
> a program using the SDL libraries that plays .wav sound files. The
> program works perfectly when I run it within eclipse from the workspace.
> The problem is that it does not work when I run it using the executable
> in the Debug folder. The reason seems to be that eclipse does not
> include the .wav files in the Debug/src folder. It also does not work if
> I manually copy the .wav files there.
>
> How can I bring Eclipse to build the entire program including the .wav
> files? (Please don't say google for it, I have been searching for half a
> day)
>
> Your help is greatly appreciated!


See the "sticky" topic at the top of this forum; it tells you that
questions specific to C/C++ development should go to the CDT forum group.

Eric
Previous Topic:possible to maximize splitted window??
Next Topic:(no subject)
Goto Forum:
  


Current Time: Sat Aug 13 15:59:06 GMT 2022

Powered by FUDForum. Page generated in 0.03558 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top