Re: Including files in different projects

Daniel PEACOCK <[email protected]>
Newsgroups gmane.comp.lib.openal
Message-ID <OF6028BDEE.605D2944-ON80257783.0045C841-80257783.00477EAF@cli.creaf.com>
Hi Fruskus,

It looks like you haven't added the appropriate additional include
directories in your project settings.    You need to specify the location
of the framework.h file (and all the OpenAL headers).   Based on the path
to your capture.cpp it looks like you will need to have these as your
additional include directories ...

..\..\Framework\Win32
 ..\..\..\include"

You will also need to link with the OpenAL32.lib so you'll need to add this
to your project's Linker additional dependencies ...

..\..\..\libs\win32\OpenAL32.lib

Dan
Creative Labs (UK) Ltd.

Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.

Creative Labs UK Ltd company number 2658256 registered in England and Wales
at 79 Knightsbridge, London SW1X 7RB



                                                                           
             Fruskus                                                       
             <karlonchiz@hotma                                             
             il.com>                                                    To 
             Sent by:                  [email protected]      
             openal-bounces@op                                          cc 
             ensource.creative                                             
             .com                                                  Subject 
                                       [Openal] Including files in         
                                       different projects                  
             18/08/2010 12:16                                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





Hi to everyone!

I'm still struggling with the GUI for my vocoder, and I have the following
problem:

I have created a simple GUI, with just one "start" button using Windows
forms in VC++ 2008.
I have added this proyect to the main solution in wich my console app for
the vocoder project (based on one of the SDK samples) was.
So, I have one solution with to projects. I have set the GUI project as the
main one, and set the dependencies right.
I have included the framework.h, and the sources for the console
application.

When I try to compile I get:
"...\openal 1.1 sdk\samples\trokv gui 16ag\win32\Capture.cpp(5) : fatal
error c1083: cannot open include file: 'Framework.h': No such file or
directory"


Capture.cpp when compiled independently within its own project works fine.
I have tried adding all the framework folder files in the gui proyect as in
the SDK samples, and I get even more errors.

How should the framework files be included?

Sorry about such a long text, and thanks in advance.

Fruskus
--
View this message in context:
http://old.nabble.com/Including-files-in-different-projects-tp29470106p29470106.html

Sent from the OpenAL - User mailing list archive at Nabble.com.

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT0007FDE6

_______________________________________________
Openal mailing list
[email protected]
http://opensource.creative.com/mailman/listinfo/openal
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.