rougier / freetype-gl

OpenGL text using one vertex buffer, one texture and FreeType
Other
1.65k stars 266 forks source link

✅ FreeType-gl Windows with demos building #191

Open ghost opened 6 years ago

ghost commented 6 years ago
  1. Download glfw
  2. Unpack it and make directory called e.g. buildglfw
  3. Run cmd type cd buildglfw press enter
  4. Go into cmake folder and move cmake.exe to cmd
  5. Move glfw folder to cmd
  6. When all will be finished go into buildglfw, open ALL_BUILD and build it
  7. Go into buildglfw/CMakeFIles/Export/lib/cmake/glfw, copy glfw3Targets.cmake
  8. Go back to buildglfw and then go into src - paste there glfw3Targets.cmake
  9. Download ftgl
  10. Run cmake-gui
  11. Setup source as a ftgl downloaded directory
  12. Make buildftgl folder and choose it as the build the binaries
  13. Add entry: a)GLFW3_INCLUDE_DIR as a path: folderWithglfw/include b)GLFW3_LIBRARY_DIR as apath:buildglfw/src/Debug c)GLFW3_LIBRARY as a filepath: buildglfw/src/Debug/glfw3.lib
  14. Generate
  15. Error happenes, because of Doxygen
  16. unmark freetype-gl_BUILD_APIDOC
  17. Go to buildftgl and delete all files
  18. Generate, build and enjoy!