Jump to content

mbarhon

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by mbarhon

  1. 11 minutes ago, aiaf said:

    I think sticking to the ubuntu lts version is best, that's my experience not doing intermediary updates anymore.

    16.04 end of life is 2021 still getting updates.Next lts will be 18.04 on april.

    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. 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 :(

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

     

  4. 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:

    Screenshot from 2017-12-31 00-07-45.png

    And with g++-6.x compiler:

    Screenshot from 2017-12-31 00-06-37.png

  5. 1 hour ago, Ma-Shell said:

    You might want to consider supporting cmake. cmake is able to generate projects for different IDEs. So you only have to support the cmake-files and by that you gain support for various IDEs. cmake can e.g. generate Make-files, as well as CodeBlocks-, CodeLite-, Eclipse-, or Sublime-Projects.

    Though I really don't know much about it, it looks like something worth looking into!


    Thank you for advice, I know cmake but never worked with it :)

  6. 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 :-(

  7. 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 :-)

  8. 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 :)

  9. 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)

    • Upvote 3
  10. Ubuntu 14 LTS uses GCC 4.9.1 and Ubuntu 16 uses GCC 5.3.1, did you try downgrading to 4.9.1 (I don't know if you can)? It's a bad idea to mix different versions of GCC with Leadwerks because a number of function signatures use STL (mostly std::string but I've seen std::vector a few times), the underlying implementation of STL has likely changed between GCC releases.

     

    Hi, thank you for advice! I will try it

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

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