GIDForums  

Go Back   GIDForums > Computer Programming Forums > FLTK Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-Dec-2008, 01:54
rioguia rioguia is offline
New Member
 
Join Date: Dec 2008
Posts: 2
rioguia is on a distinguished road

Errors Compiling FLTK2 in Ubuntu


I am attempting to install fltk2 on ubuntu.

after compile, make generated the following errors.

Quote:
ShapedWindow.cxx:53:35: error: X11/extensions/shape.h: No such file or directory
ShapedWindow.cxx: In member function ‘virtual void fltk::ShapedWindow::draw()’:
ShapedWindow.cxx:88: error: ‘ShapeBounding’ was not declared in this scope
ShapedWindow.cxx:89: error: ‘ShapeSet’ was not declared in this scope
ShapedWindow.cxx:89: error: ‘XShapeCombineMask’ was not declared in this scope
make[1]: *** [ShapedWindow.o] Error 1

I saw a similar error posted in this forum at
www.gidforums.com
I observered the same error and fixed it with installation of libx11-dev

I found a similar reference suggesting a solution
Quote:
Default source as checked out fails to build on Ubuntu 8.04 LTS 32bit on
Window_fullscreen.cxx because memset is undefined.
Adding #include <cstring> to the top of the file fixes this but i'm sure
you have a better way.
at www.mail-archive.com

I don't understand the solution suggested above and would appreciate any suggestions on how to proceed.

Thanks
  #2  
Old 04-Dec-2008, 03:20
rioguia rioguia is offline
New Member
 
Join Date: Dec 2008
Posts: 2
rioguia is on a distinguished road

Re: Errors Compiling FLTK2 in Ubuntu


I may have solved this by installing libxext-dev.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linker errors in compiling simple app in mingw. nivek FLTK Forum 2 03-Oct-2007 20:42
Compiling errors in binary tree code rahul_2550 C Programming Language 1 22-Mar-2007 15:07
errors when compiling 'line example' from help > index abakws C++ Forum 9 09-Nov-2006 03:40
FLTK2 (r5253) compiling under Cygwin as Mingw Flannel FLTK Forum 2 10-Jul-2006 16:18
In Need of Some Serious Help...compiling errors [C++] needcishelp C++ Forum 25 21-Dec-2005 01:26

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 15:18.


vBulletin, Copyright © 2000 - 2014, Jelsoft Enterprises Ltd.