Skip to content
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

Open
ftoledo opened this issue Jul 26, 2019 · 7 comments
Open

build error #2

ftoledo opened this issue Jul 26, 2019 · 7 comments

Comments

@ftoledo
Copy link

ftoledo commented Jul 26, 2019

I hope that fix them! I'm very excited to play it!
Debian Stretch

ragnarok@ragnarok:~$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/6/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 6.3.0-18+deb9u1' --with-bugurl=file:///usr/share/doc/gcc-6/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-6 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) 
ragnarok@ragnarok:~/src/ragnarok/ppengine$ GORILLA_AUDIO_PATH=gorila make
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I gorila/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/track_geometry/track_geometry.c -o src/track_geometry/track_geometry.o
src/track_geometry/track_geometry.c: In function ‘double track_geometry_get_object_natural_rotation_radians(uint32_t)’:
src/track_geometry/track_geometry.c:66:50: error: call of overloaded ‘abs(double)’ is ambiguous
  if (abs(next_segment_angle-current_segment_angle)>(M_PI)) {
                                                  ^
In file included from /usr/include/c++/6/cstdlib:75:0,
                 from /usr/include/c++/6/stdlib.h:36,
                 from src/track_geometry/track_geometry.c:6:
/usr/include/stdlib.h:735:12: note: candidate: int abs(int)
 extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
            ^~~
In file included from /usr/include/c++/6/stdlib.h:36:0,
                 from src/track_geometry/track_geometry.c:6:
/usr/include/c++/6/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
   abs(long long __x) { return __builtin_llabs (__x); }
   ^~~
/usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
   abs(long __i) { return __builtin_labs(__i); }
   ^~~
Makefile:53: fallo en las instrucciones para el objetivo 'src/track_geometry/track_geometry.o'
make: *** [src/track_geometry/track_geometry.o] Error 1

@jonathanopalise
Copy link
Owner

jonathanopalise commented Jul 26, 2019

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?

#include <cmath>

@ftoledo
Copy link
Author

ftoledo commented Jul 26, 2019

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)
and
libopenscenegraph-dev (3.2.3+dfsg1-2+b4)

On debian stretch, with same results

Also, i note that have a hardcoded include path "/home/jonathan/f1-hotshot/src/ppengine"

Thanks!

ragnarok@ragnarok:~/src/ragnarok/ppengine$ GORILLA_AUDIO_PATH=../gorilla make 
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/scene/scene.c -o src/scene/scene.o
In file included from src/scene/scene.c:1:0:
src/scene/scene.h:7:20: fatal error: engine.h: No existe el fichero o el directorio
 #include "engine.h"
                    ^
compilation terminated.
Makefile:60: fallo en las instrucciones para el objetivo 'src/scene/scene.o'
make: *** [src/scene/scene.o] Error 1

@ftoledo
Copy link
Author

ftoledo commented Jul 26, 2019

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"

@jonathanopalise
Copy link
Owner

Thanks for the update.

What error message (if any) are you currently blocked with?

@ftoledo
Copy link
Author

ftoledo commented Jul 26, 2019

i have no "client" file
full log

gcc -O3 -I src  -c src/ppengine/engine.c -o src/ppengine/engine.o
gcc -O3 -I src  -c src/ppengine/sub/framehandlerdispatch.c -o src/ppengine/sub/framehandlerdispatch.o
gcc -O3 -I src  -c src/ppengine/lib/hud.c -o src/ppengine/lib/hud.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/unimplemented.c -o src/ppengine/sub/framehandler/unimplemented.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/316.c -o src/ppengine/sub/framehandler/316.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/3a8.c -o src/ppengine/sub/framehandler/3a8.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/3d0.c -o src/ppengine/sub/framehandler/3d0.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/42a.c -o src/ppengine/sub/framehandler/42a.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/456.c -o src/ppengine/sub/framehandler/456.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/46c.c -o src/ppengine/sub/framehandler/46c.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/4d6.c -o src/ppengine/sub/framehandler/4d6.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/4ec.c -o src/ppengine/sub/framehandler/4ec.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/602.c -o src/ppengine/sub/framehandler/602.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/66a.c -o src/ppengine/sub/framehandler/66a.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/72a.c -o src/ppengine/sub/framehandler/72a.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/808.c -o src/ppengine/sub/framehandler/808.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/852.c -o src/ppengine/sub/framehandler/852.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/8cc.c -o src/ppengine/sub/framehandler/8cc.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/9e0.c -o src/ppengine/sub/framehandler/9e0.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/a2e.c -o src/ppengine/sub/framehandler/a2e.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/aba.c -o src/ppengine/sub/framehandler/aba.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/b2c.c -o src/ppengine/sub/framehandler/b2c.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/bd0.c -o src/ppengine/sub/framehandler/bd0.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/c34.c -o src/ppengine/sub/framehandler/c34.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/c68.c -o src/ppengine/sub/framehandler/c68.o
gcc -O3 -I src  -c src/ppengine/sub/framehandler/c86.c -o src/ppengine/sub/framehandler/c86.o
gcc -O3 -I src  -c src/ppengine/sub/common/6a8.c -o src/ppengine/sub/common/6a8.o
gcc -O3 -I src  -c src/ppengine/sub/common/1ad2.c -o src/ppengine/sub/common/1ad2.o
gcc -O3 -I src  -c src/ppengine/sub/common/1ad8.c -o src/ppengine/sub/common/1ad8.o
gcc -O3 -I src  -c src/ppengine/sub/common/72a.c -o src/ppengine/sub/common/72a.o
gcc -O3 -I src  -c src/ppengine/sub/common/7b6.c -o src/ppengine/sub/common/7b6.o
gcc -O3 -I src  -c src/ppengine/sub/common/a2e.c -o src/ppengine/sub/common/a2e.o
gcc -O3 -I src  -c src/ppengine/sub/common/aba.c -o src/ppengine/sub/common/aba.o
gcc -O3 -I src  -c src/ppengine/sub/common/1572.c -o src/ppengine/sub/common/1572.o
gcc -O3 -I src  -c src/ppengine/sub/common/bc6.c -o src/ppengine/sub/common/bc6.o
gcc -O3 -I src  -c src/ppengine/sub/common/1ff0.c -o src/ppengine/sub/common/1ff0.o
gcc -O3 -I src  -c src/ppengine/sub/common/1406.c -o src/ppengine/sub/common/1406.o
gcc -O3 -I src  -c src/ppengine/sub/common/187e.c -o src/ppengine/sub/common/187e.o
gcc -O3 -I src  -c src/ppengine/sub/common/18f4.c -o src/ppengine/sub/common/18f4.o
gcc -O3 -I src  -c src/ppengine/sub/common/353a.c -o src/ppengine/sub/common/353a.o
gcc -O3 -I src  -c src/ppengine/sub/common/148e.c -o src/ppengine/sub/common/148e.o
gcc -O3 -I src  -c src/ppengine/sub/common/1906.c -o src/ppengine/sub/common/1906.o
gcc -O3 -I src  -c src/ppengine/sub/common/1844.c -o src/ppengine/sub/common/1844.o
gcc -O3 -I src  -c src/ppengine/sub/common/1b2e.c -o src/ppengine/sub/common/1b2e.o
gcc -O3 -I src  -c src/ppengine/sub/common/165a.c -o src/ppengine/sub/common/165a.o
gcc -O3 -I src  -c src/ppengine/sub/common/16be.c -o src/ppengine/sub/common/16be.o
gcc -O3 -I src  -c src/ppengine/sub/common/1b92.c -o src/ppengine/sub/common/1b92.o
gcc -O3 -I src  -c src/ppengine/sub/common/1786.c -o src/ppengine/sub/common/1786.o
gcc -O3 -I src  -c src/ppengine/sub/common/1ba4.c -o src/ppengine/sub/common/1ba4.o
gcc -O3 -I src  -c src/ppengine/sub/common/840.c -o src/ppengine/sub/common/840.o
gcc -O3 -I src  -c src/ppengine/sub/common/1928.c -o src/ppengine/sub/common/1928.o
gcc -O3 -I src  -c src/ppengine/sub/common/199e.c -o src/ppengine/sub/common/199e.o
gcc -O3 -I src  -c src/ppengine/sub/common/1708.c -o src/ppengine/sub/common/1708.o
gcc -O3 -I src  -c src/ppengine/sub/common/a6a.c -o src/ppengine/sub/common/a6a.o
gcc -O3 -I src  -c src/ppengine/sub/common/1310.c -o src/ppengine/sub/common/1310.o
gcc -O3 -I src  -c src/ppengine/sub/common/bc8.c -o src/ppengine/sub/common/bc8.o
gcc -O3 -I src  -c src/ppengine/sub/common/1a0a.c -o src/ppengine/sub/common/1a0a.o
gcc -O3 -I src  -c src/ppengine/sub/common/1a26.c -o src/ppengine/sub/common/1a26.o
gcc -O3 -I src  -c src/ppengine/sub/common/17da.c -o src/ppengine/sub/common/17da.o
gcc -O3 -I src  -c src/ppengine/sub/common/12a2.c -o src/ppengine/sub/common/12a2.o
gcc -O3 -I src  -c src/ppengine/sub/common/1c48.c -o src/ppengine/sub/common/1c48.o
gcc -O3 -I src  -c src/ppengine/sub/common/18dc.c -o src/ppengine/sub/common/18dc.o
gcc -O3 -I src  -c src/ppengine/sub/common/18c4.c -o src/ppengine/sub/common/18c4.o
gcc -O3 -I src  -c src/ppengine/sub/lib/bcd.c -o src/ppengine/sub/lib/bcd.o
gcc -O3 -I src  -c src/ppengine/sub/data/race_seconds_lookup.c -o src/ppengine/sub/data/race_seconds_lookup.o
gcc -O3 -I src  -c src/ppengine/sub/data/track_curve_data.c -o src/ppengine/sub/data/track_curve_data.o
gcc -O3 -I src  -c src/ppengine/sub/data/acceleration_lookup.c -o src/ppengine/sub/data/acceleration_lookup.o
gcc -O3 -I src  -c src/ppengine/sub/data/loc_223e_lookup.c -o src/ppengine/sub/data/loc_223e_lookup.o
gcc -O3 -I src  -c src/ppengine/sub/data/required_qualifying_times.c -o src/ppengine/sub/data/required_qualifying_times.o
gcc -O3 -I src  -c src/ppengine/sub/data/qualifying_bonus_lookup.c -o src/ppengine/sub/data/qualifying_bonus_lookup.o
gcc -O3 -I src  -c src/ppengine/sub2/framehandler.c -o src/ppengine/sub2/framehandler.o 
gcc -O3 -I src  -c src/ppengine/sub2/functionqueue.c -o src/ppengine/sub2/functionqueue.o 
gcc -O3 -I src  -c src/ppengine/sub2/queuedfunctions/1e6.c -o src/ppengine/sub2/queuedfunctions/1e6.o 
gcc -O3 -I src  -c src/ppengine/sub2/queuedfunctions/40c.c -o src/ppengine/sub2/queuedfunctions/40c.o 
gcc -O3 -I src  -c src/ppengine/sub2/queuedfunctions/476.c -o src/ppengine/sub2/queuedfunctions/476.o 
gcc -O3 -I src  -c src/ppengine/sub2/queuedfunctions/554.c -o src/ppengine/sub2/queuedfunctions/554.o 
gcc -O3 -I src  -c src/ppengine/sub2/queuedfunctions/59e.c -o src/ppengine/sub2/queuedfunctions/59e.o 
gcc -O3 -I src  -c src/ppengine/sub2/queuedfunctions/24d8.c -o src/ppengine/sub2/queuedfunctions/24d8.o 
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/playercarmovement.c -o src/ppengine/sub2/perframefunctions/playercarmovement.o 
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/cpucarmovement.c -o src/ppengine/sub2/perframefunctions/cpucarmovement.o 
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/cpucarspawning.c -o src/ppengine/sub2/perframefunctions/cpucarspawning.o 
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/cpucarai.c -o src/ppengine/sub2/perframefunctions/cpucarai.o 
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/cpucarhiding.c -o src/ppengine/sub2/perframefunctions/cpucarhiding.o
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/carcollisions.c -o src/ppengine/sub2/perframefunctions/carcollisions.o
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/scenerycollisions.c -o src/ppengine/sub2/perframefunctions/scenerycollisions.o
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/puddlecollisions.c -o src/ppengine/sub2/perframefunctions/puddlecollisions.o
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/carexplosions.c -o src/ppengine/sub2/perframefunctions/carexplosions.o
gcc -O3 -I src  -c src/ppengine/sub2/perframefunctions/common/random.c -o src/ppengine/sub2/perframefunctions/common/random.o 
gcc -O3 -I src  -c src/ppengine/sub2/data/sub_1886_lookup.c -o src/ppengine/sub2/data/sub_1886_lookup.o 
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/track_geometry/points.c -o src/track_geometry/points.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/track_geometry/subpoints.c -o src/track_geometry/subpoints.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/track_geometry/segments.c -o src/track_geometry/segments.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/track_geometry/track_geometry.c -o src/track_geometry/track_geometry.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/scene/scene.c -o src/scene/scene.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/scene/osg/scene.c -o src/scene/osg/scene.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/scene/osg/hud_camera.c -o src/scene/osg/hud_camera.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/scene/osg/text_matrix.c -o src/scene/osg/text_matrix.o
src/scene/scene.c: In function ‘void scene_update_moving_objects_and_camera(movingobject*, uint32_t, int16_t)’:
src/scene/scene.c:136:4: warning: ‘model’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   );
    ^
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/input/input.c -o src/input/input.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/input/keyboard_queue.c -o src/input/keyboard_queue.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/input/keyboard_handler.c -o src/input/keyboard_handler.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/geometry/vertex2d.c -o src/geometry/vertex2d.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/audio/audio.c -o src/audio/audio.o
g++ -O3 -std=c++98 -g -Wall -Wno-narrowing -I src -I ../gorilla/include -I /home/jonathan/f1-hotshot/src/ppengine -c src/audio/gorilla/audio.c -o src/audio/gorilla/audio.o
make: *** No hay ninguna regla para construir el objetivo '../gorilla/bin/linux/Release/libgorilla.a', necesario para 'client'.  Alto.

@ftoledo
Copy link
Author

ftoledo commented Jul 26, 2019

gorilla sems to build fine, sorry for the inconvenience, maybe missing i something? =(

ragnarok@ragnarok:~/src/ragnarok/pole/gorilla$ cmake build/
-- No build type selected (defaulting to Release)
-- Found OpenAL: /usr/lib/x86_64-linux-gnu/libopenal.so  
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ragnarok/src/ragnarok/pole/gorilla
ragnarok@ragnarok:~/src/ragnarok/pole/gorilla$ make -j4
Scanning dependencies of target gorilla
[  6%] Building C object CMakeFiles/gorilla.dir/src/ga.c.o
[  6%] Building C object CMakeFiles/gorilla.dir/src/gau.c.o
[ 13%] Building C object CMakeFiles/gorilla.dir/src/ga_stream.c.o
[ 13%] Building C object CMakeFiles/gorilla.dir/src/devices/ga_openal.c.o
[ 17%] Building C object CMakeFiles/gorilla.dir/src/common/gc_common.c.o
[ 20%] Building C object CMakeFiles/gorilla.dir/src/common/gc_thread.c.o
/home/ragnarok/src/ragnarok/pole/gorilla/src/common/gc_thread.c: In function ‘gc_thread_sleep’:
/home/ragnarok/src/ragnarok/pole/gorilla/src/common/gc_thread.c:119:3: warning: implicit declaration of function ‘usleep’ [-Wimplicit-function-declaration]
   usleep(in_ms * 1000);
   ^~~~~~
[ 24%] Building C object CMakeFiles/gorilla.dir/ext/libogg/src/bitwise.c.o
[ 27%] Building C object CMakeFiles/gorilla.dir/ext/libogg/src/framing.c.o
[ 31%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/analysis.c.o
[ 34%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/bitrate.c.o
[ 37%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/block.c.o
[ 41%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/codebook.c.o
[ 44%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/envelope.c.o
[ 48%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/floor0.c.o
[ 51%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/floor1.c.o
[ 55%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/info.c.o
[ 58%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/lpc.c.o
[ 62%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/lsp.c.o
[ 65%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/mapping0.c.o
[ 68%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/mdct.c.o
[ 72%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/psy.c.o
[ 75%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/registry.c.o
[ 79%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/res0.c.o
[ 82%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/sharedbook.c.o
[ 86%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/smallft.c.o
[ 89%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/synthesis.c.o
[ 93%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/vorbisfile.c.o
[ 96%] Building C object CMakeFiles/gorilla.dir/ext/libvorbis/lib/window.c.o
[100%] Linking C static library /home/ragnarok/src/ragnarok/pole/bin/linux/Release/libgorilla.a
[100%] Built target gorilla

@jonathanopalise
Copy link
Owner

jonathanopalise commented Jul 26, 2019

I think the link process is failing because it's unable to find the libgorilla.a file.

I've just managed to successfully build ppengine on my local machine here.

  • The libgorilla.a file is located at /home/jonathan/bin/linux/Release/libgorilla.a
  • I have GORILLA_AUDIO_PATH set to /home/jonathan

So the GORILLA_AUDIO_PATH should be the full path of the libgorilla.a file, but without the /bin/linux/Release/libgorilla.a on the end. Hope this makes sense - let me know how you get on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants