Hi all!
I'm porting a windows application to Linux using the winelib. I created a project with KDevelop and include all ( at least I think all ) the .dll.so needed by my project. After compiling a linker error message appears, saying that /windows/D/ HICOD2000/j2kserver/j2kserver/kdu_server.cpp:2894: undefined reference to `WSAWaitForMultipleEvents' . It happens that I included the ws2_32.dll.so in my project. Am I missing something?
TIA
Unfortunately it is not that easy to use winelib. You can't just link against wine libraries. To use winelib you need to compile your app using "winegcc/wineg++" which are frontends to gcc. These tools handle all complicated wine linking. Note that your app will depend on wine and needs to have wine installed (including the binary loader). In the case you only need a small part of wine you could perhaps try to grab the code from wine...
Roderick
Hi all!
I'm porting a windows application to Linux using the winelib. I created a project with KDevelop and include all ( at least I think all ) the .dll.so needed by my project. After compiling a linker error message appears, saying that /windows/D/ HICOD2000/j2kserver/j2kserver/kdu_server.cpp:2894: undefined reference to `WSAWaitForMultipleEvents' . It happens that I included the ws2_32.dll.so in my project. Am I missing something?
TIA
António Serra
aserra.wine@iol.pt ______________________