Results 1 to 8 of 8

Thread: Can't build QtOpenCl on mac snow leopard

  1. #1
    Join Date
    Nov 2010
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Can't build QtOpenCl on mac snow leopard

    Hi guys,

    I have a simple problem. I can't build and install QtOpenCL under mac os x snow leopard. The OpenCL framework is provided by Apple and it's working. When I try to run the configure script (I even specified headers and libs folders) the result is always:



    Qt Code:
    1. This is the QtOpenCL configuration utility.
    2.  
    3. opencl auto-detection... ()
    4. gmake: *** Nessun obiettivo specificato e nessun makefile trovato. Stop.
    5. opencl disabled.
    6. openclgl auto-detection... ()
    7. gmake: *** Nessun obiettivo specificato e nessun makefile trovato. Stop.
    8. openclgl disabled.
    9. opencl11 auto-detection... ()
    10. gmake: *** Nessun obiettivo specificato e nessun makefile trovato. Stop.
    11. opencl11 disabled.
    12. Qt version ............. 4.7.0
    13. qmake .................. /usr/bin/qmake
    14. OpenCL 1.0 ............. no
    15. OpenCL 1.1 ............. no
    16. OpenCL/OpenGL interop .. no
    17. Extra QMAKE_CXXFLAGS ...
    18. Extra INCLUDEPATH ......
    19. Extra LIBS ............. -framework OpenCL
    20.  
    21. Could not detect an OpenCL implementation ... aborting
    To copy to clipboard, switch view to plain text mode 


    Does anyone here managed to build this module?

    Thx

  2. #2
    Join Date
    Nov 2010
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Can't build QtOpenCl on mac snow leopard

    No one tried it?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can't build QtOpenCl on mac snow leopard

    It builds fine for me on Linux. It seems the script can't find your OpenCL files, you need to pass some switches to configure to tell it where to look for them.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  4. #4
    Join Date
    Nov 2010
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Can't build QtOpenCl on mac snow leopard

    In linux for me too. Under mac I used avery kind of switch. If I open the .pro file and compile it with qtcreator it recognizes apple opencl framework without any modification and compiles fine ( the problem here is that it compiles the libs, but I don't know which .h files I need to use it in other projects ). So it's probably an error in the configure.sh script..

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can't build QtOpenCl on mac snow leopard

    Quote Originally Posted by shaolin View Post
    the problem here is that it compiles the libs, but I don't know which .h files I need to use it in other projects
    The ones from QtOpenCL.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. #6
    Join Date
    Nov 2010
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Can't build QtOpenCl on mac snow leopard

    every header used in the project?

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Can't build QtOpenCl on mac snow leopard

    Quote Originally Posted by shaolin View Post
    every header used in the project?
    The ones without the _p suffix.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  8. #8
    Join Date
    Nov 2010
    Posts
    27
    Thanks
    4
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Can't build QtOpenCl on mac snow leopard

    ok thank you!

Similar Threads

  1. Qt Nokia SDK 1.0 (beta) on Mac os X Snow Leopard
    By SlowTree in forum Installation and Deployment
    Replies: 1
    Last Post: 24th September 2010, 12:50
  2. Proper installation of QT 4.6 on Snow Leopard?
    By unix7777 in forum Installation and Deployment
    Replies: 0
    Last Post: 17th October 2009, 22:18
  3. Qt4 on Snow Leopard with 32-bit (Core Duo) processor
    By titaniumdecoy in forum Installation and Deployment
    Replies: 1
    Last Post: 27th September 2009, 01:00
  4. PyQt4 on Snow Leopard in 64 bit
    By bgturk in forum Installation and Deployment
    Replies: 0
    Last Post: 15th September 2009, 20:53
  5. snow leopard broke my QT
    By rogerholmes in forum Installation and Deployment
    Replies: 11
    Last Post: 2nd September 2009, 08:18

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.