Jump to content

[SOLVED][LE 3.2 Linux Steam] Undefined refernces to Steam libs


codeape
 Share

Recommended Posts

HelloI had a old Leadwerks 3.2 Standard edition installed (with the old updater). I removed the old one and installed Leadwerks with standard edition DLC from steam and updated the .cbp to look like this:


When I try to build my game I in Code::Blocks I get this:
/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::Initialize()':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|68|undefined reference to `SteamAPI_Init'|

Here is the full log.

||=== Build: Debug in branch (compiler: GNU GCC Compiler) ===|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h||In constructor ‘CustomControllerConvexRayFilter::CustomControllerConvexRayFilter(const NewtonBody*)’:|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h|66|warning: converting to non-pointer type ‘long long int’ from NULL [-Wconversion-null]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h||In constructor ‘CustomControllerConvexRayFilter::CustomControllerConvexRayFilter(const NewtonBody*)’:|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h|66|warning: converting to non-pointer type ‘long long int’ from NULL [-Wconversion-null]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h||In constructor ‘CustomControllerConvexRayFilter::CustomControllerConvexRayFilter(const NewtonBody*)’:|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h|66|warning: converting to non-pointer type ‘long long int’ from NULL [-Wconversion-null]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h||In constructor ‘CustomControllerConvexRayFilter::CustomControllerConvexRayFilter(const NewtonBody*)’:|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h|66|warning: converting to non-pointer type ‘long long int’ from NULL [-Wconversion-null]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Directory.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Stream.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|2|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Classes/Drivers/Graphics/OpenGL2/OpenGL2Texture.h|3|warning: ignoring #pragma warning [-Wunknown-pragmas]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h||In constructor ‘CustomControllerConvexRayFilter::CustomControllerConvexRayFilter(const NewtonBody*)’:|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Include/Libraries/NewtonDynamics/packages/dCustomJoints/CustomControllerManager.h|66|warning: converting to non-pointer type ‘long long int’ from NULL [-Wconversion-null]|/home/codeape/src/git/leadwerks/branch/Source/main.cpp||In function ‘int main(int, const char**)’:|/home/codeape/src/git/leadwerks/branch/Source/main.cpp|58|warning: comparison between signed and unsigned integer expressions [-Wsign-compare]|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(loslib.o)||In function `os_tmpname':|/home/josh/Leadwerks/Engine/Source/Libraries/lua-5.1.4/loslib.c|60|warning: the use of `tmpnam' is dangerous, better use `mkstemp'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::Initialize()':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|68|undefined reference to `SteamAPI_Init'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|72|undefined reference to `SteamClient'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|73|undefined reference to `SteamUser'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|75|undefined reference to `SteamUtils'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|76|undefined reference to `SteamApps'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|77|undefined reference to `SteamFriends'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|78|undefined reference to `SteamUserStats'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|79|undefined reference to `SteamScreenshots'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|80|undefined reference to `SteamRemoteStorage'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|81|undefined reference to `SteamController'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::Shutdown()':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|407|undefined reference to `SteamAPI_Shutdown'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::PublishFile(std::string, std::string, std::string, std::string const&, std::vector >&, int, int (*)(float), int, int)':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|582|undefined reference to `SteamAPI_RunCallbacks'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|597|undefined reference to `SteamAPI_RunCallbacks'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::InitializeController()':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|717|undefined reference to `SteamController'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::UpdateController()':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|729|undefined reference to `SteamController'|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|732|undefined reference to `SteamController'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::TriggerHapticPulse(int, int, int)':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|791|undefined reference to `SteamController'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::GetUserPublishedWorkshopFiles(std::vector >&, EWorkshopEnumerationType, unsigned int, unsigned int, std::vector >, std::vector >)':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|965|undefined reference to `SteamAPI_RunCallbacks'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::GetAllWorkshopPackages(std::vector >&, EWorkshopEnumerationType, unsigned int, unsigned int, std::vector >, std::vector >)':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|1051|undefined reference to `SteamAPI_RunCallbacks'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::GetUserWorkshopFiles(unsigned int)':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|1094|undefined reference to `SteamAPI_RunCallbacks'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::GetSubscribedWorkshopPackages(std::vector >&, unsigned int)':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|1126|undefined reference to `SteamAPI_RunCallbacks'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `Leadwerks::Steamworks::GetFileInfo(unsigned long long, RemoteStorageGetPublishedFileDetailsResult_t&)':|/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|1165|undefined reference to `SteamAPI_RunCallbacks'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o):/home/josh/Leadwerks/Engine/Source/Classes/Steamworks.cpp|1217|more undefined references to `SteamAPI_RunCallbacks' follow|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageFileShareResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStoragePublishFileResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageEnumerateUserPublishedFilesResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageEnumerateWorkshopFilesResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageEnumerateUserSubscribedFilesResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageGetPublishedFileDetailsResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageDownloadUGCResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageDeletePublishedFileResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageUpdatePublishedFileResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageUnsubscribePublishedFileResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Set(unsigned long long, Leadwerks::Steamworks*, void (Leadwerks::Steamworks::*)(RemoteStorageSubscribePublishedFileResult_t*, bool))':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|193|undefined reference to `SteamAPI_UnregisterCallResult'|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|200|undefined reference to `SteamAPI_RegisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Cancel()':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|212|undefined reference to `SteamAPI_UnregisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Cancel()':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|212|undefined reference to `SteamAPI_UnregisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Cancel()':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|212|undefined reference to `SteamAPI_UnregisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Cancel()':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|212|undefined reference to `SteamAPI_UnregisterCallResult'|/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a(Steamworks.o)||In function `CCallResult::Cancel()':|/home/josh/Leadwerks/Engine/Source/Classes/../Libraries/steamworks/public/steam/steam_api.h|212|undefined reference to `SteamAPI_UnregisterCallResult'|||More errors follow but not being shown.|||Edit the max errors limit in compiler options...|||=== Build failed: 50 error(s), 47 warning(s) (0 minute(s), 12 second(s)) ===|

Link to comment
Share on other sites

Thanks guppy I am one step closer. Now I got this:

 

-------------- Build: Debug in branch (compiler: GNU GCC Compiler)---------------
g++ -o ../../branch.debug ../../Source/App.o ../../Source/game/BranchLoop.o ../../Source/game/Player.o ../../Source/game/ui/UiWindow.o ../../Source/main.o ""/home/codeape/.steam/steam/SteamApps/common/Leadwerks"/Library/Linux/Debug/Leadwerks.a" -lopenal -lGL -lGLU ""/home/codeape/.steam/steam/SteamApps/common/Leadwerks"/Library/Linux/libluajit.a" ""/home/codeape/.steam/steam/SteamApps/common/Leadwerks"/libsteam_api.so" -lX11 -lpthread
/home/codeape/.steam/steam/SteamApps/common/Leadwerks/libsteam_api.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
0 error(s), 0 warning(s) (0 minute(s), 0 second(s))

 

So I did:

 

file /home/codeape/.steam/steam/SteamApps/common/Leadwerks/libsteam_api.so
/home/codeape/.steam/steam/SteamApps/common/Leadwerks/libsteam_api.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=6525ee4c7bef65b09a487238dc15bfb5329158fc, not stripped

 

 

 

uname -a
Linux silver-linux 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

 

 

Hmmm I am stuck.

Link to comment
Share on other sites

Odd - the shared file ~/.steam/steam/SteamApps/common/Leadwerks/libsteam_api.so is indeed 32-bit but the one in the project dir is 64 bit - try linking against that

 

There is also a 64bit version in ~/.steam/steam/SteamApps/common/Leadwerks/Library/Linux

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Link to comment
Share on other sites

Ok so I needed to switch

<Add library="$(LeadwerksPath)/libsteam_api.so" />

 

to

 

<Add library="$(LeadwerksPath)/Library/Linux/libsteam_api.so" />

 

 

There are 2 libsteam_api.so

 

file /home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/libsteam_api.so
/home/codeape/.steam/steam/SteamApps/common/Leadwerks/Library/Linux/libsteam_api.so: ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=06389ecbedfdbebff5bc4427d033a35bd884c47b, not stripped

Link to comment
Share on other sites

I'm having the same issue. But my cbp line already had

 

<Add library="../../libsteam_api.so" />

 

I'm looking over the other thread you started (this one) for answers, but I'm not sure I get how you got it working.

 

I'll add a further explanation on that thread.

 

I have updated the other thread ... this thread is dead

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.

 Share

×
×
  • Create New...