|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
undefined referenceI am using "CodeBlocks" and the audio library "Audiere". I want to write a little program that plays a sound (like in the "tutorial.txt"-file included in the download), but after compiling it shows the error message:
undefined reference to `_imp__AdrOpenSampleSource@8' .objs\main.o:main.cpp .text$_ZN7audiere10OpenDeviceEPKcS1_[audiere::OpenDevice(char const*, char const*)]+0x14): undefined reference to `_imp__AdrOpenDevice@8I don't know why the linker can't find this function because I added the "audiere.lib"-file to the linker.
NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf Yahoo! Clever. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Audiere-users mailing list Audiere-users@... https://lists.sourceforge.net/lists/listinfo/audiere-users |
|
|
Re: undefined referenceHello Martin:
Which compiler and which linker are you using? If use GCC, is it the Cygwin version of the MinGW version? -- Matt Campbell Lead Programmer Serotek Corporation www.freedombox.info "The Accessibility Anywhere People" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Audiere-users mailing list Audiere-users@... https://lists.sourceforge.net/lists/listinfo/audiere-users |
|
|
Re: undefined referenceI tested it with different compilers, but the error message is always the same. (How can I find out the linker that I use?)
How can I see which version of the GCC it is? I looked at the menu at "project->build options", but I could not find detailed information, there. Matt Campbell <mattc@...> schrieb: Hello Martin:
NEU: Fragen stellen - Wissen, Meinungen und Erfahrungen teilen. Jetzt auf Yahoo! Clever. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Audiere-users mailing list Audiere-users@... https://lists.sourceforge.net/lists/listinfo/audiere-users |
|
|
Re: undefined referenceProblem is solved. (I tried a wrong way using the linker to add the "audiere.lib" to the project.) Now, everything's okay. ;)
Yahoo! 360° Bloggen und Leute treffen. Erstellen Sie jetzt Ihre eigene Seite kostenlos!. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Audiere-users mailing list Audiere-users@... https://lists.sourceforge.net/lists/listinfo/audiere-users |
| Free embeddable forum powered by Nabble | Forum Help |