Re: [Dev-C++] Linking errors with winmme and dsound libraries.
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Damien <g_...@ho...> - 2003-07-15 12:29:56
|
<html><div style='background-color:'><DIV><mailto:dev...@li...?subject=help><mailto:dev...@li...><mailto:dev...@li...?subject=subscribe><mailto:dev...@li...?subject=unsubscribe> <DIV>>Do I </DIV></DIV> <DIV></DIV>>have to re-compile such libraries with devcpp? (I hope I don't <DIV></DIV> <P>>have).</P> <P>Well, I think you might have to. Try the Import MSVC Project feature(go to File->Import), that might make recompiling those other projects easier. If your librbaries were not static, you could use a mingw util called reimp to convert MSVC libraries to Dev-C++ libraries.</P> <P> </P> <DIV></DIV> <DIV></DIV>>g++.exe devcpp/hellotable.o -o "devcpp\hellotableRT.exe" <DIV></DIV>>-L"C:/Dev-Cpp/lib" -L"../../Libraries/tinyAudioLib/devcpp" <DIV></DIV>>-L"../../Libraries/PortaudioMSVC/devcpp" -lkernel32 -luser32 -lgdi32 <DIV></DIV>>-lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid <DIV></DIV>>-lodbc32 -lodbccp32 -lkernel32 -luser32 -lgdi32 -lwinspool <DIV></DIV>>-lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 <DIV></DIV>>-lodbccp32 -lwinmm -ldsound -lpablioLIB_mme -ltinyAudioLib <DIV></DIV> <DIV></DIV> <DIV></DIV> <P>If in your new project you get linker errors, try placing -lwinmm, and -ldsound <STRONG>after</STRONG> -lpablioLIB_mme and -ltinyAudioLib. Go into the project options(ALT+P), and then to the Linker Parameters, and change the ordering.</P> <DIV></DIV></mailto:dev...@li...?subject=unsubscribe></mailto:dev...@li...?subject=subscribe></mailto:dev...@li...></mailto:dev...@li...?subject=help></div><br clear=all><hr>The new <a href="http://g.msn.com/8HMOEN/2737??PS=">MSN 8:</a> smart spam protection and 2 months FREE* </html> |