Static library version

Static library version

Hello,I would like to compile my OpenCL Host program with MinGW, but it seems not to work well with OpenCL.dll, as the program crashes on the first OpenCL function call.Debugging disassembly code with gdb shows that the code after the JMP goes to incorrect area, and leads to seg fault.Then I want to create a static version of the library, which could solve some compatibility problems. Do you provide any static version of your library? Is your .dll protected against such a conversion?Thank you.

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Problem solved usingExplicit run-time linking, instead of the import library.

Accedere per lasciare un commento.