bugGNU Octave - Bugs: bug #44275, Compilation failure due to openGL

 
 

bug #44275: Compilation failure due to openGL

Submitter:  Guillaume <gyom>
Submitted:  Mon 16 Feb 2015 04:24:52 PM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Guillaume Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Mar 2015 01:19:04 PM UTC, comment #5: 

Thanks Mike - it seems that compilation runs fine again using the current default branch.

Guillaume <gyom>
Sat 07 Mar 2015 09:41:37 PM UTC, comment #4: 

Can you try building the current default branch and see if this works for you now with the same configuration options? I made a change to fix building with all optional libraries disabled and this error message looks similar to what I was seeing.

http://hg.savannah.gnu.org/hgweb/octave/rev/06979876af7d

Mike Miller <mtmiller>
Group Member
Fri 20 Feb 2015 01:54:57 PM UTC, comment #3: 

I tried to compile again with "--disable-gui" only from latest revision (52e625f0e361) but I still get an error at compilation. This time it is:


dldfcn/__osmesa_print__.cc: In function ‘octave_value_list F__osmesa_print__(const octave_value_list&, int)’:
dldfcn/__osmesa_print__.cc:200:19: error: ‘glps_renderer’ was not declared in this scope
dldfcn/__osmesa_print__.cc:200:33: error: expected ‘;’ before ‘rend’
dldfcn/__osmesa_print__.cc:201:19: error: ‘rend’ was not declared in this scope
make[3]: *** [dldfcn/dldfcn___osmesa_print___la-__osmesa_print__.lo] Error 1


Guillaume <gyom>
Tue 17 Feb 2015 05:47:56 PM UTC, comment #2: 

I am compiling with "--without-opengl --disable-gui --without-framework-opengl" at the moment.
The problem I have now is very similar to the one that was reported and fixed in #44017.

Guillaume <gyom>
Tue 17 Feb 2015 04:04:12 PM UTC, comment #1: 

So it's possible to have OSMesa installed but not OpenGL?

Looking at the configure script, there appears to be some additional confusion now about "native graphics" because it is disabled if OpenGL support is missing from FLTK, but FLTK is not strictly required to have "native graphics" now.  I'll try to sort this out.

What requirements are there for compiling with OSMesa?  OpenGL libraries or just headers to define types?  And which headers are required?

John W. Eaton <jwe>
Group administrator
Mon 16 Feb 2015 04:24:52 PM UTC, original submission:  

Recent changes with print do not compile without openGL:

In file included from dldfcn/__osmesa_print__.cc:34:0:
corefcn/gl-render.h:125:29: error: ‘GLsizei’ has not been declared
corefcn/gl-render.h:125:40: error: ‘GLsizei’ has not been declared
corefcn/gl-render.h:125:51: error: ‘GLenum’ has not been declared
corefcn/gl-render.h:126:29: error: ‘GLenum’ has not been declared
corefcn/gl-render.h:126:48: error: ‘GLvoid’ does not name a type
corefcn/gl-render.h:126:56: error: ISO C++ forbids declaration of ‘data’ with no type
dldfcn/__osmesa_print__.cc: In function ‘octave_value_list F__osmesa_print__(const octave_value_list&, int)’:
dldfcn/__osmesa_print__.cc:179:19: error: ‘glps_renderer’ was not declared in this scope
dldfcn/__osmesa_print__.cc:179:33: error: expected ‘;’ before ‘rend’
dldfcn/__osmesa_print__.cc:180:19: error: ‘rend’ was not declared in this scope


Guillaume <gyom>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by zeuz
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-09 mtmiller StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2015-02-25 zeuz Carbon-Copy- Added zeuz
    2015-02-22 mtmiller CategoryNone Configuration and Build System
        StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code