jordancpp / ldl Goto Github PK
View Code? Open in Web Editor NEWLicense: Boost Software License 1.0
License: Boost Software License 1.0
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.
Здравствуйте.
У меня возникает ошибка сегментирования во всех примерах(запускается нормально только 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
Try rid off member names with lead "_" symbol.
Hello.
Please indicate the Linux versions.
Lubuntu 16.04 (32/64 bit)
Lubuntu 22.04 LTS (64 bit)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.