[Qt-interest] QTCreator + CUDA seems to crash my program

Cole, Derek dcole at integrity-apps.com
Fri Jan 28 04:07:29 CET 2011


Hello all,

I have a library that I have been using for a while within my QTCreator project. Recently, I developed some CUDA methods that one of those library functions can call if the library was compiled with -DUSING_CUDA. The whole library is archived into a .a file

I am trying to continue using that library, however, now my QTCreator project crashes. I was able to get it to compile by adding the cuda shared libraries to the LIBs in the makefile generated by QTCreator, so that was the first hurdle.

Now, however, whenever I call some functions in that library (unrelated to the CUDA stuff), my program crashes and says it has unexpectedly finished.

Is there something I dont know about using libraries that have CUDA components linked into them from QT? When I build out a driver to test the functionality of my library with the CUDA functions, it runs fine, and doesnt crash.

Thanks

Derek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110127/857a7746/attachment.html 


More information about the Qt-interest-old mailing list