Jump to content
  • 0
jen

Leadwerks.a missing

Question

Hey Leadwerks,

Update: Looks like this is not a new issue. I'm searching the forum for similar reports and possible solutions.

Version: Leadwerks Beta Branch

I'm trying to create a custom build script to work in Linux. I want to use VSCode instead of Codeblocks. It's all hands on with VSCode when it comes to building C++ apps hence the custom build script. 

I have a problem when performing the build. It looks like Leadwerks.a is missing? When performing locate, I can't find it: locate Leadwerks.a

Supposedly, it should be in the Library/Linux/Rlease folder (if build is release mode) but the release folder within Library/Linux looks empty:

jen:~$ locate Leadwerks.a
jen:~$ locate Library/Linux
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Debug
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Release
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/libluajit.a
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/libopenvr_api.so
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/libsteam_api.so
jen:~$ cd /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Release
jen:~/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Release$ dir
jen:~/.local/share/Steam/steamapps/common/Leadwerks/Library/Linux/Release$ 

Here is my build script so far:

#!/bin/sh
PROJECT_PATH=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
LEADWERKS_PATH=~/.local/share/Steam/steamapps/common/Leadwerks
echo "Leadwerks Path: $LEADWERKS_PATH"
echo "Project Path: $PROJECT_PATH"
echo "........................................."
gcc -I $LEADWERKS_PATH/Include/Libraries/VHACD/src/VHACD_LIB/inc \
-I $LEADWERKS_PATH/Include/Libraries/NewtonDynamics/sdk/dMath \
-I $LEADWERKS_PATH/Include/Libraries/NewtonDynamics/sdk/dgNewton \
-I $LEADWERKS_PATH/Include/Libraries/NewtonDynamics/sdk/dContainers \
-I $LEADWERKS_PATH/Include/Libraries/NewtonDynamics/dgCore \
-I $LEADWERKS_PATH/Include/Libraries/NewtonDynamics/sdk/dgTimeTracker \
-I $LEADWERKS_PATH/Include/Libraries/NewtonDynamics/sdk/dgPhysics \
-I $LEADWERKS_PATH/Include/Libraries/NewtonDynamics/sdk/dCustomJoints \
-I $LEADWERKS_PATH/Include/Libraries/tolua++-1.0.93/include \
-I $LEADWERKS_PATH/Include/Libraries/lua-5.1.4 \
-I $LEADWERKS_PATH/Include/Libraries/freetype-2.4.7/include \
-I $LEADWERKS_PATH/Include/Libraries/enet-1.3.1/include \
-I $LEADWERKS_PATH/Include/Libraries/RecastNavigation/DebugUtils/Include \
-I $LEADWERKS_PATH/Include/Libraries/RecastNavigation/Detour/Include \
-I $LEADWERKS_PATH/Include/Libraries/RecastNavigation/DetourCrowd/Include \
-I $LEADWERKS_PATH/Include/Libraries/RecastNavigation/DetourTileCache/Include \
-I $LEADWERKS_PATH/Include/Libraries/RecastNavigation/Recast/Include \
-I $LEADWERKS_PATH/Include/Libraries/libvorbis/include \
-I $LEADWERKS_PATH/Include/Libraries/NewtonDynamics/packages/thirdParty/timeTracker \
-I $LEADWERKS_PATH/Include/Libraries/libvorbis/lib \
-I $LEADWERKS_PATH/Include/Libraries/libogg/include \
-I $LEADWERKS_PATH/Include -I $LEADWERKS_PATH/Include/Libraries/zlib-1.2.5 \
-I $LEADWERKS_PATH/Include/Libraries/zlib-1.2.5/contrib/minizip \
-I $LEADWERKS_PATH/Include/Libraries/freetype-2.4.7/include/freetype \
-I $LEADWERKS_PATH/Include/Libraries/freetype-2.4.7/include/freetype/config \
-I $LEADWERKS_PATH/Include/Libraries/LuaJIT/dynasm \
-I $LEADWERKS_PATH/Include/Libraries/glew-1.6.0/include \
-I $LEADWERKS_PATH/Include/Libraries/openal-soft/include \
-L $LEADWERKS_PATH/Library/Linux/Release/Leadwerks.a -L dl \
-L openal -L GL -L GLU -L $LEADWERKS_PATH/Library/Linux/libluajit.a \
-L ADWERKS_PATH/libsteam_api.so -L X11 -L Xext -L Xft -L pthread -L libcurl \
-L $LEADWERKS_PATH/Library/Linux/libopenvr_api.so -std=c++0x -Wall \
-fexceptions -msse3 -DDG_DISABLE_ASSET -DZLIB -DPLATFORM_LINUX -D_NEWTON_STATIC_LIB \
-DFT2_BUILD_LIBRARY -DOPENGL -Dunix -D__STEAM__ -D_POSIX_VER \
-D_POSIX_VER_64 -DDG_THREAD_EMULATION -D_STATICLIB -DDG_USE_THREAD_EMULATION \
-DGL_GLEXT_PROTOTYPES -DLEADWERKS_3_1 -DLUA_USE_LINUX -D_GLIBCXX_USE_CXX11__ABI=1 \
-D_CUSTOM_JOINTS_STATIC_LIB -s $PROJECT_PATH/Source/App.cpp -o $PROJECT_PATH/$1

Result when running "bash build-release.sh Test":

Leadwerks Path: /home/jen/.local/share/Steam/steamapps/common/Leadwerks
Project Path: /home/jen/Documents/Leadwerks/Projects/Test
.........................................
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomBallAndSocket.h:16:0,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:179,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomJoint.h:76:1: warning: multi-line comment [-Wcomment]
 //#define DECLARE_CUSTOM_JOINT_EXPORT_IMPORT(exportImport,className,baseClass) \
 ^
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:184:0,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomJoint.h:76:1: warning: multi-line comment [-Wcomment]
 //#define DECLARE_CUSTOM_JOINT_EXPORT_IMPORT(exportImport,className,baseClass) \
 ^
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:395:0,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Directory.h:2:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4290)
 
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Directory.h:3:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:451:0,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Stream.h:2:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4290)
 
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Stream.h:3:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:456:0,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Texture.h:2:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4290)
 
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Texture.h:3:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL/OpenGLGraphicsDriver.h:6:0,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:541,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL/./OpenGLTexture.h:2:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4290)
 
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL/./OpenGLTexture.h:3:0: warning: ignoring #pragma warning  [-Wunknown-pragmas]
 #pragma warning(disable:4996)
 
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/pickcollision.h:5:0,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/meshcollider.h:5,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:159,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h: In member function ‘void b3d::Box::update(const b3d::Vector&)’:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h:370:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (q.x < a.x) a.x = q.x; if (q.y < a.y) a.y = q.y; if (q.z < a.z) a.z = q.z;
    ^~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h:370:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    if (q.x < a.x) a.x = q.x; if (q.y < a.y) a.y = q.y; if (q.z < a.z) a.z = q.z;
                              ^~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h:371:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (q.x > b.x) b.x = q.x; if (q.y > b.y) b.y = q.y; if (q.z > b.z) b.z = q.z;
    ^~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h:371:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    if (q.x > b.x) b.x = q.x; if (q.y > b.y) b.y = q.y; if (q.z > b.z) b.z = q.z;
                              ^~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h: In member function ‘void b3d::Box::update(const b3d::Box&)’:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h:374:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (q.a.x < a.x) a.x = q.a.x; if (q.a.y < a.y) a.y = q.a.y; if (q.a.z < a.z) a.z = q.a.z;
    ^~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h:374:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    if (q.a.x < a.x) a.x = q.a.x; if (q.a.y < a.y) a.y = q.a.y; if (q.a.z < a.z) a.z = q.a.z;
                                  ^~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h:375:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
    if (q.b.x > b.x) b.x = q.b.x; if (q.b.y > b.y) b.y = q.b.y; if (q.b.z > b.z) b.z = q.b.z;
    ^~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/b3d/geom.h:375:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
    if (q.b.x > b.x) b.x = q.b.x; if (q.b.y > b.y) b.y = q.b.y; if (q.b.z > b.z) b.z = q.b.z;
                                  ^~
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dMath/dStdAfxMath.h:34:0,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dMath/dLinearAlgebra.h:12,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomJointLibraryStdAfx.h:66,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomJoint.h:20,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomBallAndSocket.h:16,
                 from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:179,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomJoint.h: In member function ‘void dCustomJoint::dSerializeMetaDataDictionary::Insert(dCustomJoint::dSerializeMetaData*, long long int)’:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomJoint.h:191:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    dAssert(m_count < sizeof(m_buffer) / sizeof(m_buffer[0]));
            ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/NewtonDynamics/sdk/dCustomJoints/dCustomJoint.h:191:4: note: in expansion of macro ‘dAssert’
    dAssert(m_count < sizeof(m_buffer) / sizeof(m_buffer[0]));
    ^~~~~~~
In file included from /home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Leadwerks.h:148:0,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.h:3,
                 from /home/jen/Documents/Leadwerks/Projects/Test/Source/App.cpp:1:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/libvorbis/include/vorbis/vorbisfile.h: At global scope:
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/libvorbis/include/vorbis/vorbisfile.h:96:21: warning: ‘OV_CALLBACKS_STREAMONLY_NOCLOSE’ defined but not used [-Wunused-variable]
 static ov_callbacks OV_CALLBACKS_STREAMONLY_NOCLOSE = {
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/libvorbis/include/vorbis/vorbisfile.h:89:21: warning: ‘OV_CALLBACKS_STREAMONLY’ defined but not used [-Wunused-variable]
 static ov_callbacks OV_CALLBACKS_STREAMONLY = {
                     ^~~~~~~~~~~~~~~~~~~~~~~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/libvorbis/include/vorbis/vorbisfile.h:82:21: warning: ‘OV_CALLBACKS_NOCLOSE’ defined but not used [-Wunused-variable]
 static ov_callbacks OV_CALLBACKS_NOCLOSE = {
                     ^~~~~~~~~~~~~~~~~~~~
/home/jen/.local/share/Steam/steamapps/common/Leadwerks/Include/Libraries/libvorbis/include/vorbis/vorbisfile.h:75:21: warning: ‘OV_CALLBACKS_DEFAULT’ defined but not used [-Wunused-variable]
 static ov_callbacks OV_CALLBACKS_DEFAULT = {
                     ^~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/Scrt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
/tmp/ccRKsdhD.o: In function `App::~App()':
App.cpp:(.text+0x11a): undefined reference to `operator delete(void*)'
/tmp/ccRKsdhD.o: In function `App::Start()':
App.cpp:(.text+0x143): undefined reference to `Leadwerks::Interpreter::GetStackSize()'
App.cpp:(.text+0x158): undefined reference to `Leadwerks::Interpreter::NewTable()'
App.cpp:(.text+0x167): undefined reference to `std::allocator<char>::allocator()'
App.cpp:(.text+0x181): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
App.cpp:(.text+0x18d): undefined reference to `Leadwerks::Interpreter::SetGlobal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
App.cpp:(.text+0x199): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x1a8): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x1b7): undefined reference to `std::allocator<char>::allocator()'
App.cpp:(.text+0x1d1): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
App.cpp:(.text+0x1e0): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x1ef): undefined reference to `std::allocator<char>::allocator()'
App.cpp:(.text+0x209): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
App.cpp:(.text+0x21a): undefined reference to `Leadwerks::FileSystem::GetFileType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
App.cpp:(.text+0x22c): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x23b): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x252): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(char const*)'
App.cpp:(.text+0x263): undefined reference to `Leadwerks::Interpreter::ExecuteFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned long)'
App.cpp:(.text+0x2a7): undefined reference to `Leadwerks::System::Print(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
App.cpp:(.text+0x2b3): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x2bf): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x2d8): undefined reference to `std::allocator<char>::allocator()'
App.cpp:(.text+0x2f2): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
App.cpp:(.text+0x2fe): undefined reference to `Leadwerks::Interpreter::GetGlobal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
App.cpp:(.text+0x30a): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x319): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x323): undefined reference to `Leadwerks::Interpreter::IsTable(int)'
App.cpp:(.text+0x33a): undefined reference to `std::allocator<char>::allocator()'
App.cpp:(.text+0x354): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
App.cpp:(.text+0x360): undefined reference to `Leadwerks::Interpreter::PushString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
App.cpp:(.text+0x36c): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x37b): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x385): undefined reference to `Leadwerks::Interpreter::GetTable(int)'
App.cpp:(.text+0x38f): undefined reference to `Leadwerks::Interpreter::IsFunction(int)'
App.cpp:(.text+0x39d): undefined reference to `Leadwerks::Interpreter::PushValue(int)'
App.cpp:(.text+0x3b4): undefined reference to `Leadwerks::Interpreter::Invoke(int, int, int)'
App.cpp:(.text+0x3cc): undefined reference to `Leadwerks::Interpreter::IsBool(int)'
App.cpp:(.text+0x3da): undefined reference to `Leadwerks::Interpreter::ToBool(int)'
App.cpp:(.text+0x3fc): undefined reference to `Leadwerks::Interpreter::SetStackSize(int)'
App.cpp:(.text+0x40d): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x436): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x44a): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x467): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x481): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x495): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x4a6): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x4b7): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x4c8): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x4dc): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x4ed): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x501): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x512): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/tmp/ccRKsdhD.o: In function `App::Loop()':
App.cpp:(.text+0x54d): undefined reference to `Leadwerks::Interpreter::GetStackSize()'
App.cpp:(.text+0x563): undefined reference to `std::allocator<char>::allocator()'
App.cpp:(.text+0x57a): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
App.cpp:(.text+0x586): undefined reference to `Leadwerks::Interpreter::GetGlobal(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
App.cpp:(.text+0x592): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x59e): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x5a8): undefined reference to `Leadwerks::Interpreter::IsTable(int)'
App.cpp:(.text+0x5bc): undefined reference to `std::allocator<char>::allocator()'
App.cpp:(.text+0x5d3): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
App.cpp:(.text+0x5df): undefined reference to `Leadwerks::Interpreter::PushString(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
App.cpp:(.text+0x5eb): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x5f7): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x601): undefined reference to `Leadwerks::Interpreter::GetTable(int)'
App.cpp:(.text+0x60b): undefined reference to `Leadwerks::Interpreter::IsFunction(int)'
App.cpp:(.text+0x61d): undefined reference to `Leadwerks::Interpreter::PushValue(int)'
App.cpp:(.text+0x631): undefined reference to `Leadwerks::Interpreter::Invoke(int, int, int)'
App.cpp:(.text+0x644): undefined reference to `Leadwerks::System::Print(char const*)'
App.cpp:(.text+0x64e): undefined reference to `Leadwerks::Interpreter::SetStackSize(int)'
App.cpp:(.text+0x65f): undefined reference to `Leadwerks::Interpreter::IsBool(int)'
App.cpp:(.text+0x66d): undefined reference to `Leadwerks::Interpreter::ToBool(int)'
App.cpp:(.text+0x67e): undefined reference to `Leadwerks::Interpreter::SetStackSize(int)'
App.cpp:(.text+0x68f): undefined reference to `Leadwerks::Interpreter::SetStackSize(int)'
App.cpp:(.text+0x6a0): undefined reference to `Leadwerks::Interpreter::SetStackSize(int)'
App.cpp:(.text+0x6b1): undefined reference to `Leadwerks::Interpreter::SetStackSize(int)'
App.cpp:(.text+0x6c2): undefined reference to `Leadwerks::Interpreter::SetStackSize(int)'
App.cpp:(.text+0x6e7): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x6f8): undefined reference to `std::allocator<char>::~allocator()'
App.cpp:(.text+0x712): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
App.cpp:(.text+0x723): undefined reference to `std::allocator<char>::~allocator()'
/tmp/ccRKsdhD.o: In function `__static_initialization_and_destruction_0(int, int)':
App.cpp:(.text+0x763): undefined reference to `std::ios_base::Init::Init()'
App.cpp:(.text+0x778): undefined reference to `std::ios_base::Init::~Init()'
/tmp/ccRKsdhD.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
App.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_]+0x3c): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()'
App.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_]+0x48): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::size() const'
App.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_]+0x61): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::reserve(unsigned long)'
App.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_]+0x78): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*, unsigned long)'
App.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_]+0x8b): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
App.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_]+0x9c): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()'
/tmp/ccRKsdhD.o: In function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&, char const*)':
App.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_]+0x23): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::append(char const*)'
App.cpp:(.text._ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_[_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_]+0x3d): undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)'
/tmp/ccRKsdhD.o:(.data.rel.ro._ZTI3App[_ZTI3App]+0x0): undefined reference to `vtable for __cxxabiv1::__class_type_info'
/tmp/ccRKsdhD.o:(.data.rel.local.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'
collect2: error: ld returned 1 exit status

 

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 1

Ok, Leadwerks Beta Branch doesn't have it included. I switched to the latest stable branch on Steam. The issue is fixed.

  • Thanks 1

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...