OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.

Static library version

christolb29
Beginner
119 Views
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.
0 Kudos
1 Reply
christolb29
Beginner
119 Views

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