[Openal] compile trouble in anjuta

Damian Corrin dmonarch at aapt.net.au
Fri Jun 22 04:17:48 PDT 2007


undefined reference to alcOpenDevice. This is what i get when trying to
compile a two liner in anjuta  This is my code, and this is what is in
the libraries section of configuration 
-lalut -lopenal
I know this is simple boring stuff but it is a requirement that i have
an ide for the rest of my project
please help
love and peace
Damian Corrin

#include <AL/al.h>
	#include <AL/alc.h>
	#include <AL/alext.h>
	//#include <AL/alut.h>
	
	
	
	int main()
	{
		// Initialization
		ALCdevice* device;
		device = alcOpenDevice(NULL); // select the "preferred device"
		
		std::cout << "Hello world" << std::endl;
		return 0;
	}


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://opensource.creative.com/pipermail/openal/attachments/20070622/f368856f/attachment.html


More information about the Openal mailing list