Scons initial build error [Raspberry Pi 3]

Get help with installing and running the Cafu Engine here. This forum is also for general questions and discussion of all aspects regarding the Cafu Engine.
Post Reply
HMgames96
Posts: 1
Joined: 2019-12-10, 23:41

Scons initial build error [Raspberry Pi 3]

Post by HMgames96 » 2019-12-11, 00:02

Hi all

I'm building a 3d racing sim game on the rpi 3 as part of my fourth year project and decided to check out cafu

when i run the scons command to build the engine i get this error and dont know how to deal with it

scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build/linux2/g++/debug build/linux2/g++/release
g++ -o Libs/build/linux2/g++/release/GameSys/World.o -c -std=c++0x -O3 -funsigned-char -Wall -Werror -Wno-char-subscripts -fno-strict-aliasing -DNDEBUG -DSCONS_BUILD_DIR=build/linux2/g++/release -ILibs -IExtLibs -IExtLibs/bullet/src -IExtLibs/glfw/include -IExtLibs/lua/src -IExtLibs/lwo -IExtLibs/jpeg Libs/GameSys/World.cpp
In file included from ExtLibs/bullet/src/btBulletCollisionCommon.h:22,
from ExtLibs/bullet/src/btBulletDynamicsCommon.h:20,
from Libs/PhysicsWorld.hpp:13,
from Libs/GameSys/World.cpp:19:
ExtLibs/bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.h: In static member function 'static int cf::GameSys::WorldT::Phys_TraceBB(lua_State*)':
ExtLibs/bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.h:379:25: error: '<anonymous>' may be used uninitialized in this function [-Werror=maybe-uninitialized]
m_hitCollisionObject(0)
^
ExtLibs/bullet/src/BulletCollision/CollisionDispatch/btCollisionWorld.h:379:25: error: '<anonymous>' may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1plus: all warnings being treated as errors
scons: *** [Libs/build/linux2/g++/release/GameSys/World.o] Error 1
scons: building terminated because of errors.

I can try to provide more info if needed
any help is greatly appreciated :)
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests