GithubHelp home page GithubHelp logo

ldl's People

Contributors

jordancpp avatar supinrus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ldl's Issues

Ошибки компилирования и запуска в Void Linux

Здравствуйте.
У меня возникает ошибка сегментирования во всех примерах(запускается нормально только 01Window).
Также возникла ошибка компилирования
/home/lev/build/LDL/demos/Arcanum/Art.cpp: In constructor 'ArtFileHeader::ArtFileHeader()': /home/lev/build/LDL/demos/Arcanum/Art.cpp:39:9: error: 'memset' was not declared in this scope 39 | memset(this, 0, sizeof(ArtFileHeader)); | ^~~~~~ /home/lev/build/LDL/demos/Arcanum/Art.cpp:28:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 27 | #include "Art.hpp" +++ |+#include <cstring> 28 | /home/lev/build/LDL/demos/Arcanum/Art.cpp: In constructor 'ArtFrame::ArtFrame()': /home/lev/build/LDL/demos/Arcanum/Art.cpp:44:9: error: 'memset' was not declared in this scope 44 | memset(this, 0, sizeof(ArtFrame)); | ^~~~~~ /home/lev/build/LDL/demos/Arcanum/Art.cpp:44:9: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? /home/lev/build/LDL/demos/Arcanum/Art.cpp: In constructor 'ArtFrameInfo::ArtFrameInfo()': /home/lev/build/LDL/demos/Arcanum/Art.cpp:49:9: error: 'memset' was not declared in this scope 49 | memset(this, 0, sizeof(ArtFrameInfo)); | ^~~~~~ /home/lev/build/LDL/demos/Arcanum/Art.cpp:49:9: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'? [ 78%] Built target 01_GL3_Triangle /home/lev/build/LDL/demos/Fallout/Loaders.cpp: In member function 'Sprite* SpriteLoader::GetSprite(const char*)': /home/lev/build/LDL/demos/Fallout/Loaders.cpp:74:132: error: taking address of rvalue [-fpermissive] 74 | LDL_Texture* texture = new LDL_Texture(LDL_Vec2i(_FrmFrame.width, _FrmFrame.height), _FrmFrame.indexes, _Palette, &LDL_Alpha(0)); | ^~~~~~~~~~~~ /home/lev/build/LDL/demos/Arcanum/Art.cpp: In member function 'void ArtReader::Read(ArtFrameInfo*, ArtFile*, size_t)': /home/lev/build/LDL/demos/Arcanum/Art.cpp:137:17: error: 'byte' was not declared in this scope; did you mean 'GLbyte'? 137 | byte c = 0x00; | ^~~~ | GLbyte make[2]: *** [demos/Fallout/CMakeFiles/Fallout.dir/build.make:104: demos/Fallout/CMakeFiles/Fallout.dir/Loaders.o] Ошибка 1 make[1]: *** [CMakeFiles/Makefile2:372: demos/Fallout/CMakeFiles/Fallout.dir/all] Ошибка 2 make[1]: *** Ожидание завершения заданий… /home/lev/build/LDL/demos/Arcanum/Art.cpp:142:33: error: 'c' was not declared in this scope 142 | c = _Reader->u8(); | ^ /home/lev/build/LDL/demos/Arcanum/Art.cpp:145:43: error: 'c' was not declared in this scope 145 | dest->pixels[j] = c; | ^ make[2]: *** [demos/Arcanum/CMakeFiles/Arcanum.dir/build.make:76: demos/Arcanum/CMakeFiles/Arcanum.dir/Art.o] Ошибка 1 make[1]: *** [CMakeFiles/Makefile2:346: demos/Arcanum/CMakeFiles/Arcanum.dir/all] Ошибка 2 make: *** [Makefile:91: all] Ошибка 2

Big single project.

I think you split it on modules (subrojects) if you will contribute this in STATIC .
Which can be esier to modify and build with only specific modules e.g. if you wanna build app for "toaster" directx not needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.