F.A.Q Of Commonly Asked Technical Questions


Re-target the Windows SDK

If you see these types of errors:

This is because the template project was created in an older version of Visual Studio. To fix:

  • Right click on every project
  • select Retarget Projects
  • click Ok.
  • Next, rebuild the project.

If you create a new project in the future you will need to repeat these steps.


XCode PNG Compression issue

It is possible that your PNG images contain incorrect color profiles. You can convert color profiles using ImageMagick and the following command:

   find . -type f -name "*.png" -exec convert {} \;


generateJsonModelDebug FAILED

To solve this issue, please import the project into Android Studio, click Build/Refresh Linked C++ Projects.

Android Studio uses the ninja build system

Android Studio, itself, uses ninja to build native codes. There is ninja binary under Cmake folder. If Android Studio cannot find ninja on Windows, it is the Android Studio issue. You should set an environment variable that specifies the path to ninja:

ninja binaries are available as is ninja documentation.


FMod issues

Some users report issues with libfmod. If you encounter issues, please reference this post: Error while building for linux: libfmod.so.6


It may be necessary to add the following line to CMakeLists.txt if a can not be used when making a PIE object; compiler is thrown:

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -no-pie -fexceptions -std=c++11 -Wno-deprecated-declarations -Wno-reorder")

results matching ""

    No results matching ""