Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make to work openAl in visual studio 2010

I have installed openAl in C:/ and followed a lots of tutorials how to make it work. It doesn't recognize al.h, alu.h, alut.h and others components from openAl. I don't know what to do. Can somebody help me?

Thank you, Alex

like image 843
Stanciu Alexandru-Marian Avatar asked Dec 30 '25 02:12

Stanciu Alexandru-Marian


1 Answers

Under your project properties, choose C++ | General. If your include statements look like:

#include "al.h"

then be sure to include "C:\openal-soft-1.13\include\AL" in the Additional Include Directories section. If your include statements look like:

#include "AL/al.h"

then be sure to include "C:\openal-soft-1.13\include" in the Additional Include Directories’ section.

I'm assuming that your openAL code resides in "C:\openal-soft-1.13". If not, replace that with where it actually resides.

like image 189
Ben Hocking Avatar answered Dec 31 '25 15:12

Ben Hocking



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!