mingw32 - How do I use CMake to build a package using MinGW? -


i'm trying build software ecmwf called eccodes.

  • it builds fine on gnu/linux.
  • it builds fine on mac os x.
  • it builds fine on windows/cygwin.
  • unfortunately (ugh!!), must use windows , can't use cygwin.
  • i have use mingw.

the build instructions use cmake. no expert @ cmake. windows system on has:

  • cygwin64
  • mingw64
  • a bare-bones visual studio 14

i've tried every incantation , override of cmake variables/options:

-dcmake_c_compiler=... \ -dcmake_cxx_compiler=... \ -dcmake_fortran_compiler=... \ -dcmake_make_program=... \ -g ... 

to eccodes build using mingw, no luck. know ask, "why not contact ecmwf?" short answer is, response time long (months/years). faq page empty, , can't post questions on jira site (it's locked).

would possible knows cmake , mingw download .tar.gz, build eccodes using mingw, , tell how did it?

http://www.ecmwf.int/

https://software.ecmwf.int/wiki/display/ecc/eccodes+home

https://software.ecmwf.int/wiki/download/attachments/45757960/eccodes-0.13.0-source.tar.gz?api=v2


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -