From: François Fleuret Date: Sat, 15 Jun 2024 15:49:53 +0000 (+0200) Subject: Update. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=universe.git Update. --- diff --git a/Makefile b/Makefile index 4b02833..29953d6 100644 --- a/Makefile +++ b/Makefile @@ -25,7 +25,7 @@ LDFLAGS = -lz -ldl # Do we use X11? CXXFLAGS += -DX11_SUPPORT -LDFLAGS += -L/usr/X11R6/lib/ +LDFLAGS += -L/usr/lib/x86_64-linux-gnu/ # Do we use cairo? CXXFLAGS += -I/usr/include/cairo -DCAIRO_SUPPORT @@ -50,7 +50,7 @@ main: main.o misc.o \ manipulator.o \ approximer.o \ intelligence.o - $(CXX) $(CXXFLAGS) $(LDFLAGS) -lX11 -o $@ $^ + $(CXX) $(CXXFLAGS) $^ $(LDFLAGS) -lX11 -o $@ %.so: %.cc misc.o universe.o polygon.o map.o task.o manipulator.o $(CXX) $(CXXFLAGS) -shared -Wl,-soname,$@ -o $@ $^ diff --git a/main.cc b/main.cc index 77dded1..0f82f3f 100644 --- a/main.cc +++ b/main.cc @@ -157,7 +157,7 @@ int main(int argc, char **argv) { cout << "FlatLand, a toy universe for goal-planning experiments." << endl; if(!task) { - task = load_task("dummy.so"); + task = load_task("./dummy.so"); task_degree = 0; }