Results 1 to 3 of 3

Thread: Exception issue

  1. #1

    Default [SOLVED] Exception issue

    Hi,

    I have compile CL from source without error on Linux ( opensuse 11.3 x86_64 ).
    After succeed Console "hello" word I have try the display "hello world" tutorial (http://clanlib.org/wiki/MainDocsisplay_%22Hello_World%22_Example) and it throw this exception :

    Code:
    Exception caught: Unable to link the standard shader program: 'sprite' Error:i965 driver doesn't yet support uninlined function calls.  Move to using a single return statement at the end of the function to work around it.
    #0 CL_Exception::CL_Exception(CL_String8 const&) (/usr/lib/libclan22Core-2.2.so.1)
    #1 CL_OpenGLGraphicContextProvider::CL_OpenGLGraphicContextProvider(CL_RenderWindowProvider const*) (/usr/lib/libclan22GL-2.2.so.1)
    #2 CL_OpenGLWindowProvider_GLX::create(CL_DisplayWindowSite*, CL_DisplayWindowDescription const&) (/usr/lib/libclan22GL-2.2.so.1)
    #3 CL_DisplayWindow::CL_DisplayWindow(CL_StringRef8 const&, int, int, bool, bool, int, CL_DisplayTarget) (/usr/lib/libclan22Display-2.2.so.1)
    #4  (displayproject)
    #5 main (/usr/lib/libclan22App-2.2.so.1)
    #6 __libc_start_main (/lib64/libc.so.6)
    #7  (displayproject)
    If anyone kown how to solve , I'm interested .
    Thx.
    Last edited by firnafin; 03-09-2011 at 10:49 AM.

  2. #2
    ClanLib Developer
    Join Date
    May 2007
    Posts
    1,824

    Default

    Exception caught: Unable to link the standard shader program: 'sprite' Error:i965 driver doesn't yet support uninlined function calls. Move to using a single return statement at the end of the function to work around it.
    The graphic card driver does not support GLSL properly. You can try updating the driver (if possible).

    Or switch to the GL1 or SWRender target.

    Change: #include <ClanLib/gl.h>
    To: #include <ClanLib/gl1.h> <--- OpenGL 1.3
    Or: #include <ClanLib/swrender.h> <--- Software rendering

    And Change: CL_SetupGL setup_gl;
    To: CL_SetupGL1 setup_gl1;
    Or: CL_SetupSWRender setup_swrender;

  3. #3

    Default

    Thx. It work fine now.

Similar Threads

  1. Unhandled Exception, help?
    By lordhogfred in forum Official ClanLib SDK Forums
    Replies: 3
    Last Post: 02-22-2010, 08:26 AM
  2. PNG Alpha Channel Issue
    By doon in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 01-20-2010, 06:46 PM
  3. open gl issue
    By thirun in forum Official ClanLib SDK Forums
    Replies: 1
    Last Post: 11-19-2009, 08:59 AM
  4. Graphic Overlay Issue
    By jmguy02 in forum Official ClanLib SDK Forums
    Replies: 0
    Last Post: 04-07-2009, 02:53 AM
  5. Latest Beta Bug/Issue
    By SLATE in forum Funeral Quest
    Replies: 5
    Last Post: 09-03-2004, 06:09 AM

Bookmarks

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
  •