mirror of
https://github.com/nasa/trick.git
synced 2024-12-18 20:57:55 +00:00
SIM_satellite graphics might be missing -ldl #288
Added -ldl to link flags.
This commit is contained in:
parent
82049ead95
commit
cddc8a585d
3
trick_sims/SIM_satellite/models/Satellite/graphics/.gitignore
vendored
Normal file
3
trick_sims/SIM_satellite/models/Satellite/graphics/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*.o
|
||||
Scene
|
||||
|
@ -3,12 +3,12 @@ CC = gcc
|
||||
|
||||
ifeq ($(shell uname), Darwin)
|
||||
GL_LIBS = -framework GLUT -framework OpenGL
|
||||
TC_LIBS = -L${TRICK_HOME}/lib -ltrick_comm
|
||||
TC_LIBS = -L${TRICK_HOME}/lib -L${TRICK_HOME}/lib64 -ltrick_comm
|
||||
LDFLAGS =
|
||||
else
|
||||
GL_LIBS = -lGL -lGLU -lglut
|
||||
TC_LIBS = -L${TRICK_HOME}/lib -ltrick_comm -lrt
|
||||
LDFLAGS = -Wl,--export-dynamic
|
||||
TC_LIBS = -L${TRICK_HOME}/lib -L${TRICK_HOME}/lib64 -ltrick_comm -lrt
|
||||
LDFLAGS = -ldl
|
||||
endif
|
||||
|
||||
CFLAGS = -I${TRICK_HOME}/include
|
||||
@ -22,7 +22,6 @@ OBJECTS = Camera.o Scene.o SceneElement.o SatelliteModel.o Ball.o
|
||||
|
||||
.cpp.o:
|
||||
${CPP} ${CFLAGS} ${INCDIRS} -c $<
|
||||
echo $(NARF)
|
||||
|
||||
all: Scene
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user