Install help!

128 views
Skip to first unread message

He Chengming

unread,
Oct 25, 2021, 11:16:52 AM10/25/21
to basilisk-fr
Dear all,

I follow the instruction of INSTALL 
##
cd basilisk/src 
export BASILISK=$PWD 
export PATH=$PATH:$PWD 
ls config.* 
cp config.[your pick] config 
make
##
and get the errors in the following:
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -o bview.s.d bview.c
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o PointTriangle.h.tags.d PointTriangle.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o advection.h.tags.d advection.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o all-mach.h.tags.d all-mach.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o axi.h.tags.d axi.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o axistream.h.tags.d axistream.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o bcg.h.tags.d bcg.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o bview.c.tags.d bview.c
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o compressible.h.tags.d compressible.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o conservation.h.tags.d conservation.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o contact.h.tags.d contact.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o curvature.h.tags.d curvature.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o diffusion.h.tags.d diffusion.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o discharge.h.tags.d discharge.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o display.h.tags.d display.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o distance.h.tags.d distance.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o draw.h.tags.d draw.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o elevation.h.tags.d elevation.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o embed-tree.h.tags.d embed-tree.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o embed.h.tags.d embed.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o fene-p.h.tags.d fene-p.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o fractions.h.tags.d fractions.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o gauges.h.tags.d gauges.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o geometry.h.tags.d geometry.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o green-naghdi.h.tags.d green-naghdi.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o heights.h.tags.d heights.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o hele-shaw.h.tags.d hele-shaw.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o henry.h.tags.d henry.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o hessenberg.h.tags.d hessenberg.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o iforce.h.tags.d iforce.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o input.h.tags.d input.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o khash.h.tags.d khash.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o lambda2.h.tags.d lambda2.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o log-conform.h.tags.d log-conform.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o maxruntime.h.tags.d maxruntime.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o momentum.h.tags.d momentum.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o multilayer.h.tags.d multilayer.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o myc.h.tags.d myc.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o okada.h.tags.d okada.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o output.h.tags.d output.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o parse.h.tags.d parse.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o poisson.h.tags.d poisson.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o profiling.h.tags.d profiling.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o radial.h.tags.d radial.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o reduced.h.tags.d reduced.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o run.h.tags.d run.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o runge-kutta.h.tags.d runge-kutta.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o saint-venant-implicit.h.tags.d saint-venant-implicit.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o saint-venant.h.tags.d saint-venant.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o spherical.h.tags.d spherical.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o tag.h.tags.d tag.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o tension.h.tags.d tension.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o tracer.h.tags.d tracer.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o two-phase.h.tags.d two-phase.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o utils.h.tags.d utils.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o vertexbuffer.h.tags.d vertexbuffer.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o view.h.tags.d view.h
/home/hecm/Desktop/Basilisk/basilisk/src/qcc -MD -tags -o vof.h.tags.d vof.h
updating Makefile.deps
cc -O2 -Wall -msse2 -mfpmath=sse -DLIBDIR=\"`pwd`\" -c include.c
cc -O2 -Wall -msse2 -mfpmath=sse -c rotate.c
cc -O2 -Wall -msse2 -mfpmath=sse -DLIBDIR=\"`pwd`\" \
-DCC99="\"cc -std=c99\"" \
-DCPP99="\"\"" \
-DCADNACC="\"\"" \
-DBASILISK="\"/home/hecm/Desktop/Basilisk/basilisk/src\"" \
qcc.c include.o rotate.o -o qcc
cc -O2 -Wall -msse2 -mfpmath=sse -c qplot.c
cc -O2 -Wall -msse2 -mfpmath=sse qplot.o -o qplot
cd kdt && make
make[1]: Entering directory '/home/hecm/Desktop/Basilisk/basilisk/src/kdt'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hecm/Desktop/Basilisk/basilisk/src/kdt'
cd darcsit && make && cd cgi-bin && make
make[1]: Entering directory '/home/hecm/Desktop/Basilisk/basilisk/src/darcsit'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hecm/Desktop/Basilisk/basilisk/src/darcsit'
make[1]: Entering directory '/home/hecm/Desktop/Basilisk/basilisk/src/darcsit/cgi-bin'
chmod 755 darcsit
make[1]: Leaving directory '/home/hecm/Desktop/Basilisk/basilisk/src/darcsit/cgi-bin'
cd gl && make libfb_dumb.a libglutils.a
make[1]: Entering directory '/home/hecm/Desktop/Basilisk/basilisk/src/gl'
make[1]: 'libfb_dumb.a' is up to date.
make[1]: 'libglutils.a' is up to date.
make[1]: Leaving directory '/home/hecm/Desktop/Basilisk/basilisk/src/gl'
cd wsServer && make
make[1]: Entering directory '/home/hecm/Desktop/Basilisk/basilisk/src/wsServer'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/hecm/Desktop/Basilisk/basilisk/src/wsServer'
qcc -autolink -O2 -Wall -msse2 -mfpmath=sse -o bview/bview bview.c -lm
qcc -autolink -O2 -Wall -msse2 -mfpmath=sse -o bview/bview bview.c  -lm
/tmp/cclLZZkq.o: In function `bview_new':
bview.c:(.text+0x399ab): undefined reference to `framebuffer_new'
/tmp/cclLZZkq.o: In function `bview_destroy':
bview.c:(.text+0x399ed): undefined reference to `framebuffer_destroy'
/tmp/cclLZZkq.o: In function `redraw':
bview.c:(.text+0x39a98): undefined reference to `glMatrixMode'
bview.c:(.text+0x39a9d): undefined reference to `glLoadIdentity'
bview.c:(.text+0x39b68): undefined reference to `gluPerspective'
bview.c:(.text+0x39b72): undefined reference to `glMatrixMode'
bview.c:(.text+0x39b77): undefined reference to `glLoadIdentity'
bview.c:(.text+0x39bb6): undefined reference to `glTranslatef'
bview.c:(.text+0x39c53): undefined reference to `gluPerspective'
bview.c:(.text+0x39c5d): undefined reference to `glMatrixMode'
bview.c:(.text+0x39c62): undefined reference to `glLoadIdentity'
bview.c:(.text+0x39c8d): undefined reference to `glTranslatef'
bview.c:(.text+0x39cb0): undefined reference to `glMultMatrixf'
bview.c:(.text+0x39d25): undefined reference to `glMultMatrixf'
bview.c:(.text+0x39d84): undefined reference to `glScalef'
bview.c:(.text+0x39db4): undefined reference to `glClearColor'
bview.c:(.text+0x39dbe): undefined reference to `glClear'
/tmp/cclLZZkq.o: In function `compose_image':
bview.c:(.text+0x39e52): undefined reference to `framebuffer_image'
/tmp/cclLZZkq.o: In function `vertex_buffer_glBegin':
bview.c:(.text+0x39fa4): undefined reference to `glGetFloatv'
bview.c:(.text+0x3a1ff): undefined reference to `glBegin'
/tmp/cclLZZkq.o: In function `vertex_buffer_glEnd':
bview.c:(.text+0x3a223): undefined reference to `glEnd'
/tmp/cclLZZkq.o: In function `vertex_buffer_glColor3f':
bview.c:(.text+0x3a4b1): undefined reference to `glColor3f'
/tmp/cclLZZkq.o: In function `vertex_buffer_glNormal3d':
bview.c:(.text+0x3a557): undefined reference to `glNormal3d'
/tmp/cclLZZkq.o: In function `vertex_buffer_glVertex3d':
bview.c:(.text+0x3a5fd): undefined reference to `glVertex3d'
/tmp/cclLZZkq.o: In function `vertex_buffer_glVertex2d':
bview.c:(.text+0x3a6db): undefined reference to `glVertex3d'
/tmp/cclLZZkq.o: In function `gl_StrokeCharacter':
bview.c:(.text+0x41545): undefined reference to `glTranslatef'
/tmp/cclLZZkq.o: In function `gl_StrokeString':
bview.c:(.text+0x415de): undefined reference to `glTranslatef'
bview.c:(.text+0x416dc): undefined reference to `glTranslatef'
/tmp/cclLZZkq.o: In function `view':
bview.c:(.text+0x4273e): undefined reference to `framebuffer_destroy'
bview.c:(.text+0x4275b): undefined reference to `framebuffer_new'
/tmp/cclLZZkq.o: In function `begin_translate':
bview.c:(.text+0x4280a): undefined reference to `glMatrixMode'
bview.c:(.text+0x4280f): undefined reference to `glPushMatrix'
bview.c:(.text+0x4282f): undefined reference to `glTranslatef'
/tmp/cclLZZkq.o: In function `end_translate':
bview.c:(.text+0x42862): undefined reference to `glMatrixMode'
bview.c:(.text+0x42867): undefined reference to `glPopMatrix'
/tmp/cclLZZkq.o: In function `begin_mirror':
bview.c:(.text+0x428af): undefined reference to `glMatrixMode'
bview.c:(.text+0x428b4): undefined reference to `glPushMatrix'
bview.c:(.text+0x42b2d): undefined reference to `glMultMatrixf'
/tmp/cclLZZkq.o: In function `begin_draw_lines':
bview.c:(.text+0x42de1): undefined reference to `glMatrixMode'
bview.c:(.text+0x42de6): undefined reference to `glPushMatrix'
bview.c:(.text+0x42e18): undefined reference to `glTranslatef'
bview.c:(.text+0x42ea5): undefined reference to `glLineWidth'
/tmp/cclLZZkq.o: In function `end_draw_lines':
bview.c:(.text+0x42ed0): undefined reference to `glMatrixMode'
bview.c:(.text+0x42ed5): undefined reference to `glPopMatrix'
/tmp/cclLZZkq.o: In function `begin_colorized':
bview.c:(.text+0x444bb): undefined reference to `glTexImage1D'
bview.c:(.text+0x444d3): undefined reference to `glTexParameteri'
bview.c:(.text+0x444e7): undefined reference to `glTexParameteri'
bview.c:(.text+0x444fb): undefined reference to `glTexParameteri'
bview.c:(.text+0x4450f): undefined reference to `glTexParameteri'
bview.c:(.text+0x44519): undefined reference to `glEnable'
/tmp/cclLZZkq.o: In function `end_colorized':
bview.c:(.text+0x44587): undefined reference to `glDisable'
/tmp/cclLZZkq.o: In function `squares':
bview.c:(.text+0x4ad8a): undefined reference to `glShadeModel'
bview.c:(.text+0x4bf68): undefined reference to `glTexCoord1d'
bview.c:(.text+0x4c49b): undefined reference to `glTexCoord1d'
bview.c:(.text+0x4c9f8): undefined reference to `glTexCoord1d'
bview.c:(.text+0x4cf4d): undefined reference to `glTexCoord1d'
bview.c:(.text+0x4d49e): undefined reference to `glTexCoord1d'
/tmp/cclLZZkq.o:bview.c:(.text+0x4d9f7): more undefined references to `glTexCoord1d' follow
/tmp/cclLZZkq.o: In function `box':
bview.c:(.text+0x52b0b): undefined reference to `glMatrixMode'
bview.c:(.text+0x52b38): undefined reference to `glPushMatrix'
bview.c:(.text+0x52be3): undefined reference to `glTranslatef'
bview.c:(.text+0x52c00): undefined reference to `glRotatef'
bview.c:(.text+0x52c2c): undefined reference to `glScalef'
bview.c:(.text+0x52c87): undefined reference to `glPopMatrix'
bview.c:(.text+0x52c8c): undefined reference to `glPushMatrix'
bview.c:(.text+0x52d9f): undefined reference to `glTranslatef'
bview.c:(.text+0x52dcb): undefined reference to `glScalef'
bview.c:(.text+0x52ddc): undefined reference to `glPopMatrix'
bview.c:(.text+0x52dfa): undefined reference to `glPushMatrix'
bview.c:(.text+0x52ed5): undefined reference to `glTranslatef'
bview.c:(.text+0x52efd): undefined reference to `glScalef'
bview.c:(.text+0x52f0c): undefined reference to `glPopMatrix'
bview.c:(.text+0x52f11): undefined reference to `glPushMatrix'
bview.c:(.text+0x52fec): undefined reference to `glTranslatef'
bview.c:(.text+0x53014): undefined reference to `glScalef'
bview.c:(.text+0x53023): undefined reference to `glPopMatrix'
/tmp/cclLZZkq.o: In function `draw_string':
bview.c:(.text+0x53aaa): undefined reference to `glMatrixMode'
bview.c:(.text+0x53aaf): undefined reference to `glPushMatrix'
bview.c:(.text+0x53ab4): undefined reference to `glLoadIdentity'
bview.c:(.text+0x53abe): undefined reference to `glMatrixMode'
bview.c:(.text+0x53ac3): undefined reference to `glPushMatrix'
bview.c:(.text+0x53ac8): undefined reference to `glLoadIdentity'
bview.c:(.text+0x53b48): undefined reference to `glLineWidth'
bview.c:(.text+0x53c77): undefined reference to `glTranslatef'
bview.c:(.text+0x53cb1): undefined reference to `glTranslatef'
bview.c:(.text+0x53d35): undefined reference to `glTranslatef'
bview.c:(.text+0x53da9): undefined reference to `glTranslatef'
bview.c:(.text+0x53dc9): undefined reference to `glScalef'
bview.c:(.text+0x53ddf): undefined reference to `glMatrixMode'
bview.c:(.text+0x53de4): undefined reference to `glPopMatrix'
bview.c:(.text+0x53dee): undefined reference to `glMatrixMode'
bview.c:(.text+0x53df3): undefined reference to `glPopMatrix'
/tmp/cclLZZkq.o: In function `labels':
bview.c:(.text+0x53f68): undefined reference to `glMatrixMode'
bview.c:(.text+0x54718): undefined reference to `glPushMatrix'
bview.c:(.text+0x54880): undefined reference to `glTranslatef'
bview.c:(.text+0x548ac): undefined reference to `glScalef'
bview.c:(.text+0x548bd): undefined reference to `glPopMatrix'
/tmp/cclLZZkq.o: In function `bview_draw':
bview.c:(.text+0x57247): undefined reference to `glFinish'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/libglutils.a(utils.o): In function `init_gl':
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:48: undefined reference to `glDisable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:49: undefined reference to `glEnable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:50: undefined reference to `glEnable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:53: undefined reference to `glEnable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:54: undefined reference to `glShadeModel'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:55: undefined reference to `glHint'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:56: undefined reference to `glHint'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:59: undefined reference to `glLightModeli'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:60: undefined reference to `glLightfv'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:61: undefined reference to `glLightfv'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:62: undefined reference to `glEnable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:63: undefined reference to `glEnable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:65: undefined reference to `glColorMaterial'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:66: undefined reference to `glEnable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/libglutils.a(utils.o): In function `gl_draw_texture':
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:71: undefined reference to `glMatrixMode'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:72: undefined reference to `glPushMatrix'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:73: undefined reference to `glLoadIdentity'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:74: undefined reference to `glOrtho'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:75: undefined reference to `glMatrixMode'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:76: undefined reference to `glPushMatrix'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:78: undefined reference to `glLoadIdentity'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:79: undefined reference to `glDisable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:81: undefined reference to `glColor3f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:82: undefined reference to `glEnable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:83: undefined reference to `glBindTexture'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:85: undefined reference to `glBegin'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:86: undefined reference to `glTexCoord2f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:86: undefined reference to `glVertex3f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:87: undefined reference to `glTexCoord2f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:87: undefined reference to `glVertex3f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:88: undefined reference to `glTexCoord2f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:88: undefined reference to `glVertex3f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:89: undefined reference to `glTexCoord2f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:89: undefined reference to `glVertex3f'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:90: undefined reference to `glEnd'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:92: undefined reference to `glDisable'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:93: undefined reference to `glPopMatrix'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:95: undefined reference to `glMatrixMode'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:96: undefined reference to `glPopMatrix'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/libglutils.a(utils.o): In function `gl_check_error':
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:156: undefined reference to `glGetError'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/libglutils.a(utils.o): In function `gl_get_frustum':
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:177: undefined reference to `glGetIntegerv'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:180: undefined reference to `glGetFloatv'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:182: undefined reference to `glGetFloatv'
/home/hecm/Desktop/Basilisk/basilisk/src/gl/libglutils.a(utils.o): In function `gl_draw_texture':
/home/hecm/Desktop/Basilisk/basilisk/src/gl/utils.c:98: undefined reference to `glMatrixMode'
collect2: error: ld returned 1 exit status
make: *** [bview.s] Error 1
/home/hecm/Desktop/Basilisk/basilisk/src/Makefile.defs:59: recipe for target 'bview.s' failed
make: *** [bview.s] Error 1

Could anyone help solve this? Thank you!

Best regards,
Andy HE

GAI Guodong

unread,
Oct 25, 2021, 12:45:34 PM10/25/21
to basilisk-fr
Hi Andy,

What I noticed is that you didn't install OpenGL.
Please try the following before make:

$ sudo apt-get install bison libglu1-mesa-dev libosmesa6-dev
$ cd $BASILISK/gl CFLAGS=-I/opt/local/include make libglutils.a libfb_osmesa.a

Best,
Guodong
Reply all
Reply to author
Forward
0 new messages