Exemple #1
0
 // Load the .so
 static {
   System.loadLibrary("SDL");
   // System.loadLibrary("SDL_image");
   // System.loadLibrary("SDL_mixer");
   // System.loadLibrary("SDL_ttf");
   System.loadLibrary("main");
 }
Exemple #2
0
 // Load the .so
 static {
   System.loadLibrary("SDL2");
   System.loadLibrary("SDL2_image");
   // System.loadLibrary("SDL2_mixer");
   // System.loadLibrary("SDL2_net");
   System.loadLibrary("SDL2_ttf");
   System.loadLibrary("main");
 }
 // Load the .so
 public void loadLibraries() {
   for (String lib : getLibraries()) {
     System.loadLibrary(lib);
   }
 }
 // Load the .so
 static {
   // Urho3D: everything resides in urho3d.so
   System.loadLibrary("Urho3D");
 }