-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error #2
Comments
I'm not able to reproduce this issue locally. Does it help if you put the following at the top of the track_geometry.c file?
|
yes. it solve this issue and get another error (maybe relate to libopenscene), i test with libopenscenegraph-3.4-dev (3.4.0+dfsg1-4+b3) On debian stretch, with same results Also, i note that have a hardcoded include path "/home/jonathan/f1-hotshot/src/ppengine" Thanks!
|
this changes fixes the include engine issue: diff --git a/src/audio/audio.c b/src/audio/audio.c
index addb34d..d431bcc 100644
--- a/src/audio/audio.c
+++ b/src/audio/audio.c
@@ -1,7 +1,7 @@
#include "audio/audio.h"
#include "audio/gorilla/audio.h"
#include "stdio.h"
-#include "engine.h"
+#include "ppengine/engine.h"
#include <stdlib.h>
#define ENGINE_SOUND_COUNT 8
diff --git a/src/scene/scene.h b/src/scene/scene.h
index 5b58cdd..daef728 100644
--- a/src/scene/scene.h
+++ b/src/scene/scene.h
@@ -4,7 +4,7 @@
#include <inttypes.h>
#include "scene/moving_object_model_type.h"
#include "scene/gantry_appearance_type.h"
-#include "engine.h"
+#include "ppengine/engine.h"
void scene_open(struct sceneryobject *scenery_objects);
void scene_close();
diff --git a/src/track_geometry/track_geometry.c b/src/track_geometry/track_geometry.c
index 94e22b2..7b59e6b 100644
--- a/src/track_geometry/track_geometry.c
+++ b/src/track_geometry/track_geometry.c
@@ -1,3 +1,4 @@
+#include <cmath>
#include <stdio.h>
#include <inttypes.h>
#include "track_geometry/track_geometry.h"
|
Thanks for the update. What error message (if any) are you currently blocked with? |
i have no "client" file
|
gorilla sems to build fine, sorry for the inconvenience, maybe missing i something? =(
|
I think the link process is failing because it's unable to find the I've just managed to successfully build ppengine on my local machine here.
So the |
I hope that fix them! I'm very excited to play it!
Debian Stretch
The text was updated successfully, but these errors were encountered: