我试图在OSX上编译Unity3D mono,我已经通过Windows上的Visual Studio为Windows编译了它,并且工作正常,但是结果是Windows动态库(.dll),现在我需要可以在(.dylib)中为OSX编译相同的库。
我在做什么: 现在在osx平台上即时通讯,并在终端中运行以下命令:
sudo ./autogen.sh --prefix=/usr/local --with-glib=embedded --disable-nls --build=i386-apple-darwin11.2.0
和
sudo make
在sudo上。/autogen.sh...一切似乎都很好,但是在sudo上使我收到此错误
libtool: link: ( cd ".libs" && rm -f "libmonogc-static.la" && ln -s "../libmonogc-static.la" "libmonogc-static.la" )
Making all in eglib
make[2]: *** No rule to make target `all'. Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
我还尝试不嵌入eglib,但是如果我已经通过brew安装了eglib 2.4.0,但没有任何更改,我也会收到一条错误消息,提示“至少需要2.4.0”。
非常感谢您的帮助,谢谢:)。