arggg !!! please help

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
newbie

arggg !!! please help

Post by newbie »

hi,

I use DevCpp with the pack irrlichit 0.6 and audiere 1.9.3 and
I compile techdemo but i have 3 error link but i don't understand this :


[Linker error] undefined reference to `_imp__AdrOpenDevice@8'

[Linker error] undefined reference to `_imp__AdrOpenSampleSource@8'

[Linker error] undefined reference to `_imp__AdrOpenSound@12'

I know the last one it's possible to audiere but :?:

please help thx
Luke923
Posts: 59
Joined: Wed Nov 05, 2003 5:26 am

Post by Luke923 »

I'm not too knowledgeable when it comes to Dev-C++, but I can tell you without a doubt that all three are issues stemming from linking to audiere as all three are audiere objects.
"Object-oriented programming is an exceptionally bad idea which could only have originated in California."
- E.W. Dijkstra
NinjaNL
Posts: 19
Joined: Sat Mar 27, 2004 6:53 pm

Post by NinjaNL »

Find the Audiere.lib file, copy it to your dev-cpp\lib directory.

In Project - Project Options - Parameters click on "Add library or object", browse to your dev-cpp\lib directory, find audiere.lib, double click on it.

Click on OK.

Compile and run
newbie

yes but ....

Post by newbie »

i make that, but that depence to version no what is the good version for this
newbie

yes ok ...

Post by newbie »

i find the probleme thank you NinjaNL

but :oops: i have a new problem :

timeForThisScene = -1; negative to unsigned ????

C:\Dev-Cpp\SOURCES JEUX\Nouveau FunFire 3D\CDemo.cpp
In member function `void CDemo::switchToNextScene()':

245 C:\Dev-Cpp\SOURCES JEUX\Nouveau FunFire 3D\demo.cpp
[Warning] assignment of negative value `-1' to `u32'

245 C:\Dev-Cpp\SOURCES JEUX\Nouveau FunFire 3D\demo.cpp
[Warning] argument of negative value `-1' to `unsigned int'
NinjaNL
Posts: 19
Joined: Sat Mar 27, 2004 6:53 pm

Post by NinjaNL »

Don't worry, the last two are errors because the program is using an UNSIGNED integer which goes from 0 upwards. Assigning a negative number to it is a nono, but compile the program. then Run it. It should work, 'cos I get the same errors and mine runs.
newbie

all right ...

Post by newbie »

oki it's copile but it's make just :

in ms-dos :
uncompress(); hello, hello!
gzread(): hello, hello!
gzgets() after gzseek:hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync() : hello, hello!
inflate with dictionary : hello, hello!

and ... nothing :(
NinjaNL
Posts: 19
Joined: Sat Mar 27, 2004 6:53 pm

Post by NinjaNL »

Are the path's to the media correct?

I had to edit these when I compiled the program to point to the media in the dev-cpp\examples\irrlicht directory.
mrbig
Posts: 29
Joined: Wed Mar 17, 2004 5:38 am
Location: lakeland, Florida
Contact:

same thing

Post by mrbig »

i had the same problem with the techdemo did you inport the vc++ project file
newbie

mrbig your response

Post by newbie »

you forget add the audiere.lib and irrlciht.lib in the link ;)

for me it's oki i use VC++ now

THX all
Jedive
Posts: 146
Joined: Wed Apr 28, 2004 5:51 pm

Post by Jedive »

How did you compile Audiere for Dev-C++?

[EDIT:]Oh! I have discovered that you can directly link with the VC++ .lib file! That's cool!
Last edited by Jedive on Mon May 03, 2004 6:56 pm, edited 1 time in total.
NinjaNL
Posts: 19
Joined: Sat Mar 27, 2004 6:53 pm

Post by NinjaNL »

Jedive wrote:How did you compile Audiere for Dev-C++?
Not sure if this is what you mean, but there is a dev-pak for Audiere. It can be downloaded from http://gproductions.dazart.de/index.php a group working on their own engine which compiles under Dev-Cpp.

Drop ZoE a PM, since the DevPak is not mentioned on the site as such. ZoE created a DevPak for Audiere for me, but if you register in the forums, free, and look under the news/new devpak suggestion thread, you will find a link for the Audiere devpak. Worth getting if you work with Dev-Cpp, I managed to get the wxplayer working too, with very little work.

It is less than 600K download, so I could mail it to you if you want, but these guys are doing some great work, so credit where credit is due, and give their site a once over, thank them for their work with the devpaks and suggest others.
Post Reply