From 60156e872a7ddc20c7bb972f357c6f8030a77652 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Sat, 15 Jun 2024 17:49:53 +0200 Subject: [PATCH] Update. --- Makefile | 4 ++-- main.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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; } -- 2.39.5