2017-10-29 08:28:11 +01:00
|
|
|
# Dynamic libs for WiiU homebrew.
|
2017-11-18 13:00:12 +01:00
|
|
|
[![Build Status](https://travis-ci.org/Maschell/dynamic_libs.svg?branch=master)](https://travis-ci.org/Maschell/dynamic_libs)
|
2017-10-29 08:28:11 +01:00
|
|
|
|
|
|
|
## Compiling
|
|
|
|
|
|
|
|
Install this static library into your portlibs folder via:
|
|
|
|
|
|
|
|
```
|
|
|
|
make && make install
|
|
|
|
```
|
|
|
|
|
2017-11-11 16:18:24 +01:00
|
|
|
Link the application with:
|
|
|
|
```
|
|
|
|
-ldynamiclibs
|
|
|
|
```
|
|
|
|
|
|
|
|
You also need to add the include path to your Makefile. Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
export INCLUDE := [...] -I$(PORTLIBS)/include
|
|
|
|
```
|
|
|
|
|
2017-10-29 08:28:11 +01:00
|
|
|
## 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.
|
|
|
|
|
2017-10-29 09:57:33 +01:00
|
|
|
# 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
|
|
|
|
|
2017-10-29 08:28:11 +01:00
|
|
|
# Credits
|
|
|
|
|
|
|
|
- Based on the dynamic_libs from dimok.
|
2017-11-18 13:00:12 +01:00
|
|
|
- Various other
|