Results 1 to 5 of 5

Thread: Problem building OpenCL with Mingw

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem building OpenCL with Mingw

    Thanks Chris for the help I appreciate it,

    I was able to add the include, but then I am getting another errors related to cl.h and cl_platform.h
    Qt Code:
    1. C:\OpenCL\examples\opencl\colorize\..\..\..\src\opencl\qclglobal.h:88: error: CL/cl_platform.h: No such file or directory
    2.  
    3. C:\OpenCL\examples\opencl\colorize\..\..\..\src\opencl\qclglobal.h:89: error: CL/cl.h: No such file or directory
    To copy to clipboard, switch view to plain text mode 

    Is it the same problem related to libraries you were talking about? Could you tell which library is missing please?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Problem building OpenCL with Mingw

    Yes. QtOpenCL is built on top of OpenCL, and these errors look like you do not have OpenCL installed.

    If OpenCL is built and installed then you may need to adjust the INCLUDEPATH entry in the QtOpenCL pro file in order that things like these includes are found. You would also need to adjust the LIBS variable so that link libraires can be found.

  3. The following user says thank you to ChrisW67 for this useful post:

    maissiou23 (23rd March 2012)

  4. #3
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem building OpenCL with Mingw

    Thanks you made my day

Similar Threads

  1. [SOLVED]building Qt using GCC 4.5.2 Mingw
    By simpler_efil in forum Newbie
    Replies: 0
    Last Post: 2nd May 2011, 13:59
  2. OpenCL performance
    By mhoover in forum General Programming
    Replies: 0
    Last Post: 20th April 2011, 07:44
  3. Problem building Qwt 5.2.0 with MinGW
    By spatten in forum Qwt
    Replies: 6
    Last Post: 19th March 2010, 11:09
  4. Building PythonQt with MinGW
    By givemeaname in forum Qt Programming
    Replies: 6
    Last Post: 9th March 2010, 08:20
  5. Building Qt 4.3.4 on Win Vista & MinGW
    By Sirow in forum Installation and Deployment
    Replies: 2
    Last Post: 28th April 2008, 18:27

Tags for this Thread

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
  •  
Qt is a trademark of The Qt Company.