Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build on MacOS (XCode) #25

Open
gr8den opened this issue Dec 9, 2019 · 0 comments
Open

Cannot build on MacOS (XCode) #25

gr8den opened this issue Dec 9, 2019 · 0 comments

Comments

@gr8den
Copy link
Contributor

gr8den commented Dec 9, 2019

I follow instructions
https://github.com/ton-blockchain/wallet-desktop/blob/master/docs/building-xcode.md

When I try build Wallet with XCode I receive following error:

Ld /Users/gr8/projects/telegram/ton/wallet/wallet-desktop/out/Debug/codegen_emoji normal x86_64 (in target 'codegen_emoji' from project 'codegen')
    cd /Users/gr8/projects/telegram/ton/wallet/wallet-desktop/Wallet/codegen
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-macos10.12 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/gr8/projects/telegram/ton/wallet/wallet-desktop/out/Debug -L/usr/local/desktop-app/Qt-5.12.5/lib -L/usr/local/desktop-app/Qt-5.12.5/plugins -L/usr/local/desktop-app/Qt-5.12.5/plugins/bearer -L/usr/local/desktop-app/Qt-5.12.5/plugins/platforms -L/usr/local/desktop-app/Qt-5.12.5/plugins/imageformats -F/Users/gr8/projects/telegram/ton/wallet/wallet-desktop/out/Debug -filelist /Users/gr8/projects/telegram/ton/wallet/wallet-desktop/out/codegen.build/Debug/codegen_emoji.build/Objects-normal/x86_64/codegen_emoji.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/gr8/projects/telegram/ton/wallet/wallet-desktop/out/codegen.build/Debug/codegen_emoji.build/Objects-normal/x86_64/codegen_emoji_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -stdlib=libc++ -framework Cocoa -framework CoreFoundation -framework CoreServices -framework CoreText -framework CoreGraphics -framework CoreMedia -framework IOSurface -framework Metal -framework OpenGL -framework AudioUnit -framework ApplicationServices -framework Foundation -framework AGL -framework Security -framework SystemConfiguration -framework Carbon -framework AudioToolbox -framework VideoToolbox -framework VideoDecodeAcceleration -framework AVFoundation -framework CoreAudio -framework QuartzCore -framework AppKit -framework CoreWLAN -framework IOKit -lcups -lqwebp_debug -lqgif_debug -lqjpeg_debug -lQt5PrintSupport_debug -lQt5AccessibilitySupport_debug -lQt5FontDatabaseSupport_debug -lQt5EventDispatcherSupport_debug -lQt5ThemeSupport_debug -lQt5Network_debug -lQt5Widgets_debug -lQt5Gui_debug -lqtharfbuzz_debug -lqtlibpng_debug -lQt5Core_debug -lQt5GraphicsSupport_debug -lQt5ClipboardSupport_debug -lqgenericbearer_debug -lqtfreetype_debug -lqtpcre2_debug -lqcocoa_debug /usr/local/lib/libz.a -Xlinker -dependency_info -Xlinker /Users/gr8/projects/telegram/ton/wallet/wallet-desktop/out/codegen.build/Debug/codegen_emoji.build/Objects-normal/x86_64/codegen_emoji_dependency_info.dat -o /Users/gr8/projects/telegram/ton/wallet/wallet-desktop/out/Debug/codegen_emoji

clang: error: no such file or directory: '/usr/local/lib/libz.a'
Command Ld failed with a nonzero exit code

I try brew install zlib but this don't solve problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant