Molcas Forum

Support and discussions for Molcas and OpenMolcas users and developers

You are not logged in.

Announcement

Welcome to the Molcas forum. You can choose an avatar and change the default style by going to "Profile" → "Personality" or "Display".

#1 2024-09-23 22:08:22

angeloraymondrossi
Member
Registered: 2024-04-04
Posts: 19

Luscus Compile Error

Hello,

I am hoping someone can help me with the error below.   I am running the latest and greatest version of Debian which I thought has all the required ingredients.

Mon Sep 23 16:32:03 [rossi@debian13 ~]$lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux trixie/sid
Release:	n/a
Codename:	trixie


locate glu.h
/usr/include/GL/glu.h

llocate libGLU
/home/rossi/Downloads/Gaussian16/GaussView6/tar/gv/lib/MesaGL/libGLU.so.1
/home/rossi/Downloads/gaussian-old/gv509/lib/MesaGL/libGLU.so.1
/home/rossi/gaussian/gv/lib/MesaGL/libGLU.so.1
/usr/lib/x86_64-linux-gnu/libGLU.a
/usr/lib/x86_64-linux-gnu/libGLU.so
/usr/lib/x86_64-linux-gnu/libGLU.so.1
/usr/lib/x86_64-linux-gnu/libGLU.so.1.3.1

locate gtk+-
/usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-3.0.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-broadway-3.0.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-unix-print-3.0.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-wayland-3.0.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/gtk+-x11-3.0.pc

OpenGL is all there.  Trust me

locate gtkglext
/home/rossi/Downloads/workshop/Gabedit64/lib/libgtkglext-x11-1.0.so.0
/usr/lib/x86_64-linux-gnu/libgtkglext-x11-1.0.so.0
/usr/lib/x86_64-linux-gnu/libgtkglext-x11-1.0.so.0.0.0
/usr/share/doc/libgtkglext1
/usr/share/doc/libgtkglext1/README
/usr/share/doc/libgtkglext1/TODO
/usr/share/doc/libgtkglext1/changelog.Debian.amd64.gz
/usr/share/doc/libgtkglext1/changelog.Debian.gz
/usr/share/doc/libgtkglext1/changelog.gz
/usr/share/doc/libgtkglext1/copyright
/usr/share/lintian/overrides/libgtkglext1
/var/cache/apt/archives/libgtkglext1_1.2.0-11+b1_amd64.deb
/var/cache/apt/archives/libgtkglext1_1.2.0-11+b2_amd64.deb
/var/lib/dpkg/info/libgtkglext1:amd64.list
/var/lib/dpkg/info/libgtkglext1:amd64.md5sums
/var/lib/dpkg/info/libgtkglext1:amd64.shlibs
/var/lib/dpkg/info/libgtkglext1:amd64.triggers

Can you help with the error below?

Thank you.

Regards,

Angelo


Mon Sep 23 15:52:34 [rossi@debian12 luscus_0.8.6]$cd build
Mon Sep 23 15:52:38 [rossi@debian12 build]$cmake ..
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1")
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for strcasestr
-- Looking for strcasestr - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Configuring done (1.1s)
-- Generating done (0.0s)
-- Build files have been written to: /home/rossi/Downloads/workshop/luscus_0.8.6/build
Mon Sep 23 15:52:41 [rossi@debian12 build]$make
[  2%] Building C object CMakeFiles/luscus.dir/main.c.o
[  5%] Building C object CMakeFiles/luscus.dir/gtk_gui.c.o
/home/rossi/Downloads/workshop/luscus_0.8.6/gtk_gui.c: In function 'Init_Gui':
/home/rossi/Downloads/workshop/luscus_0.8.6/gtk_gui.c:4476:3: warning: 'gdk_color_parse' is deprecated: Use 'gdk_rgba_parse' instead [-Wdeprecated-declarations]
 4476 |   gdk_color_parse("white", &white);
      |   ^~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gdk/gdkcairo.h:26,
                 from /usr/include/gtk-3.0/gdk/gdk.h:33,
                 from /usr/include/gtk-3.0/gtk/gtk.h:30,
                 from /home/rossi/Downloads/workshop/luscus_0.8.6/gtk_gui.c:5:
/usr/include/gtk-3.0/gdk/deprecated/gdkcolor.h:79:11: note: declared here
   79 | gboolean  gdk_color_parse     (const gchar    *spec,
      |           ^~~~~~~~~~~~~~~
/home/rossi/Downloads/workshop/luscus_0.8.6/gtk_gui.c:4513:3: warning: 'gtk_widget_modify_base' is deprecated: Use 'CSS style classes' instead [-Wdeprecated-declarations]
 4513 |   gtk_widget_modify_base(eventbox, GTK_STATE_NORMAL, &white);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:277:
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:761:13: note: declared here
  761 | void        gtk_widget_modify_base        (GtkWidget            *widget,
      |             ^~~~~~~~~~~~~~~~~~~~~~
/home/rossi/Downloads/workshop/luscus_0.8.6/gtk_gui.c:4514:3: warning: 'gtk_widget_modify_fg' is deprecated: Use 'gtk_widget_override_color' instead [-Wdeprecated-declarations]
 4514 |   gtk_widget_modify_fg(eventbox, GTK_STATE_NORMAL, &white);
      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:749:13: note: declared here
  749 | void        gtk_widget_modify_fg          (GtkWidget            *widget,
      |             ^~~~~~~~~~~~~~~~~~~~
/home/rossi/Downloads/workshop/luscus_0.8.6/gtk_gui.c:4515:3: warning: 'gtk_widget_modify_bg' is deprecated: Use 'gtk_widget_override_background_color' instead [-Wdeprecated-declarations]
 4515 |   gtk_widget_modify_bg(eventbox, GTK_STATE_NORMAL, &white);
      |   ^~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:753:13: note: declared here
  753 | void        gtk_widget_modify_bg          (GtkWidget            *widget,
      |             ^~~~~~~~~~~~~~~~~~~~
/home/rossi/Downloads/workshop/luscus_0.8.6/gtk_gui.c:4524:3: warning: 'gtk_widget_modify_base' is deprecated: Use 'CSS style classes' instead [-Wdeprecated-declarations]
 4524 |   gtk_widget_modify_base(eventbox, GTK_STATE_NORMAL, &white);
      |   ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/gtk-3.0/gtk/deprecated/gtkstyle.h:761:13: note: declared here
  761 | void        gtk_widget_modify_base        (GtkWidget            *widget,

....

....

home/rossi/Downloads/workshop/luscus_0.8.6/gv_notebook.c:3158:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations]
 3158 |   else image = gtk_image_new_from_stock(GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_BUTTON);
      |   ^~~~
/usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here
  122 | GtkWidget* gtk_image_new_from_stock     (const gchar     *stock_id,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
/home/rossi/Downloads/workshop/luscus_0.8.6/gv_notebook.c:3158:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
 3158 |   else image = gtk_image_new_from_stock(GTK_STOCK_MEDIA_PLAY, GTK_ICON_SIZE_BUTTON);
      |   ^~~~
make[2]: *** [CMakeFiles/luscus.dir/build.make:132: CMakeFiles/luscus.dir/gv_notebook.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:156: CMakeFiles/luscus.dir/all] Error 2
make: *** [Makefile:136: all] Error 2


      |

Offline

#2 2024-10-02 18:31:58

valera
Administrator
Registered: 2015-11-03
Posts: 131

Re: Luscus Compile Error

It sounds as too new GCC compiler.

Offline

Board footer

Powered by FluxBB 1.5.11

Last refresh: Today 00:30:55