Jump to content

mbarhon

Members
  • Posts

    16
  • Joined

  • Last visited

Everything posted by mbarhon

  1. mbarhon

    Linux Build Problem

    Yes, i aggree, it's the best practise, I just didn't expect such problems with compilators... Today I will reinstall it, i have /home dir as separate partition so it will be piece of cake
  2. mbarhon

    Linux Build Problem

    On virtual machine where compilation works is gcc version 5.4.0 and on my machine with 16.10 I have versions 4.9.4, 5.4.1 and 6.3.0 but non of them works.
  3. mbarhon

    Linux Build Problem

    So, on virtual machine with latest ubuntu 16.04 and fresh instalation of steam, leadwerks + necessary libraries (libgl1-mesa-dev, libopenal-dev, libcurl4-gnutls-dev) i'm able build the sample project in CodeBlocks and in CodeLite (with some modifications) too... But it looks I'm not able to build Leadwerks projects on Ubuntu 16.10 anymore and have to switch back to Ubuntu 16.04
  4. mbarhon

    Linux Build Problem

    yes, now I have version 4.9 and 6, but on both of them it end up with error. On 4.9 with "undefined reference" and on 6 with "nonrepresentable section on output". I will try fresh instalation of ubuntu 16.04 in virtual and will see
  5. mbarhon

    Linux Build Problem

    I have latest ubuntu 16 too (16.10), I will try compile the project on virtual with fresh instalation.
  6. mbarhon

    Linux Build Problem

    Thanks for fast response, but unfortunately this didn't work for me. What version of gcc and libc you used for leadwerks compilation? I guess the problem is that I have different version of g++, same issue that I have a year ago in this thread: https://www.leadwerks.com/community/topic/14663-compile-problem-on-ubuntu-1604-using-codeblocks-c/
  7. mbarhon

    Linux Build Problem

    I experiencing the same problem now (In CodeBlock and in CodeLite too) Did you solve this? I have Ubuntu 16.10 with g++ 4.9 compiler. The result with version 4.9 it's probably same like you have: And with g++-6.x compiler:
  8. Thank you for advice, I know cmake but never worked with it
  9. Hi Josh. Yes CLion is great but that price is not for everyone :-( I started with CodeLite today, but GDB interface looks similar like in CodeBlocks. Maybe 2 years ago CodeBlocks was really good multiplatform IDE, I used it for C++ and C - Atmel projects at work. It's sad, but I have to say that now everything is better than CodeBlocks :-(
  10. Hi there, since Code::Blocks IDE is quiet unstable, buggy and occasionally freezes, especially on Linux (Ubuntu 16.10+) I have to look for another multi-platform IDE for C++. Now I mess with CodeLite IDE and it looks promising. It's possible officially support this IDE? - create a basic workspace and project, or is there someone who have some experience with this IDE in combination with Leadwerks? :-) Thanks :-)
  11. Hi, i like your idea. The way is maybe create your own loader/class. For every frame of GIF create texture using function Texture:Create and fill data with Texture:SetPixel (look for it in API) Description of GIF format will be on internet or look for some GIF loader for pure opengl, it will be similar i guess
  12. Hi all, thanks to advice of thehankinator I have found the solution. It's simple, just install gcc version 4.9 in ubuntu 16.04.. sudo apt-get update sudo apt-get install gcc-4.9 g++-4.9 ...and after it, open CodeBlocks and set path for another version of compiler (Settings->Compiler->Toolchain Executables)
  13. Hi guys, I'm still stuck, nobody have some advice? I tried install leadwerks on another computer with fresh ubuntu 16.04, Steam, CodeBlocks and Leadwerks(from steam) and the problem is still same.
  14. I have some progress, when I changed path of leadwerks libraries to "relative" instead of whole path from root, it is compile, but have another problem, maybe with architecture: ../../../../../../Steam/steamapps/common/Leadwerks/Library/Linux/libsteam_api.so: error adding symbols: File in wrong format
  15. Hi all, I have problem compile a blank Leadwerks C++ project on ubuntu 16.04(64Bit) with CodeBlocs(ver.16.01). Before i used CB on Ubuntu 15.10 without problems. Strange is that after fresh install on ubuntu 16.04 I have to install also all dependecy libraries manualy (libgl1-mesa-dev...etc) even it is installed from Steam. After installation of libraries that linker wanted i got: g++ -o ../../SpaceWars.debug ../../Source/App.o ../../Source/main.o /media/mbarhon/53229DC13D856ACD/mbarhon/Steam/steamapps/common/Leadwerks/Library/Linux/Debug/Leadwerks.a -ldl -lopenal -lGL -lGLU /media/mbarhon/53229DC13D856ACD/mbarhon/Steam/steamapps/common/Leadwerks/Library/Linux/libluajit.a ../../libsteam_api.so -lX11 -lpthread undefined reference to `Leadwerks::FileSystem::StripAll(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' and this repeats for every line contain any function or varible from namespace Leadwerks. I tried to change a linker settings (directory of leadwerks lib ), but without success. Maybe I forgot to install some lib? I'm little stuck at this moment. Have someone any idea where can be the problem?
×
×
  • Create New...