Go to file
tobid7 410d6bf919 Changes:
Fix some Typenames
Add Sound to RD7 Namespace
Add Line to Render2
Fix scrollbar dragging
2024-06-30 15:43:48 +02:00
.vscode Cleanup ImageConverter 2024-06-14 20:55:55 +02:00
assets/resources Cleanup ImageConverter 2024-06-14 20:55:55 +02:00
docs 0.9.5 preview1 2024-02-19 19:20:37 +01:00
include Changes: 2024-06-30 15:43:48 +02:00
rd7tf Changes: 2024-06-15 15:12:06 +02:00
source Changes: 2024-06-30 15:43:48 +02:00
.clang-format 0.9.5 preview1 2024-02-19 19:20:37 +01:00
.clangd Update .clangd and gitignore 2024-05-18 19:28:58 +02:00
.gitignore Update .clangd and gitignore 2024-05-18 19:28:58 +02:00
CHANGELOG.md Update: 2024-05-22 22:16:40 +02:00
clang-format.py Changes: 2024-06-16 22:28:16 +02:00
doxide.yaml 0.9.5 preview1 2024-02-19 19:20:37 +01:00
generate_assets.py Add License text to every source file 2024-05-18 20:05:03 +02:00
LICENSE 0.9.5 preview1 2024-02-19 19:20:37 +01:00
logo.png Cleanup ImageConverter 2024-06-14 20:55:55 +02:00
mkdocs.yaml 0.9.5 preview1 2024-02-19 19:20:37 +01:00
README.md Changes: 2024-06-08 21:00:40 +02:00

LOGO

RenderD7 as Submodule (0.9.5+)

To use RenderD7 just use this command: git submodule add https://github.com/NPI-D7/RenderD7 and add -b v0.9.5 for example for a specific version.

And in Your Project Makefile add this

# Make Sure to Change this paths if your Submodule
# is located somewhere else
RENDERD7_SRC := RenderD7/source RenderD7/external
RENDERD7_INC := RenderD7/include
# Libraries used for RenderD7
# if you already use -lm, -lctru etc place a # before -lm
RENDERD7_LIBS := -lcurl -lmbedtls -lmbedx509 -lmbedcrypto -lz -lm -lcitro2dd -lcitro3d -lctru

Now you need to add it to your sources and includes

SOURCES		:=	source $(RENDERD7_SRC)
INCLUDES	:=	source $(RENDERD7_INC)

Example from rd7tf

Installation (0.8.0-0.9.4) (OUTDATED)

Download a Package From Releses Page https://github.com/NPI-D7/RenderD7/releases/download/v0.9.4/renderd7.tar.bz2 -o renderd7.tar.bz2 Then Extract it to your Libraries Path bzip2 -cd renderd7.tar.bz2 | tar -xf - -C path_to_your_libs Finally put -lrenderd7 to the First Place and add the path_to_your_libs

LIBS	:= -lrenderd7 -lcurl -lstdc++ -lm -lcitro2d -lcitro3d -lctru
#---------------------------------------------------------------------------------
# list of directories containing libraries, this must be the top level containing
# include and lib
#---------------------------------------------------------------------------------
LIBDIRS	:= $(PORTLIBS) $(CTRULIB) ../path_to_your_libs

Make sure that -lrenderd7 is before -lcitro2d, -lcitro3d, -lctru. Here an example tree

Example-App
├── gfx
├── libs
│   ├── include
│   │   ├── rd7.hpp
│   │   └── renderd7
│   └── lib
│       ├── librenderd7.a
│       └── librenderd7d.a
├── Makefile
├── romfs
│   └── gfx
└── src
    └── main.cpp

Credits

  • NPI-D7
    • Tobi-D7 Main Dev

Some Icons are From https://icons8.de/ See Subfolder Readmes