User forums > Help

code blocks having trouble with fmob and irrklang

(1/2) > >>

veeman28:
hi  :)  im new with code blocks so hope im in the rite place for this

i downloaded code blocks about a week ago so i could learn c++
got SFML working on it and had a play around with that so i thought
i would have a go at playing with mp3's so i got irrklang but couldn't
get it working so i tried FMOD but couldent get that working either  :(

I get errors like:-

--- Quote ---E:\c++ proj\sound1\main.cpp|53|undefined reference to `FMOD::System::getVersion(unsigned int*)@8'|
--- End quote ---

been tryin to figure out what i'm doing wrong for 3 days now but my head
has started hurting!!!! can anyone help???

thanks :)

MortenMacFly:

--- Quote from: veeman28 on February 22, 2012, 08:14:50 pm ---
--- Quote ---E:\c++ proj\sound1\main.cpp|53|undefined reference to `FMOD::System::getVersion(unsigned int*)@8'|
--- End quote ---

--- End quote ---
So why don't you ask the FMOD people? This is a Code::Blocks forum.

veeman28:
ahh ok i'll try that thanks :)

veeman28:
not having much luck with FMOD forum so if anyone can help
here it will be much appreciated

gonna get some kip so i'll check my posts tomoz

cheerz 

stahta01:
Learn to post the compiler name and version when you ask for help in a forum thread.

Turn on Full Compiler Logging
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F

Read how to ask a smart question is a good thing to do and also understand.
http://catb.org/esr/faqs/smart-questions.html#forum

FYI: I never heard of this library before today; but, just looking at a few links implies you NEED to use C instead of C++ to link the library correctly with the MinGW GCC compiler.
I suggest using the C example code.
http://stackoverflow.com/questions/8309342/compiling-fmod-using-gcc-on-windows

Once you get that to work; find a programming site to teach you how to mix C and C++ code.
WARNING: This NOT a site that supports programming questions on how to mix C and C++ code.

Tim S.



Navigation

[0] Message Index

[#] Next page

Go to full version