[Gfs-devel] gfsview compilation - view/Makefile modification

22 views
Skip to first unread message

Gael Guedon

unread,
Oct 23, 2012, 1:36:07 PM10/23/12
to GFS developper discussion list
Hi all,

I do not know if anybody had the same problem but on my computer I needed to modify the Makefile in the view/ directory in order to compile gfsview in 2D and 3D simultaneously.
(I use gcc version 4.6.3)

Here are the modifications:

gfsview2D_LDADD = [...] -lgfs2D -lgts

gfsview3D_LDADD = [...] -lgfs3D -lgts


Before finding this solution, I was using the flag LIBS in order to compile gfsview for 2D and 3D separately, i.e.

a) If I needed gfsview2D: LIBS="-lgfs2D -lgts" autogen.sh and compilation
b) If I needed gfsview3D: LIBS="-lgfs3D -lgts" autogen,sh and compilation

which was not very convenient...

I am not an expert at all of configure and autogen so I do not know where the modifications have to be done in the scripts...
However I think it may be relatively easy to fix.

Anyway the manual fix requires only few seconds.


Cheers,
Gael


Reply all
Reply to author
Forward
0 new messages