-
Notifications
You must be signed in to change notification settings - Fork 27
Building
This page shows how to compile the mod.io SDK shared library. If you are a Game Developer seeking to add mod.io functionality to your project please refer to the Getting Started Guide instead.
Mod.io SDK is built on the top of LibCurl, Zlib, Minizip and Pthread. VisualC++, MinGW, GCC and Clang are supported. In order to build it run the makefile compatible with your compiler.
In order to compile using the Visual C++ Redistributable. The nmake
command is available on the Visual C++ command line interface provided by the Redistributable or you can add it to your environment path.
cd src
nmake -f MakefileVisual
This will generate the import library modio.lib
and the dynamic library modio.dll
under the src/ directory.
- Download and install the MinGW with MinGW32-Make support. Then add mingw32-make.exe to your environment path.
- Install the 32 bits Microsoft Visual C++ Redistributable
cd src
mingw32-make -f MakefileMingW
This will generate the import library modio.a
and the dynamic library modio.dll
under the src/ directory.
Install the following dependencies:
#Debian, Ubuntu
apt-get install g++ zlib1g-dev libcurl4-gnutls-dev
#Fedora
dnf install gcc-c++
cd src
make
This will generate the shared library modio.so
library under the src/ directory.
Install the build essentials shipped with XCode.
cd src
make -f MakefileClang
This will generate the shared library modio.dylib
library under the src/ directory.
- Home
- Table of Contents
- Getting Started
- SDK Methods
- Creators
- Editors
- Schemas
- modio::Avatar
- modio::Comment
- modio::Dependency
- modio::Download
- modio::Error
- modio::Filehash
- modio::Game
- modio::GameTagOption
- modio::Header
- modio::Icon
- modio::Image
- modio::InstalledMod
- modio::Logo
- modio::Media
- modio::MetadataKVP
- modio::Mod
- modio::ModEvent
- modio::Modfile
- modio::QueuedModDownload
- modio::QueuedModfileUpload
- modio::Rating
- modio::Response
- modio::Stats
- modio::Tag
- modio::User
- Debugging
- Constants
-
C Compatibility
- Methods
- Initialization, Process and Shutdown (C compatible)
- User Authentication (C compatible)
- Mods (C compatible)
- Modfiles (C compatible)
- Media (C compatible)
- Subscriptions (C compatible)
- Events (C compatible)
- Stats (C compatible)
- Tags (C compatible)
- Ratings (C compatible)
- Metadata KVP (C compatible)
- Dependencies (C compatible)
- Comments (C compatible)
- Reports (C compatible)
- Me (C compatible)
- Downloads (C compatible)
- Uploads (C compatible)
- Logs (C compatible)
- External Auth (C compatible)
- Configuration (C compatible)
- Creators
- Editors
- Schemas
- ModioAvatar
- ModioComment
- ModioDependency
- ModioDownload
- ModioError
- ModioFilehash
- ModioGame
- ModioGameTagOption
- ModioHeader
- ModioIcon
- ModioImage
- ModioInstalledMod
- ModioListNode
- ModioLogo
- ModioMedia
- ModioMetadataKVP
- ModioMod
- ModioModEvent
- ModioModfile
- ModioQueuedModDownload
- ModioQueuedModfileUpload
- ModioRating
- ModioResponse
- ModioStats
- ModioTag
- ModioUser
- Methods
- Building