Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QtPlugin using CUDA Libraries
QtWS25 Last Chance

QtPlugin using CUDA Libraries

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mane02
    wrote on last edited by
    #1

    Hi Guys!

    Actually I'm developing a desktop application showing OpenEXR images. OpenEXR is an open HDR format so tone mapping is neccessary to show a rgb picture on screen. Users of the application should be capable to implement their own tone mappers. So I implemented a plugin interface and also use it myself to implement different tone mappers an filter functions. The application is compiled in 64bit.
    One function is using the CUDA-API by Nvidia and is already running fine within another software. The plugin implementation using CUDA is compiling an linking. But QPluginLoader::instance() returns 0 when try loading the plugin with CUDA. When removing CUDA the plugin is loaded. So I guess the plugin interface is implemented correct in the plugin. Has anyone experiences with CUDA (or may be other external libraries) used in QtPlugins???

    I'm thankful for every help!!!

    Greetz
    Mane

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Did you check the value of errorString() ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mane02
        wrote on last edited by
        #3

        Hi,

        thanks for your try to help me, but I solved it already. I had forgotten to copy the CUDA.dlls into my directory so the plugins couldn't be loaded due to their dependencies to CUDA.

        Bye!

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on last edited by
          #4

          Glad you got it solved and that it was an easy fix! Please be sure and edit your first post to prepend [Solved] to the beginning of the title. Thanks!

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved