First of all: THANKS for bringing xsnow back to life, every Christmas I was looking for it.
I am trying to get it to work on CentOS.
I had to install:
yum install libX11-devel libXt-devel libXext-devel gtk3-devel gsl-devel gcc-c++
It configures fine now, but at make I get the following error.
Do you have any idea how to solve that?
Thanks and have a holly jolly christmas!
In file included from fallensnow.c:46:0:
fallensnow.c: In function ‘CreateSurfaceFromFallen’:
spline_interpol.h:24:23: error: ‘gsl_interp_steffen’ undeclared (first use in this function)
#define SPLINE_INTERP gsl_interp_steffen
^
fallensnow.c:603:48: note: in expansion of macro ‘SPLINE_INTERP’
gsl_spline *spline = gsl_spline_alloc(SPLINE_INTERP, nav);
^
spline_interpol.h:24:23: note: each undeclared identifier is reported only once for each function it appears in
#define SPLINE_INTERP gsl_interp_steffen
^
fallensnow.c:603:48: note: in expansion of macro ‘SPLINE_INTERP’
gsl_spline *spline = gsl_spline_alloc(SPLINE_INTERP, nav);
stil the same with xsnow-3.5.4~pre24
kernel 3.10.0-1160.80.1.el7.x86_64
CentOS Linux release 7.9.2009
My guess is that your version of libgsl is somewhat too low.
Can you try the following:
In src/spline_interpol.h:
comment out line 24, and remove the comment from line 26, so that it looks like:
and then, run make; make install again, and let me know it that works?
Uploaded version 3.6.0: a test has been incorporated which of the gsl_interp_* is available.
Hey Willem,
sorry, I could not get back sooner.
I tried version 3.6.0 and it works like a charm !! Now I just have to figure out how to start it as root for logged in users and surprise my collegues ;-)
Thank you so much for the fast reply and fix !!
So this works for CentOS. I would like to share the dependencies, I had to install:
yum install libX11-devel libXt-devel libXext-devel gtk3-devel gsl-devel xrdp-devel libXtst-devel libXpm-devel
Thanks again and happy holidays,
Joachim
Last edit: Joachim 2022-12-03
su username -c "DISPLAY=:10.0 /usr/local/games/xsnow -vintage -nomenu &"
adjust username and display ;-)
Thanks for your comments, closing this ticket now.
Thanks for your comments, closing this ticket now.