i'm new to dev-c++ it looks good but don't understand the error messages. i'm trying to run Fmod MP3 player example on this site, it compiles without error but the linker gives this message and doesn't run.
[c:/unzipped/fmod_mp3_cpp_devc/playing mp3 and wav using fmod/main.o(.text+0x69b):main.cpp: undefined reference to `CFmod::CFmod(void)']
is there anywhere i can find information on the errors messages?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thanks Curtis , i just get this error message now [g++: c:\unzipped\fmod_mp3_cpp_devc\playing mp3 and wav using fmod\libfmod.a: linker input file unused since linking not done]
i guess i'm not linking properly, i'm not sure how. i've tryed adding the path of the file in to the field for the objects in the project options and tried adding the actual file to the project and rebuilding but i'm sure this is not right. how do i link properly?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try this.
add this line to your Project options under "Linker Options..."
libfmod.a
then make sure that the libfmod.a file is in your project folder. You do not have to add this file to your project. Just that line. If it compiles, Great. If not, then goto ftp://curtis.servebeer.com , log in as an anon, and upload all the files required for your lab.
If you get a error messagebox, after running your prog, then make sure the fmod.dll file is in the same directory as the .exe
Curtis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The FMod license is as follows...
Free
Yes that's right, if your product is not intended to make any money, and is not charged for in any way, then you may use FMOD in it for FREE!
Many people use it for free until their commercial product is about to be published. This is a great way to evaluate FMOD and see if it suits your needs without any obligations.
There are other ways to implement sound like openal http://www.openal.org/home/
I personally like fmod myself, but can't afford it if I were to make something to sell.
Curtis
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i reinstalled the "FMod_MP3_Cpp_DEVC" file, i still get this error tho, not sure why? [c:/unzipped/fmod_mp3_cpp_devc/playing mp3 and wav using fmod/main.cpp:68: implicit declaration of function `int _kbhit(...)']
anyway.. i hacked around it and did what you said, and now its working.
thank you its give me a good start.
ps the license thing is not a problem at the moment my programs are not good enougth, besides i just do it for fun.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i reinstalled the "FMod_MP3_Cpp_DEVC" file, i still get this error tho, not sure why? [c:/unzipped/fmod_mp3_cpp_devc/playing mp3 and wav using fmod/main.cpp:68: implicit declaration of function `int _kbhit(...)']
anyway.. i hacked around it and did what you said, and now its working.
thank you its give me a good start.
ps the license thing is not a problem at the moment my programs are not good enougth, besides i just do it for fun.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i'm new to dev-c++ it looks good but don't understand the error messages. i'm trying to run Fmod MP3 player example on this site, it compiles without error but the linker gives this message and doesn't run.
[c:/unzipped/fmod_mp3_cpp_devc/playing mp3 and wav using fmod/main.o(.text+0x69b):main.cpp: undefined reference to `CFmod::CFmod(void)']
is there anywhere i can find information on the errors messages?
are you including the libfmod.a file in your project? You must link this file for Fmod to work.
Curtis
thanks Curtis , i just get this error message now [g++: c:\unzipped\fmod_mp3_cpp_devc\playing mp3 and wav using fmod\libfmod.a: linker input file unused since linking not done]
i guess i'm not linking properly, i'm not sure how. i've tryed adding the path of the file in to the field for the objects in the project options and tried adding the actual file to the project and rebuilding but i'm sure this is not right. how do i link properly?
Try this.
add this line to your Project options under "Linker Options..."
libfmod.a
then make sure that the libfmod.a file is in your project folder. You do not have to add this file to your project. Just that line. If it compiles, Great. If not, then goto ftp://curtis.servebeer.com , log in as an anon, and upload all the files required for your lab.
If you get a error messagebox, after running your prog, then make sure the fmod.dll file is in the same directory as the .exe
Curtis
Just a note...
The FMod license is as follows...
Free
Yes that's right, if your product is not intended to make any money, and is not charged for in any way, then you may use FMOD in it for FREE!
Many people use it for free until their commercial product is about to be published. This is a great way to evaluate FMOD and see if it suits your needs without any obligations.
There are other ways to implement sound like openal http://www.openal.org/home/
I personally like fmod myself, but can't afford it if I were to make something to sell.
Curtis
i reinstalled the "FMod_MP3_Cpp_DEVC" file, i still get this error tho, not sure why? [c:/unzipped/fmod_mp3_cpp_devc/playing mp3 and wav using fmod/main.cpp:68: implicit declaration of function `int _kbhit(...)']
anyway.. i hacked around it and did what you said, and now its working.
thank you its give me a good start.
ps the license thing is not a problem at the moment my programs are not good enougth, besides i just do it for fun.
i reinstalled the "FMod_MP3_Cpp_DEVC" file, i still get this error tho, not sure why? [c:/unzipped/fmod_mp3_cpp_devc/playing mp3 and wav using fmod/main.cpp:68: implicit declaration of function `int _kbhit(...)']
anyway.. i hacked around it and did what you said, and now its working.
thank you its give me a good start.
ps the license thing is not a problem at the moment my programs are not good enougth, besides i just do it for fun.