VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Dec 12 2005 - 10:02:59 CST
- Next message: John Stone: "Re: lags on VDW"
- Previous message: Michal Kolinski: "Re: fedora core 4 install problem"
- In reply to: Vlad Cojocaru: "compilation from source: make error message"
- Next in thread: Cojocaru,Vlad: "Re: compilation from source: make error message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Vlad,
The FLTK errors you're getting indicate that your build isn't specifying
the right include directory for your installation(s) of FLTK. You need
to edit the configure script's default locations for the FLTK headers:
...
################ FLTK GUI
$fltk_defines = "-DVMDGUI -DVMDFLTK";
$fltk_dir = "$vmd_library_dir/fltk";
$fltk_include = "-I$fltk_dir/include";
$fltk_library = "-L$fltk_dir/$config_arch";
$fltk_libs = "-lfltk -lX11";
The way I have things setup locally is that I symlink vmd/lib/fltk to
a common VMD library dependency install area where I've got FLTK, TCL,
etc. So in my configure script the default settings above work fine.
For people compiling from source elsewhere, you'll either want to use
symlinks like we do, or you'll need to change the "fltk_dir",
"fltk_include", and "fltk_library" settings above to the correct locations
for your FLTK library.
Let me know if you need more help with this.
John Stone
vmd_at_ks.uiuc.edu
On Mon, Dec 12, 2005 at 10:59:36AM +0100, Vlad Cojocaru wrote:
> Dear John, vmd-ers,
> I compiled the plugins correctly with make distrib and now all the
> plugins are indeed located in ./plugins directory. However when I type
> make into the src directory to compile vmd I get the error below. It
> looks like make cannot find some fltk headers (correct me if I am wrong)
> . I installed both fltk and fltk-devel with yast ...
> Vlad
>
> PS1. I tried sending this email from a remote location on Saturday but
> somehow I got an error that the message coulf not be delievered. I
> appologies if you received it twice
>
> PS2. Regarding babel... (for Bogdan) .. as John mentioned I was asking
> about babel just because I wanted to use the plugin for vmd ... but I
> gave up in the meantime because babel doesnt compile on AMD64
>
>
> Compiling VMDApp.C --> VMDApp.o ...
> VMDApp.C:91:22: error: FL/forms.H: No such file or directory
> In file included from VMDApp.C:94:
> MainFltkMenu.h:13:29: error: FL/Fl_Menu_Item.H: No such file or directory
> In file included from MainFltkMenu.h:14,
> from VMDApp.C:94:
> VMDFltkMenu.h:24:26: error: FL/Fl_Window.H: No such file or directory
> In file included from VMDApp.C:97:
> DisplayFltkMenu.h:24:19: error: FL/Fl.H: No such file or directory
> DisplayFltkMenu.h:26:27: error: FL/Fl_Counter.H: No such file or directory
> DisplayFltkMenu.h:27:23: error: FL/Fl_Box.H: No such file or directory
> In file included from VMDApp.C:98:
> FileChooserFltkMenu.h:24:33: error: FL/Fl_Double_Window.H: No such file
> or directory
> FileChooserFltkMenu.h:25:26: error: FL/Fl_Choice.H: No such file or
> directory
> FileChooserFltkMenu.h:26:25: error: FL/Fl_Input.H: No such file or directory
> FileChooserFltkMenu.h:27:26: error: FL/Fl_Button.H: No such file or
> directory
> In file included from VMDApp.C:100:
> GeometryFltkMenu.h:15:33: error: FL/Fl_Multi_Browser.H: No such file or
> directory
> GeometryFltkMenu.h:17:24: error: FL/Fl_Tabs.H: No such file or directory
> GeometryFltkMenu.h:18:25: error: FL/Fl_Group.H: No such file or directory
> GeometryFltkMenu.h:19:26: error: FL/Fl_Output.H: No such file or directory
> GeometryFltkMenu.h:20:32: error: FL/Fl_Value_Output.H: No such file or
> directory
> GeometryFltkMenu.h:22:31: error: FL/Fl_Float_Input.H: No such file or
> directory
> In file included from VMDApp.C:101:
> GraphicsFltkMenu.h:27:32: error: FL/Fl_Hold_Browser.H: No such file or
> directory
> GraphicsFltkMenu.h:29:32: error: FL/Fl_Check_Button.H: No such file or
> directory
> In file included from VMDApp.C:103:
> ToolFltkMenu.h:32:31: error: FL/Fl_Value_Input.H: No such file or directory
> ToolFltkMenu.h:33:32: error: FL/Fl_Round_Button.H: No such file or directory
> VMDFltkMenu.h:36: error: expected class-name before ‘{’ token
> VMDFltkMenu.h:39: error: ‘Fl_Widget’ has not been declared
> MainFltkMenu.h:38: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:38: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:39: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:39: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:40: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:40: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:41: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:41: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:42: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:42: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:43: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:43: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:44: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:44: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:45: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:45: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:46: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:46: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:47: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:47: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:50: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:50: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:51: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:51: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:52: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:52: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:53: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:53: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:54: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:54: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:55: error: ISO C++ forbids declaration of ‘Fl_Menu_Item’
> with no type
> MainFltkMenu.h:55: error: expected ‘;’ before ‘*’ token
> MainFltkMenu.h:70: error: ‘Fl_Widget’ has not been declared
> MainFltkMenu.h:72: error: ‘Fl_Widget’ has not been declared
> MainFltkMenu.h:73: error: ‘Fl_Widget’ has not been declared
> MainFltkMenu.h:74: error: ‘Fl_Widget’ has not been declared
> MainFltkMenu.h:75: error: ‘Fl_Widget’ has not been declared
> MainFltkMenu.h:86: error: ‘Fl_Menu_Item’ has not been declared
> ColorFltkMenu.h:62: error: ‘Fl_Widget’ has not been declared
> ColorFltkMenu.h:63: error: ‘Fl_Widget’ has not been declared
> ColorFltkMenu.h:64: error: ‘Fl_Widget’ has not been declared
> ColorFltkMenu.h:65: error: ‘Fl_Widget’ has not been declared
> ColorFltkMenu.h:66: error: ‘Fl_Widget’ has not been declared
> ColorFltkMenu.h:67: error: ‘Fl_Widget’ has not been declared
> ColorFltkMenu.h:68: error: ‘Fl_Widget’ has not been declared
> ColorFltkMenu.h:69: error: ‘Fl_Widget’ has not been declared
> MaterialFltkMenu.h:52: error: ‘Fl_Widget’ has not been declared
> MaterialFltkMenu.h:53: error: ‘Fl_Widget’ has not been declared
> MaterialFltkMenu.h:54: error: ‘Fl_Widget’ has not been declared
> MaterialFltkMenu.h:55: error: ‘Fl_Widget’ has not been declared
> MaterialFltkMenu.h:56: error: ‘Fl_Widget’ has not been declared
> MaterialFltkMenu.h:57: error: ‘Fl_Widget’ has not been declared
> FileChooserFltkMenu.h:51: error: ISO C++ forbids declaration of
> ‘Fl_Group’ with no type
> FileChooserFltkMenu.h:51: error: expected ‘;’ before ‘*’ token
> FileChooserFltkMenu.h:58: error: ISO C++ forbids declaration of
> ‘Fl_Browser’ with no type
> FileChooserFltkMenu.h:58: error: expected ‘;’ before ‘*’ token
> FileChooserFltkMenu.h:60: error: ‘Fl_Widget’ has not been declared
> FileChooserFltkMenu.h:61: error: ‘Fl_Widget’ has not been declared
> FileChooserFltkMenu.h:62: error: ‘Fl_Widget’ has not been declared
> FileChooserFltkMenu.h:63: error: ‘Fl_Widget’ has not been declared
> SaveTrajectoryFltkMenu.h:62: error: ISO C++ forbids declaration of
> ‘Fl_Group’ with no type
> SaveTrajectoryFltkMenu.h:62: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:60: error: ISO C++ forbids declaration of ‘Fl_Group’
> with no type
> GeometryFltkMenu.h:60: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:61: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:61: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:62: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:62: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:63: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:63: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:64: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:64: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:65: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:65: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:66: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:66: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:67: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:67: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:68: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:68: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:69: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:69: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:70: error: ISO C++ forbids declaration of ‘Fl_Output’
> with no type
> GeometryFltkMenu.h:70: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:71: error: ISO C++ forbids declaration of ‘Fl_Group’
> with no type
> GeometryFltkMenu.h:71: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:79: error: ISO C++ forbids declaration of ‘Fl_Group’
> with no type
> GeometryFltkMenu.h:79: error: expected ‘;’ before ‘*’ token
> GeometryFltkMenu.h:81: error: ISO C++ forbids declaration of
> ‘Fl_Float_Input’ with no type
> GeometryFltkMenu.h:81: error: expected ‘;’ before ‘*’ token
> GraphicsFltkMenu.h:124: error: ISO C++ forbids declaration of ‘Fl_Box’
> with no type
> GraphicsFltkMenu.h:124: error: expected ‘;’ before ‘*’ token
> ToolFltkMenu.h:48: error: ISO C++ forbids declaration of
> ‘Fl_Value_Input’ with no type
> ToolFltkMenu.h:48: error: expected ‘;’ before ‘*’ token
> ToolFltkMenu.h:49: error: ISO C++ forbids declaration of
> ‘Fl_Value_Input’ with no type
> ToolFltkMenu.h:49: error: expected ‘;’ before ‘*’ token
> ToolFltkMenu.h:50: error: ISO C++ forbids declaration of
> ‘Fl_Value_Input’ with no type
> ToolFltkMenu.h:50: error: expected ‘;’ before ‘*’ token
> ToolFltkMenu.h:51: error: ISO C++ forbids declaration of
> ‘Fl_Value_Input’ with no type
> ToolFltkMenu.h:51: error: expected ‘;’ before ‘*’ token
> ToolFltkMenu.h:52: error: ISO C++ forbids declaration of
> ‘Fl_Value_Input’ with no type
> ToolFltkMenu.h:52: error: expected ‘;’ before ‘*’ token
> ToolFltkMenu.h:53: error: ISO C++ forbids declaration of
> ‘Fl_Value_Input’ with no type
> ToolFltkMenu.h:53: error: expected ‘;’ before ‘*’ token
> ToolFltkMenu.h:54: error: ISO C++ forbids declaration of
> ‘Fl_Round_Button’ with no type
> ToolFltkMenu.h:54: error: expected ‘;’ before ‘*’ token
> ToolFltkMenu.h:55: error: ISO C++ forbids declaration of
> ‘Fl_Round_Button’ with no type
> ToolFltkMenu.h:55: error: expected ‘;’ before ‘*’ token
> VMDApp.C: In member function ‘int VMDApp::VMDupdate(int)’:
> VMDApp.C:454: error: ‘Fl’ has not been declared
> VMDApp.C:454: error: no matching function for call to ‘wait::wait(int)’
> /usr/include/bits/waitstatus.h:68: note: candidates are: wait::wait()
> /usr/include/bits/waitstatus.h:68: note: wait::wait(const wait&)
> VMDApp.C: In destructor ‘VMDApp::~VMDApp()’:
> VMDApp.C:551: error: ‘Fl’ has not been declared
> VMDApp.C:551: error: no matching function for call to ‘wait::wait(int)’
> /usr/include/bits/waitstatus.h:68: note: candidates are: wait::wait()
> /usr/include/bits/waitstatus.h:68: note: wait::wait(const wait&)
> VMDApp.C: In member function ‘char* VMDApp::vmd_choose_file(const char*,
> const char*, const char*, int)’:
> VMDApp.C:656: error: ‘fl_file_chooser’ was not declared in this scope
> make: *** [VMDApp.o] Error 1
>
>
> --
>
>
> Dr. Vlad Cojocaru
> EML Research gGmbH
> Molecular and Cellular Modeling Group
> Villa Bosch
> Schloss-Wolfsbrunnenweg 33
> 69118 Heidelberg
> Germany
> Phone: +49-6221-533266
> Fax: +49-6221-533298
> e-mail: Vlad.Cojocaru_at_eml-r.villa-bosch.de
> <mailto:Vlad.Cojocaru_at_eml-r.villa-bosch.de>
> Additional info: my home page
> <http://projects.villa-bosch.de/mcm/people/cojocaru/>
>
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: John Stone: "Re: lags on VDW"
- Previous message: Michal Kolinski: "Re: fedora core 4 install problem"
- In reply to: Vlad Cojocaru: "compilation from source: make error message"
- Next in thread: Cojocaru,Vlad: "Re: compilation from source: make error message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]