Building static libraries on Mac using CMake and GCC?

前端 未结 3 377
时光说笑
时光说笑 2020-12-15 21:18

Greetings all,

I have a static library which I later link with my application. My development environment is CMake, GCC (Linux, Mac), MinGW (Windows).

I can

3条回答
  •  孤街浪徒
    2020-12-15 21:28

    The similar problem with static libraries on MacOSX is discussed here: http://lists.macosforge.org/pipermail/macports-tickets/2008-June/010680.html

    Try to do a full clean and run a not-parallel build.

    And this guide recommends to install macports, then "sudo port install autogen autoconf automake nano libtool libsdl patchutils subversion wget gmake", and then export PATH="/usr/local/bin:/usr/local/sbin:$PATH"

提交回复
热议问题