You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ meson ~/dev/icecream/icecream-sundae --buildtype release
The Meson build system
Version: 1.0.0
Source dir: /Users/torarne/dev/icecream/icecream-sundae
Build dir: /Users/torarne/build/icecream-sundae
Build type: native build
Project name: icecream-sundae
Project version: 1.0.0
C++ compiler for the host machine: ccache c++ (clang 14.0.0 "Apple clang version 14.0.0 (clang-1400.0.29.202)")
C++ linker for the host machine: c++ ld64 820.1
Host machine cpu family: aarch64
Host machine cpu: aarch64
Found pkg-config: /opt/homebrew/bin/pkg-config (0.29.2)
Run-time dependency icecc found: YES 1.4.0
Run-time dependency glib-2.0 found: YES 2.74.4
Run-time dependency ncursesw found: YES 5.7.20081102
Library dl found: YES
Checking if "libicecc links dynamically" with dependencies icecc, glib-2.0, ncursesw, -ldl: links: NO
WARNING: Static library 'lzo2' not found for dependency 'icecc', may not be statically linked
WARNING: Static library 'archive' not found for dependency 'icecc', may not be statically linked
Run-time dependency icecc found: YES 1.4.0
../../dev/icecream/icecream-sundae/meson.build:37:4: ERROR: C++ shared or static library 'lzo2' not found
A full log can be found at /Users/torarne/build/icecream-sundae/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
Adding an explicit library path with LIBRARY_PATH=/opt/homebrew/lib meson ~/dev/icecream/icecream-sundae --buildtype release fixes it.
Building then fails with:
❯ ninja
[1/5] Compiling C++ object icecream-sundae.p/src_draw.cpp.o
FAILED: icecream-sundae.p/src_draw.cpp.o
ccache c++ -Iicecream-sundae.p -I. -I../../dev/icecream/icecream-sundae -I../../dev/icecream/icecream-sundae/src -I/opt/homebrew/Cellar/icecream/1.4/include -I/opt/homebrew/Cellar/glib/2.74.4/include/glib-2.0 -I/opt/homebrew/Cellar/glib/2.74.4/lib/glib-2.0/include -I/opt/homebrew/opt/gettext/include -I/opt/homebrew/Cellar/pcre2/10.42/include -fcolor-diagnostics -DNDEBUG -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++14 -O3 -fcolor-diagnostics -DNCURSES_WIDECHAR -MD -MQ icecream-sundae.p/src_draw.cpp.o -MF icecream-sundae.p/src_draw.cpp.o.d -o icecream-sundae.p/src_draw.cpp.o -c ../../dev/icecream/icecream-sundae/src/draw.cpp
../../dev/icecream/icecream-sundae/src/draw.cpp:156:29: warning: loop variable 'h' creates a copy from type 'const std::shared_ptr<HostCache>' [-Wrange-loop-construct]
for (auto const h : hosts) {
^
../../dev/icecream/icecream-sundae/src/draw.cpp:156:18: note: use reference type 'const std::shared_ptr<HostCache> &' to prevent copying
for (auto const h : hosts) {
^~~~~~~~~~~~~~
&
../../dev/icecream/icecream-sundae/src/draw.cpp:243:29: warning: loop variable 'h' creates a copy from type 'const std::shared_ptr<HostCache>' [-Wrange-loop-construct]
for (auto const h : hosts)
^
../../dev/icecream/icecream-sundae/src/draw.cpp:243:18: note: use reference type 'const std::shared_ptr<HostCache> &' to prevent copying
for (auto const h : hosts)
^~~~~~~~~~~~~~
&
../../dev/icecream/icecream-sundae/src/draw.cpp:421:21: warning: loop variable 'j' creates a copy from type 'const std::pair<const unsigned int, std::shared_ptr<Job>>' [-Wrange-loop-construct]
for (auto const j : jobs) {
^
../../dev/icecream/icecream-sundae/src/draw.cpp:421:10: note: use reference type 'const std::pair<const unsigned int, std::shared_ptr<Job>> &' to prevent copying
for (auto const j : jobs) {
^~~~~~~~~~~~~~
&
../../dev/icecream/icecream-sundae/src/draw.cpp:554:21: warning: loop variable 'h' creates a copy from type 'const std::pair<const unsigned int, std::shared_ptr<Host>>' [-Wrange-loop-construct]
for (auto const h : Host::hosts) {
^
../../dev/icecream/icecream-sundae/src/draw.cpp:554:10: note: use reference type 'const std::pair<const unsigned int, std::shared_ptr<Host>> &' to prevent copying
for (auto const h : Host::hosts) {
^~~~~~~~~~~~~~
&
../../dev/icecream/icecream-sundae/src/draw.cpp:651:33: error: use of undeclared identifier 'WACS_UARROW'
add_wch(sort_reversed ? WACS_UARROW : WACS_DARROW);
^
../../dev/icecream/icecream-sundae/src/draw.cpp:651:47: error: use of undeclared identifier 'WACS_DARROW'
add_wch(sort_reversed ? WACS_UARROW : WACS_DARROW);
^
4 warnings and 2 errors generated.
[4/5] Compiling C++ object icecream-sundae.p/src_main.cpp.o
ninja: build stopped: subcommand failed.
The text was updated successfully, but these errors were encountered:
Configure fails with:
Adding an explicit library path with
LIBRARY_PATH=/opt/homebrew/lib meson ~/dev/icecream/icecream-sundae --buildtype release
fixes it.Building then fails with:
The text was updated successfully, but these errors were encountered: