Jump to content

codeape

Members
  • Posts

    183
  • Joined

  • Last visited

Posts posted by codeape

  1. This is strange. I get the same crash when I try to edit some textures in the Leadwerks texture editor. These files that cause the crash are files that got copied from the project template when I created my project:

     

    Materials/Common/bfn.tex
    Materials/Concrete/concrete_dirty_diff.tex
    Materials/Concrete/concrete_dirty_spec.tex
    Materials/Concrete/concrete_dirty_dot3.tex
    Materials/Developer/BlueGrid.tex
    Materials/Developer/GreenGrid.tex
    Materials/Developer/leadwerks.tex
    Materials/Developer/caulk.tex
    Materials/Developer/GreyGrid.tex
    Materials/Developer/OrangeGrid.tex
    

     

    However these (attached images) that I made myself today work just fine. The ugly png images from before still crashes the editor.

    post-7525-0-85798700-1410461521.png

    post-7525-0-37365800-1410461528.png

    post-7525-0-67101600-1410461533.png

    post-7525-0-99131600-1410461539.png

  2. Hello,

     

    This is how you replecate the bug

    1. I start Leadwerks from steam
    2. Copy the attached images to myproject/Resources/Flags (the dir Resources is in my leadwerks project root and it does not matter if Resources and Flags are created with mkdir or created in the editor. The bug shows up any way)
       
    3. I double click or left click and choose "Edit" on any of the two textures generated from the images.
       
    4. No texture editor show up ... Leadwerks crashes.
    5. The .leadwerks/Leadwerks.log is empty!

    Always crashes on my machine:

    lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 14.04.1 LTS
    Release:	 14.04
    Codename:	 trusty
    

     

    The images where created in Gimp.

     

    I hope your eyes do not bleed from those ugly images but they where needed for an experiment smile.png

     

    EDIT: Added step 5.

    post-7525-0-50111400-1410384234.png

    post-7525-0-40284000-1410384244.jpg

  3. Lets make Leadwerks more independent from where it is run. Today you can not start your game from any other place than the dir where the executable is. This does not work:

    /home/user/mygame/mygame.debug
    ./mygame/mygame.debug
    

     

    Add the following to the Code::Blocks project in the template files:

    -Wl,-rpath=\\$$$ORIGIN
    

     

    To make the resource files load from any place add this right before app->Start() in main.cpp of the template files:

    #ifdef __linux__
    FileSystem::SetDir(FileSystem::ExtractDir(argv[0]));
    #else
    HMODULE hModule = GetModuleHandle(NULL);
    if (hModule != NULL) {
     char exePth[MAX_PATH];
     GetModuleFileName(hModule, exePth, MAX_PATH);
     FileSystem::SetDir(FileSystem::ExtractDir(exePth));
    }
    #endif
    

     

    This is based on this discussion:

    http://www.leadwerks.com/werkspace/topic/10628-shared-lib-libsteam-apiso-loading-question/

    • Upvote 1
  4. It turns out libsteam_api.so isn't copied into the directory when I build the project, which is a bit of an annoyance. But it seems to work when I copy libsteam_api.so to the published project's root directory.

     

    Try to update your project with the in editor tool project manager. It should add the correct libsteam_api.so file. I had the same problem.

  5. Hello

     

    On top of my doc list is documentation in the header files. Most IDE:s (including Visual C++ Express, Code::Blocks and Xcode) can contextualy display doc strings of methods and classes being used (for example when you do code completion). So, by using for example doxygen formated comments in the code that explains a little about a method would increase the coding speed and make less bug reports. We will get less bug reports on missing doc because Josh could kindly write "not officially supported" for a method or class but also add some doc about it anyway ... to be very kind. This of course takes less time and could be pushed in the future.s

     

    However, second on my list is to update the command reference with appending all not official method in their respective classes/struct and the text "not officially supported". Because ... if you have a header file you will surely look in it and wonder ... why is this method not in the doc? Head over to the bug forum etc. etc. This is an ok solution for now and can not take up to much time of Josh.

    • Upvote 1
  6. Ok,

     

    I load a texture:

    mouse = Leadwerks::Texture::Load("Resources/Mousepointer/mouse.tex");
    

     

    It is a png image that i have made a texture with that has DXT5 compression (the rest is Leadwerks default).

     

    I then use it:

    context->SetBlendMode(Leadwerks::Blend::Alpha);
    context->SetColor(1.0, 1.0, 1.0, 0.8);
    context->DrawImage(mouse, 300, 300, 16, 16);
    context->SetBlendMode(Leadwerks::Blend::Solid);
    

     

    Questions:

    1. Why does the image color change to what ever color I set with SetColor? Why does the image not keep the color it had in its orignal png file? I do not say it is wrong I only wonder why.
    2. Can I use DrawImage and keep all the colors in my image. If so are there any trade-offs?
    3. Where can I read more?

  7. Hello MoustafaChamli

     

    post-7525-0-04345200-1410209646_thumb.png

     

    Ok so you must pick the top of the tree in the Project -> Build options -> Linker settings tree so you target both debug and release (it has the project name ... in my case branch). You must add the flags to

    "Other linker options" ... see the red markings I made in the image.

     

    Be sure to recompile the whole project!

  8. Extending resource file path fix to windows (it had the same problem)

     

    #ifdef __linux__
    FileSystem::SetDir(FileSystem::ExtractDir(argv[0]));
    #else
    HMODULE hModule = GetModuleHandle(NULL);
    if (hModule != NULL) {
     char exePth[MAX_PATH];
     GetModuleFileName(hModule, exePth, MAX_PATH);
     FileSystem::SetDir(FileSystem::ExtractDir(exePth));
    }
    #endif
    

    • Upvote 1
  9. Now everythion works as expected:

    ~/src/git/leadwerks/branch> ./branch.debug
    ~/src/git/leadwerks/test> ../branch/branch.debug
    ~> ./src/git/leadwerks/branch/branch.debug
    

     

    All paths starts the game with loaded libsteam_api.so and all resources (textures, shaders etc.) with no errors.

     

    I added this to my Source/main.cpp:

     

    @@ -93,6 +93,9 @@ int main(int argc,const char *argv[])
     }
    #endif
     App* app = new App;
    +#ifdef __linux__
    +	 FileSystem::SetDir(FileSystem::ExtractDir(argv[0]));
    +#endif
     if (app->Start())
     {
    		 while (app->Loop()) {}
    

     

    The code added is the ifdef __linux__ stuff ... to be precise.

     

    Thank you again Guppy. Awesome teamwork =)

  10. Hat off for mr Guppy ... thanks =)

     

    I can confirm that $ORIGIN works. No problems loading libsteam_api.so using any path (like ./src/git/leadwerks/branch/branch.debug or ./branch/branch.debug)

     

    However another thing that now show up is this :

    ./branch/branch.debug
    Initializing OpenGL4 graphics driver...
    OpenGL version 431
    GLSL version 430
    Device: AMD Radeon HD 5700 Series
    Error: Failed to load texture "Materials/Common/bfn.tex"
    Error: Required texture "Materials/Common/bfn.tex" is missing.
    Loading map "/home/codeape/src/git/leadwerks/Maps/start.map"...
    [s_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
    [s_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
    Error: Failed to read file "/home/codeape/src/git/leadwerks/Maps/start.map".
    Error: Failed to load shader "./Shaders/Misc/occlusionquery.shader".
    

     

    So the paths to the game resources are not bullet prof. Hopefully this should easily be fixed with some path magic I have used before. However, I need to figure out where to plug it in though =)

     

    Well I will post an update about that later on this week.

  11. Thanks again guppy.

     

    Well I did that and this works:

     

    ./myGame 

     

    This does not:

    ./src/git/leadwerks/branch/branch.debug
    ./src/git/leadwerks/branch/branch.debug: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory

     

    I hope you see what I am doing ... being the devils advocate ... No one wants to end up with this on a released game.

  12. Thank you guppy.

     

    bascially if you try to run a c++ project binary currently it will fail with

     

    "mygame: error while loading shared libraries: libsteam_api.so: cannot open shared object file: No such file or directory"

     

    now you can get around that by specifying LD_PATH=. mygame, but that is quite frankly ugly and inconvenient

     

    So please in Project -> Build options -> Linker settings -> Other linker options put

     

    -Wl,-rpath=.

     

     

    ( personally I use "-Wl,-rpath=sharedlibs/" to avoid causing clutter in the root dir but that's just me wink.png )

     

    I have still some thoughts though.

     

    -Wl,-rpath= is a good option while you develop. However, -rpath will Add a directory to the runtime library search path. So if you compiled it in lets say : /home/myaccount/src/myLeadwerksgame it would add exactly that path. Am I wrong here? So if you distribute this to someone and that person puts the game in home/someone/games/myLeadwerksgame the game would still look for libsteam_api.so in /home/myaccount/src/myLeadwerksgame which will not exist on the other persons machine. Right?

  13. Ok, I have experience with Linux development since before. Before I can run my Leadwerks C++ game from the command line I need to set LD_LIBRARY_PATH or add the the path to libstem_api.so in /etc/ld.so.conf.d/ or simply copy or link the lib to /usr/lib etc etc. or simply run the game from Code::Blocks.

     

    So my questions:

     

    How does this work if a game is deployed on steam. Handles steam the loading path setting to libstem_api.so?

     

    If I want to sell my game outside steam can I get rid of the libstem_api.so dependency or do I need to set the path to libstem_api.so in some bootstrap script (one of several ideas)?

     

    Thank you for all info I can get

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

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

  16. 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)) ===|

×
×
  • Create New...