Operating System: Windows 10
I'm trying to compile Ogre myself in Visual Studio 2019, including FreeImage. So I'm going through the CMake steps that are described here. However, that says I need to add the FreeImage dependency myself. I've tried that, but CMake keeps saying this:
Here's what I've done:Looking for FreeImage...
Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Could not locate FreeImage
- Download FreeImage here.
- Created a folder Dependencies in Ogre's source folder and put the FreeImage folder in there.
- Opened the FreeImage SLN file in Visual Studio 2019 and compiled both release and debug for 32bit. Build says 11 succeeded, 0 failed, 1 skipped.
- Clicked Configure in CMake (which is also set to 32bit). I now get the "Could not locate FreeImage error"
How can I get CMake to find FreeImage?