mirror of
https://github.com/Maschell/dynamic_libs.git
synced 2024-11-15 01:15:15 +01:00
49 lines
898 B
Markdown
49 lines
898 B
Markdown
# Dynamic libs for WiiU homebrew.
|
|
|
|
## Compiling
|
|
|
|
Install this static library into your portlibs folder via:
|
|
|
|
```
|
|
make && make install
|
|
```
|
|
|
|
Link the application with:
|
|
```
|
|
-ldynamiclibs
|
|
```
|
|
|
|
You also need to add the include path to your Makefile. Example:
|
|
|
|
```
|
|
export INCLUDE := [...] -I$(PORTLIBS)/include
|
|
```
|
|
|
|
## Usage
|
|
|
|
To be able to use this library, you need to include the header initialize the OS functions.
|
|
|
|
```
|
|
InitOSFunctionPointers();
|
|
```
|
|
|
|
After that, you can initialize any lib and use their functions. Example:
|
|
|
|
```
|
|
InitVPadFunctionPointers();
|
|
InitProcUIFunctionPointers();
|
|
```
|
|
|
|
Check out the header for more information.
|
|
|
|
# Dependencies
|
|
|
|
All needed dependencies are in the "libs" folder of this repository. Extract the "portlibs.zip" archive into your devkitPro directory.
|
|
The archive includes:
|
|
|
|
- The "curl" header
|
|
|
|
# Credits
|
|
|
|
- Based on the dynamic_libs from dimok.
|
|
- Various other |