Building Freeablo

Ghuntar
Posts: 11
Joined: Tue Apr 29, 2014 12:31 pm

Re: Building Freeablo

Post by Ghuntar »

Yosemite 10.10.1, Xcode 6.1

With the full reinstall of the brews (I guess some where previously installed without the --universal tag), I was able to compile librocket (in the brew way).
Now I'm stuck again on the SDL2 path in the makefile when compiling freeablo. As I had not much time, I've left it here. I'll tell you as soon as I fix this.

zykis
Posts: 6
Joined: Sat Nov 29, 2014 7:51 pm

Re: Building Freeablo

Post by zykis »

Try out to

Code: Select all

brew install sdl2_image
brew install sdl2_mixer
There are dependencies in CMakeLists.txt, that not actually display warnings if these packages are missing

gbudny
Posts: 4
Joined: Sun Jan 10, 2016 8:11 pm

Re: Building Freeablo

Post by gbudny »

Hi

I can't compile Freeablo on Mac OS X 10.10.5:

brew install boost boost-python lbzip2 lzlib sdl2 sdl2_image freetype libtomcrypt --universal cmake
Warning: boost-1.59.0 already installed
Warning: boost-python-1.59.0 already installed
Warning: lbzip2-2.2 already installed
Warning: lzlib-1.7 already installed
Warning: sdl2-2.0.3 already installed
Warning: sdl2_image-2.0.0_1 already installed
Warning: freetype-2.6_1 already installed
Warning: libtomcrypt-1.17 already installed
Warning: cmake-3.4.1 already installed

brew install --HEAD librocket
==> Installing librocket from wheybags/librocket
==> Cloning https://github.com/libRocket/libRocket.git
Updating /Library/Caches/Homebrew/librocket--git
==> Checking out revision f164420c505a073fc878be9b5e238e3a2a2955f8
==> cd Build && cmake . -G Xcode -DBUILD_PYTHON_BINDINGS=On
==> cd Build && xcodebuild -project libRocket.xcodeproj/ -configuration Release
Last 15 lines from /Users/user/Library/Logs/Homebrew/librocket/02.-configuration:
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Ld libRocket.build/Release/RocketCore.build/Objects-normal/x86_64/libRocketCore.1.3.0.0.dylib normal x86_64
cd /tmp/librocket20160110-2667-31z832/Build
export MACOSX_DEPLOYMENT_TARGET=10.10
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch x86_64 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -L/tmp/librocket20160110-2667-31z832/Build/Release -F/tmp/librocket20160110-2667-31z832/Build/Release -filelist /tmp/librocket20160110-2667-31z832/Build/libRocket.build/Release/RocketCore.build/Objects-normal/x86_64/RocketCore.1.3.0.0.LinkFileList -install_name /libRocketCore.1.3.0.0.dylib -mmacosx-version-min=10.10 -dynamiclib -Wl,-headerpad_max_install_names -install_name @rpath/libRocketCore.1.dylib /usr/local/lib/libfreetype.dylib -single_module -compatibility_version 1.0.0 -current_version 1.3.0 -Xlinker -dependency_info -Xlinker /tmp/librocket20160110-2667-31z832/Build/libRocket.build/Release/RocketCore.build/Objects-normal/x86_64/RocketCore.1.3.0.0_dependency_info.dat -o /tmp/librocket20160110-2667-31z832/Build/libRocket.build/Release/RocketCore.build/Objects-normal/x86_64/libRocketCore.1.3.0.0.dylib
ld: warning: directory not found for option '-L/tmp/librocket20160110-2667-31z832/Build/Release'
ld: warning: directory not found for option '-F/tmp/librocket20160110-2667-31z832/Build/Release'

** BUILD FAILED **


The following build commands failed:
Ld libRocket.build/Release/RocketCore.build/Objects-normal/i386/libRocketCore.1.3.0.0.dylib normal i386
(1 failure)

READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/wheybags/librocket/issues

Can you help me?

gbudny
Posts: 4
Joined: Sun Jan 10, 2016 8:11 pm

Re: Building Freeablo

Post by gbudny »

In the past, this script helped me to solve the issue with Homebrew:

https://gist.github.com/SteveBenner/11254428

Post Reply