Trouble linking with OpenCL.lib

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Trouble linking with OpenCL.lib

Marko Grdinic
For the past few hours, I've been trying to make the simple OpenCL example run. Following the instructions in that link, it compiles into an .exe, but crashes without message once it is run.

I've also tried following the instructions in this SO post without much success. Reimp fails saying that OpenCL.lib that comes with Cuda 7.5 is corrupt or invalid, and fetching a .def file from one of the posts and using the dlltool produces libOpenCL.a. Unfortunately, when I try to link with it I get various errors whose details can be found at the bottom of the issue page.

I am sure it is not linking properly with the OpenCL library, but I have no idea how to fix it at this point. I've also tried the example with Visual C++ and it works without a problem.

I would appreciate it if somebody more knowledgeable could give me a few pointers. Thanks.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe
Loading...