![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
New Member
Join Date: Oct 2005
Posts: 12
|
To set and get the eax properties using openal and C++ I use EAXset and EAXget. When i try using these such as:
Code:
I get errors like: 'eaxSet' : undeclared identifier 'eaxGet' : undeclared identifier When i try defining these by using this: Code:
It compiles ok but I get link errors saying they are already defined in another one of my classes. This may be because i need to use eaxSet/get in two different classes and i am not sure where to put the above code. If i put it in a header file that the 2 classes include then i get the same link error. I am only using EAX2.0 atm but will be supporting 3-5 later. Please help, or could someone just tell me how to use eax with Openal properly if i am going about it all wrong. Thanks |
|
|
|
|
|
#2 |
|
DevMaster Staff
Join Date: Oct 2004
Location: Seattle, WA
Posts: 3,708
|
Are you sure you are including the headerfile al/eax.h?
___________________________________________
Currently working at Sucker Punch reedbeta.com - OpenGL demos and other projects Luabridge - a lightweight, dependency-free C++/Lua binding library. CD Lite - an unobtrusive, minimal CD player application for Windows. |
|
|
|
|
|
#3 |
|
New Member
Join Date: Oct 2005
Posts: 12
|
yeah i'm including al/al.h and eax.h
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|