ofnode / of

CMake openFrameworks for Linux, OS X and Windows.
71 stars 14 forks source link

Windows support #21

Open xarthurx opened 5 years ago

xarthurx commented 5 years ago

Hi, I'm trying to compile on Windows platform.

Several things I noticed:

  1. The current CMake need pkg-config which google says to be a standard software in Linux system to solve dependences, is there a windows replacement of that?

  2. If disable the above, I also need to disable the current lines:

    #pkg_check_modules(CAIRO REQUIRED cairo) #pkg_check_modules(FONTCONFIG REQUIRED fontconfig)

and

#find_package(OpenAL REQUIRED)
#find_package(MPG123 REQUIRED)
#find_package(Freetype REQUIRED)
  1. Then, cmake said it also missing ZLIB_INCLUDE_DIR-NOTFOUND and ZLIB_LIBRARY_DEBUG-NOTFOUND.

My question here now is for Windows platform, are we suppose to use Linux Environment like MinGW or totally change to Windows based libs?

xarthurx commented 5 years ago

A general question for Windows versions is, are we suppose to use GNU environment to compile the framework? (Is it necessary/mendatory?)

If not, what are the replacements for those in the Unix-based environment? (I think this is the main issue I encounter when trying to make the Windows version work.)

avilleret commented 5 years ago

I never tested the windows build. It use to work with Microsoft Visual Studio (configure with CMake) but the previous maintainer drop support for that because of the headache it gives to him.

Concerning MinGW, I don't know if it could work.