Compile problem Survex 1.2.43 - OSX 12.1

Ladislav Blažek ladislav at lblazek.cz
Fri Feb 25 20:41:27 GMT 2022


Hi Enrico,

please run the install command once again with verbose option enabled and share the output.

brew install survex -v

or

brew reinstall survex -v

@Olly, I just tested the installation right now and it seems I have the same problem. It is related to „moviemaker“ functionality. I was able to successfully build and install survex after I removed ffmpeg installation and skipped ffmpeg dependecy installation. This effectively disabled „moviemaker“ functionality. 
My machine is MPB 14" with Apple Silicon.

here is the verbose output with ffmpeg installed:

==> Installing ladislavb/survex/survex
tar --extract --no-same-owner --file /Users/ladislav.blazek/Library/Caches/Homebrew/downloads/702ec7f02cfbf03063748729b649a4e71d50adfce88fe939c9d114d2795cd4de--survex-1.4.1.tar.gz --directory /private/tmp/d20220225-77605-1ht3uh
cp -pR /private/tmp/d20220225-77605-1ht3uh/survex-1.4.1/. /private/tmp/survex-20220225-77605-lqrazn/survex-1.4.1
chmod -Rf +w /private/tmp/d20220225-77605-1ht3uh
==> ./configure --prefix=/opt/homebrew/Cellar/survex/1.4.1_2 --bindir=/opt/homebrew/Cellar/survex/1.4.1_2/bin --mandir=/opt/homebrew/Cellar/survex/1.4.1_2/share/man --docdir=/opt/homebrew/Cellar/survex/1.4.1_2/share/doc/survex --datadir=/opt/homebrew/Cellar/survex/1.4.1_2/share
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... arm-apple-darwin21.3.0
checking host system type... arm-apple-darwin21.3.0
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether clang accepts -g... yes
checking for clang option to enable C11 features... none needed
checking whether clang understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang -E
checking whether the compiler supports GNU C++... yes
checking whether clang++ accepts -g... yes
checking for clang++ option to enable C++11 features... none needed
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E
checking whether clang++ supports C++11 features by default... no
checking whether clang++ supports C++11 features with -std=gnu++11... yes
checking for inline... inline
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for strip... /usr/bin/strip
checking for sqrt in -lm... yes
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for wx-config-3.0... no
checking for wx-config-gtk3... no
checking for wx-config... /opt/homebrew/opt/wxwidgets/bin/wx-config
checking for XF86VidModeQueryVersion in -lXxf86vm... no
checking for gluProject in -lGLU... yes
checking for glPushMatrix in -lGL... yes
checking for GL/gl.h... no
checking for OpenGL/gl.h... yes
checking for GL/glext.h... no
checking for OpenGL/glext.h... no
checking size of wxChar... 4
checking for pkg-config... /opt/homebrew/Library/Homebrew/shims/mac/super/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for clang options needed to detect all undeclared functions... none needed
checking for libavcodec libavformat libswscale libavutil... yes
checking for av_guess_format... yes
checking for avio_open... yes
checking for avio_close... yes
checking for avformat_write_header... yes
checking for avcodec_encode_video2... no
checking for avcodec_free_frame... no
checking for avcodec_open2... yes
checking for avformat_new_stream... yes
checking for av_frame_alloc... yes
checking for av_frame_free... yes
checking whether AVMEDIA_TYPE_VIDEO is declared... yes
checking whether AV_CODEC_ID_NONE is declared... yes
checking whether AV_PIX_FMT_RGB24 is declared... yes
checking whether AV_PIX_FMT_YUV420P is declared... yes
checking for proj >= 6.2.0... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for limits.h... yes
checking for string.h... (cached) yes
checking for setjmp.h... yes
checking for sys/select.h... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for strftime... yes
checking for vprintf... yes
checking whether lround is declared... yes
checking for popen... yes
checking for getpwuid... yes
checking for lround... yes
checking for strcasecmp... yes
checking for hypot... yes
checking for mmap... yes
checking for difftime... yes
checking for getc_unlocked... yes
checking for putc_unlocked... yes
checking for setenv... yes
checking for unsetenv... yes
checking for strcasecmp... (cached) yes
checking how to compare strings ignoring case... strcasecmp
checking for jw... ${SHELL} '/private/tmp/survex-20220225-77605-lqrazn/survex-1.4.1/missing' jw
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating lib/Makefile
config.status: creating lib/icons/Makefile
config.status: creating lib/images/Makefile
config.status: creating tests/Makefile
config.status: creating vim/Makefile
config.status: creating survex.iss
config.status: creating doc/index.htm
config.status: creating doc/survex.7
config.status: creating survex.spec
config.status: creating lib/Info.plist
config.status: creating config.h
config.status: executing depfiles commands
==> make
/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
Making all in .
make[2]: Nothing to be done for `all-am'.
Making all in lib
Making all in icons
make[3]: Nothing to be done for `all'.
Making all in images
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in src
/Library/Developer/CommandLineTools/usr/bin/make  all-am
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT cavern.o -MD -MP -MF .deps/cavern.Tpo -c -o cavern.o cavern.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT date.o -MD -MP -MF .deps/date.Tpo -c -o date.o date.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT listpos.o -MD -MP -MF .deps/listpos.Tpo -c -o listpos.o listpos.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT datain.o -MD -MP -MF .deps/datain.Tpo -c -o datain.o datain.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT netskel.o -MD -MP -MF .deps/netskel.Tpo -c -o netskel.o netskel.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT network.o -MD -MP -MF .deps/network.Tpo -c -o network.o network.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT readval.o -MD -MP -MF .deps/readval.Tpo -c -o readval.o readval.c
mv -f .deps/date.Tpo .deps/date.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT matrix.o -MD -MP -MF .deps/matrix.Tpo -c -o matrix.o matrix.c
mv -f .deps/listpos.Tpo .deps/listpos.Po
mv -f .deps/cavern.Tpo .deps/cavern.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT img_hosted.o -MD -MP -MF .deps/img_hosted.Tpo -c -o img_hosted.o img_hosted.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT netbits.o -MD -MP -MF .deps/netbits.Tpo -c -o netbits.o netbits.c
mv -f .deps/readval.Tpo .deps/readval.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT useful.o -MD -MP -MF .deps/useful.Tpo -c -o useful.o useful.c
mv -f .deps/network.Tpo .deps/network.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT validate.o -MD -MP -MF .deps/validate.Tpo -c -o validate.o validate.c
mv -f .deps/commands.Tpo .deps/commands.Po
mv -f .deps/netskel.Tpo .deps/netskel.Po
mv -f .deps/matrix.Tpo .deps/matrix.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT netartic.o -MD -MP -MF .deps/netartic.Tpo -c -o netartic.o netartic.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT thgeomag.o -MD -MP -MF .deps/thgeomag.Tpo -c -o thgeomag.o thgeomag.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT cmdline.o -MD -MP -MF .deps/cmdline.Tpo -c -o cmdline.o cmdline.c
mv -f .deps/useful.Tpo .deps/useful.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT message.o -MD -MP -MF .deps/message.Tpo -c -o message.o message.c
mv -f .deps/netbits.Tpo .deps/netbits.Po
mv -f .deps/datain.Tpo .deps/datain.Po
mv -f .deps/validate.Tpo .deps/validate.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT str.o -MD -MP -MF .deps/str.Tpo -c -o str.o str.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT filename.o -MD -MP -MF .deps/filename.Tpo -c -o filename.o filename.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT osdepend.o -MD -MP -MF .deps/osdepend.Tpo -c -o osdepend.o osdepend.c
mv -f .deps/thgeomag.Tpo .deps/thgeomag.Po
mv -f .deps/netartic.Tpo .deps/netartic.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT z_getopt.o -MD -MP -MF .deps/z_getopt.Tpo -c -o z_getopt.o z_getopt.c
mv -f .deps/cmdline.Tpo .deps/cmdline.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT getopt1.o -MD -MP -MF .deps/getopt1.Tpo -c -o getopt1.o getopt1.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT diffpos.o -MD -MP -MF .deps/diffpos.Tpo -c -o diffpos.o diffpos.c
mv -f .deps/str.Tpo .deps/str.Po
mv -f .deps/osdepend.Tpo .deps/osdepend.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT namecmp.o -MD -MP -MF .deps/namecmp.Tpo -c -o namecmp.o namecmp.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT hash.o -MD -MP -MF .deps/hash.Tpo -c -o hash.o hash.c
mv -f .deps/message.Tpo .deps/message.Po
mv -f .deps/filename.Tpo .deps/filename.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT dump3d.o -MD -MP -MF .deps/dump3d.Tpo -c -o dump3d.o dump3d.c
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT extend.o -MD -MP -MF .deps/extend.Tpo -c -o extend.o extend.c
mv -f .deps/getopt1.Tpo .deps/getopt1.Po
clang -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wmissing-prototypes -Wwrite-strings -Wredundant-decls -Wnested-externs      -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -g -O2 -I/opt/homebrew/Cellar/ffmpeg/5.0/include -MT sorterr.o -MD -MP -MF .deps/sorterr.Tpo -c -o sorterr.o sorterr.c
mv -f .deps/z_getopt.Tpo .deps/z_getopt.Po
mv -f .deps/diffpos.Tpo .deps/diffpos.Po
mv -f .deps/namecmp.Tpo .deps/namecmp.Po
mv -f .deps/img_hosted.Tpo .deps/img_hosted.Po
mv -f .deps/hash.Tpo .deps/hash.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-survexport.o -MD -MP -MF .deps/survexport-survexport.Tpo -c -o survexport-survexport.o `test -f 'survexport.cc' || echo './'`survexport.cc
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-model.o -MD -MP -MF .deps/survexport-model.Tpo -c -o survexport-model.o `test -f 'model.cc' || echo './'`model.cc
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-export.o -MD -MP -MF .deps/survexport-export.Tpo -c -o survexport-export.o `test -f 'export.cc' || echo './'`export.cc
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-namecompare.o -MD -MP -MF .deps/survexport-namecompare.Tpo -c -o survexport-namecompare.o `test -f 'namecompare.cc' || echo './'`namecompare.cc
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-gpx.o -MD -MP -MF .deps/survexport-gpx.Tpo -c -o survexport-gpx.o `test -f 'gpx.cc' || echo './'`gpx.cc
mv -f .deps/dump3d.Tpo .deps/dump3d.Po
mv -f .deps/sorterr.Tpo .deps/sorterr.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-hpgl.o -MD -MP -MF .deps/survexport-hpgl.Tpo -c -o survexport-hpgl.o `test -f 'hpgl.cc' || echo './'`hpgl.cc
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-json.o -MD -MP -MF .deps/survexport-json.Tpo -c -o survexport-json.o `test -f 'json.cc' || echo './'`json.cc
mv -f .deps/extend.Tpo .deps/extend.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-kml.o -MD -MP -MF .deps/survexport-kml.Tpo -c -o survexport-kml.o `test -f 'kml.cc' || echo './'`kml.cc
mv -f .deps/survexport-namecompare.Tpo .deps/survexport-namecompare.Po
mv -f .deps/survexport-json.Tpo .deps/survexport-json.Po
mv -f .deps/survexport-hpgl.Tpo .deps/survexport-hpgl.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-pos.o -MD -MP -MF .deps/survexport-pos.Tpo -c -o survexport-pos.o `test -f 'pos.cc' || echo './'`pos.cc
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT survexport-vector3.o -MD -MP -MF .deps/survexport-vector3.Tpo -c -o survexport-vector3.o `test -f 'vector3.cc' || echo './'`vector3.cc
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-aven.o -MD -MP -MF .deps/aven-aven.Tpo -c -o aven-aven.o `test -f 'aven.cc' || echo './'`aven.cc
mv -f .deps/survexport-kml.Tpo .deps/survexport-kml.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-gfxcore.o -MD -MP -MF .deps/aven-gfxcore.Tpo -c -o aven-gfxcore.o `test -f 'gfxcore.cc' || echo './'`gfxcore.cc
mv -f .deps/survexport-gpx.Tpo .deps/survexport-gpx.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-mainfrm.o -MD -MP -MF .deps/aven-mainfrm.Tpo -c -o aven-mainfrm.o `test -f 'mainfrm.cc' || echo './'`mainfrm.cc
mv -f .deps/survexport-vector3.Tpo .deps/survexport-vector3.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-model.o -MD -MP -MF .deps/aven-model.Tpo -c -o aven-model.o `test -f 'model.cc' || echo './'`model.cc
mv -f .deps/survexport-survexport.Tpo .deps/survexport-survexport.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-vector3.o -MD -MP -MF .deps/aven-vector3.Tpo -c -o aven-vector3.o `test -f 'vector3.cc' || echo './'`vector3.cc
mv -f .deps/aven-vector3.Tpo .deps/aven-vector3.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-aboutdlg.o -MD -MP -MF .deps/aven-aboutdlg.Tpo -c -o aven-aboutdlg.o `test -f 'aboutdlg.cc' || echo './'`aboutdlg.cc
mv -f .deps/survexport-export.Tpo .deps/survexport-export.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-namecompare.o -MD -MP -MF .deps/aven-namecompare.Tpo -c -o aven-namecompare.o `test -f 'namecompare.cc' || echo './'`namecompare.cc
mv -f .deps/survexport-model.Tpo .deps/survexport-model.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-aventreectrl.o -MD -MP -MF .deps/aven-aventreectrl.Tpo -c -o aven-aventreectrl.o `test -f 'aventreectrl.cc' || echo './'`aventreectrl.cc
mv -f .deps/survexport-pos.Tpo .deps/survexport-pos.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-export.o -MD -MP -MF .deps/aven-export.Tpo -c -o aven-export.o `test -f 'export.cc' || echo './'`export.cc
mv -f .deps/aven-aven.Tpo .deps/aven-aven.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-guicontrol.o -MD -MP -MF .deps/aven-guicontrol.Tpo -c -o aven-guicontrol.o `test -f 'guicontrol.cc' || echo './'`guicontrol.cc
mv -f .deps/aven-namecompare.Tpo .deps/aven-namecompare.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-gla-gl.o -MD -MP -MF .deps/aven-gla-gl.Tpo -c -o aven-gla-gl.o `test -f 'gla-gl.cc' || echo './'`gla-gl.cc
mv -f .deps/aven-aboutdlg.Tpo .deps/aven-aboutdlg.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-glbitmapfont.o -MD -MP -MF .deps/aven-glbitmapfont.Tpo -c -o aven-glbitmapfont.o `test -f 'glbitmapfont.cc' || echo './'`glbitmapfont.cc
mv -f .deps/aven-model.Tpo .deps/aven-model.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-gpx.o -MD -MP -MF .deps/aven-gpx.Tpo -c -o aven-gpx.o `test -f 'gpx.cc' || echo './'`gpx.cc
mv -f .deps/aven-aventreectrl.Tpo .deps/aven-aventreectrl.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-json.o -MD -MP -MF .deps/aven-json.Tpo -c -o aven-json.o `test -f 'json.cc' || echo './'`json.cc
mv -f .deps/aven-gfxcore.Tpo .deps/aven-gfxcore.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-kml.o -MD -MP -MF .deps/aven-kml.Tpo -c -o aven-kml.o `test -f 'kml.cc' || echo './'`kml.cc
mv -f .deps/aven-export.Tpo .deps/aven-export.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-log.o -MD -MP -MF .deps/aven-log.Tpo -c -o aven-log.o `test -f 'log.cc' || echo './'`log.cc
mv -f .deps/aven-guicontrol.Tpo .deps/aven-guicontrol.Po
clang++ -DHAVE_CONFIG_H -I. -I..    -Wall -W -Wunused -Wshadow -Wpointer-arith      -Wwrite-strings -Wcast-align -I/opt/homebrew/Cellar/proj/8.2.1/include -I/opt/homebrew/Cellar/ffmpeg/5.0/include -I/opt/homebrew/lib/wx/include/osx_cocoa-unicode-3.1 -I/opt/homebrew/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__  -g -O2 -std=gnu++11 -MT aven-moviemaker.o -MD -MP -MF .deps/aven-moviemaker.Tpo -c -o aven-moviemaker.o `test -f 'moviemaker.cc' || echo './'`moviemaker.cc
moviemaker.cc:135:22: error: cannot initialize a variable of type 'AVOutputFormat *' with an lvalue of type 'const struct AVOutputFormat *'
    AVOutputFormat * fmt = oc->oformat;
                     ^     ~~~~~~~~~~~
moviemaker.cc:142:14: error: cannot initialize a variable of type 'AVCodec *' with an rvalue of type 'const AVCodec *'
    AVCodec *codec = avcodec_find_encoder(fmt->video_codec);
             ^       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
moviemaker.cc:156:15: error: use of undeclared identifier 'avcodec_alloc_context3'
    context = avcodec_alloc_context3(codec);
              ^
moviemaker.cc:157:12: error: member access into incomplete type 'AVCodecContext'
    context->codec_id = fmt->video_codec;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:158:12: error: member access into incomplete type 'AVCodecContext'
    context->width = width;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:159:12: error: member access into incomplete type 'AVCodecContext'
    context->height = height;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:162:12: error: member access into incomplete type 'AVCodecContext'
    context->time_base = video_st->time_base;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:163:12: error: member access into incomplete type 'AVCodecContext'
    context->bit_rate = width * height * (4 * 0.07) * context->time_base.den / context->time_base.num;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:164:12: error: member access into incomplete type 'AVCodecContext'
    context->bit_rate_tolerance = context->bit_rate;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:165:12: error: member access into incomplete type 'AVCodecContext'
    context->global_quality = 4;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:166:12: error: member access into incomplete type 'AVCodecContext'
    context->rc_buffer_size = 2 * 1024 * 1024;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:167:12: error: member access into incomplete type 'AVCodecContext'
    context->rc_max_rate = context->bit_rate * 8;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:168:12: error: member access into incomplete type 'AVCodecContext'
    context->gop_size = 50; /* Twice the framerate */
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:169:12: error: member access into incomplete type 'AVCodecContext'
    context->pix_fmt = AV_PIX_FMT_YUV420P;
           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:170:16: error: member access into incomplete type 'AVCodecContext'
    if (context->has_b_frames) {
               ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:173:9: error: member access into incomplete type 'AVCodecContext'
        context->max_b_frames = 4;
               ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:178:9: error: member access into incomplete type 'AVCodecContext'
        context->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
               ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
moviemaker.cc:181:14: error: use of undeclared identifier 'avcodec_open2'
    retval = avcodec_open2(context, codec, NULL);
             ^
moviemaker.cc:194:28: error: member access into incomplete type 'AVCodecContext'
    frame->format = context->pix_fmt;
                           ^
./moviemaker.h:32:8: note: forward declaration of 'AVCodecContext'
struct AVCodecContext;
       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [aven-moviemaker.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/aven-glbitmapfont.Tpo .deps/aven-glbitmapfont.Po
mv -f .deps/aven-mainfrm.Tpo .deps/aven-mainfrm.Po
mv -f .deps/aven-gpx.Tpo .deps/aven-gpx.Po
mv -f .deps/aven-json.Tpo .deps/aven-json.Po
mv -f .deps/aven-kml.Tpo .deps/aven-kml.Po
mv -f .deps/aven-gla-gl.Tpo .deps/aven-gla-gl.Po
mv -f .deps/aven-log.Tpo .deps/aven-log.Po
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

==> Formula
Tap: ladislavb/survex
Path: /opt/homebrew/Library/Taps/ladislavb/homebrew-survex/HomebrewFormula/survex.rb
==> Configuration
HOMEBREW_VERSION: 3.3.16-62-g533f4e3
ORIGIN: https://github.com/Homebrew/brew
HEAD: 533f4e318ec06f0dffbe49e4cee37a69a2774ced
Last commit: 2 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: ee1c1945110d475d441a5b7e11f58b83704e9e4b
Core tap last commit: 2 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /opt/homebrew
HOMEBREW_CASK_OPTS: []
HOMEBREW_CORE_GIT_REMOTE: https://github.com/Homebrew/homebrew-core
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.Ud3gMqTHJO/org.xquartz:0
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.8 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: octa-core 64-bit arm_firestorm_icestorm
Clang: 13.0.0 build 1300
Git: 2.32.0 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.2.1-arm64
CLT: 13.2.0.0.1.1638488800
Xcode: N/A
Rosetta 2: false
==> ENV
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /opt/homebrew/opt/libffi:/opt/homebrew/opt/m4:/opt/homebrew/opt/readline:/opt/homebrew/opt/openssl at 1.1:/opt/homebrew/opt/sqlite:/opt/homebrew/opt/icu4c:/opt/homebrew/opt/libarchive:/opt/homebrew
CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
CMAKE_FRAMEWORK_PATH: /opt/homebrew/opt/python at 3.9/Frameworks
PKG_CONFIG_PATH: /opt/homebrew/opt/jpeg/lib/pkgconfig:/opt/homebrew/opt/libpng/lib/pkgconfig:/opt/homebrew/opt/libtiff/lib/pkgconfig:/opt/homebrew/opt/proj/lib/pkgconfig:/opt/homebrew/opt/brotli/lib/pkgconfig:/opt/homebrew/opt/imath/lib/pkgconfig:/opt/homebrew/opt/openexr/lib/pkgconfig:/opt/homebrew/opt/webp/lib/pkgconfig:/opt/homebrew/opt/jpeg-xl/lib/pkgconfig:/opt/homebrew/opt/libvmaf/lib/pkgconfig:/opt/homebrew/opt/aom/lib/pkgconfig:/opt/homebrew/opt/dav1d/lib/pkgconfig:/opt/homebrew/opt/freetype/lib/pkgconfig:/opt/homebrew/opt/fontconfig/lib/pkgconfig:/opt/homebrew/opt/frei0r/lib/pkgconfig:/opt/homebrew/opt/gmp/lib/pkgconfig:/opt/homebrew/opt/bdw-gc/lib/pkgconfig:/opt/homebrew/opt/libffi/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/guile/lib/pkgconfig:/opt/homebrew/opt/libidn2/lib/pkgconfig:/opt/homebrew/opt/libtasn1/lib/pkgconfig:/opt/homebrew/opt/nettle/lib/pkgconfig:/opt/homebrew/opt/p11-kit/lib/pkgconfig:/opt/homebrew/opt/openssl at 1.1/lib/pkgconfig:/opt/homebrew/opt/libevent/lib/pkgconfig:/opt/homebrew/opt/libnghttp2/lib/pkgconfig:/opt/homebrew/opt/unbound/lib/pkgconfig:/opt/homebrew/opt/gnutls/lib/pkgconfig:/opt/homebrew/opt/fribidi/lib/pkgconfig:/opt/homebrew/opt/pcre/lib/pkgconfig:/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/xz/lib/pkgconfig:/opt/homebrew/opt/python at 3.9/lib/pkgconfig:/opt/homebrew/opt/glib/lib/pkgconfig:/opt/homebrew/opt/libpthread-stubs/lib/pkgconfig:/opt/homebrew/opt/libxau/lib/pkgconfig:/opt/homebrew/opt/libxdmcp/lib/pkgconfig:/opt/homebrew/opt/libxcb/lib/pkgconfig:/opt/homebrew/opt/libx11/lib/pkgconfig:/opt/homebrew/opt/libxext/lib/pkgconfig:/opt/homebrew/opt/libxrender/lib/pkgconfig:/opt/homebrew/opt/lzo/lib/pkgconfig:/opt/homebrew/opt/pixman/lib/pkgconfig:/opt/homebrew/opt/cairo/lib/pkgconfig:/opt/homebrew/opt/gobject-introspection/lib/pkgconfig:/opt/homebrew/opt/graphite2/lib/pkgconfig:/opt/homebrew/opt/icu4c/lib/pkgconfig:/opt/homebrew/opt/harfbuzz/lib/pkgconfig:/opt/homebrew/opt/libass/lib/pkgconfig:/opt/homebrew/opt/libbluray/lib/pkgconfig:/opt/homebrew/opt/cjson/lib/pkgconfig:/opt/homebrew/opt/cmocka/lib/pkgconfig:/opt/homebrew/opt/librist/lib/pkgconfig:/opt/homebrew/opt/libsoxr/lib/pkgconfig:/opt/homebrew/opt/libvidstab/lib/pkgconfig:/opt/homebrew/opt/libogg/lib/pkgconfig:/opt/homebrew/opt/libvorbis/lib/pkgconfig:/opt/homebrew/opt/libvpx/lib/pkgconfig:/opt/homebrew/opt/opencore-amr/lib/pkgconfig:/opt/homebrew/opt/little-cms2/lib/pkgconfig:/opt/homebrew/opt/openjpeg/lib/pkgconfig:/opt/homebrew/opt/opus/lib/pkgconfig:/opt/homebrew/opt/rav1e/lib/pkgconfig:/opt/homebrew/opt/flac/lib/pkgconfig:/opt/homebrew/opt/libsndfile/lib/pkgconfig:/opt/homebrew/opt/libsamplerate/lib/pkgconfig:/opt/homebrew/opt/rubberband/lib/pkgconfig:/opt/homebrew/opt/sdl2/lib/pkgconfig:/opt/homebrew/opt/speex/lib/pkgconfig:/opt/homebrew/opt/srt/lib/pkgconfig:/opt/homebrew/opt/leptonica/lib/pkgconfig:/opt/homebrew/opt/libb2/lib/pkgconfig:/opt/homebrew/opt/lz4/lib/pkgconfig:/opt/homebrew/opt/zstd/lib/pkgconfig:/opt/homebrew/opt/libarchive/lib/pkgconfig:/opt/homebrew/opt/tesseract/lib/pkgconfig:/opt/homebrew/opt/theora/lib/pkgconfig:/opt/homebrew/opt/x264/lib/pkgconfig:/opt/homebrew/opt/x265/lib/pkgconfig:/opt/homebrew/opt/libsodium/lib/pkgconfig:/opt/homebrew/opt/zeromq/lib/pkgconfig:/opt/homebrew/opt/zimg/lib/pkgconfig:/opt/homebrew/opt/ffmpeg/lib/pkgconfig:/opt/homebrew/opt/xorgproto/share/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/12
HOMEBREW_GIT: git
HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
ACLOCAL_PATH: /opt/homebrew/share/aclocal
PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/jpeg/bin:/opt/homebrew/opt/libpng/bin:/opt/homebrew/opt/libtiff/bin:/opt/homebrew/opt/wxwidgets/bin:/opt/homebrew/opt/proj/bin:/opt/homebrew/opt/brotli/bin:/opt/homebrew/opt/giflib/bin:/opt/homebrew/opt/openexr/bin:/opt/homebrew/opt/webp/bin:/opt/homebrew/opt/jpeg-xl/bin:/opt/homebrew/opt/libvmaf/bin:/opt/homebrew/opt/aom/bin:/opt/homebrew/opt/dav1d/bin:/opt/homebrew/opt/freetype/bin:/opt/homebrew/opt/fontconfig/bin:/opt/homebrew/opt/m4/bin:/opt/homebrew/opt/libtool/bin:/opt/homebrew/opt/pkg-config/bin:/opt/homebrew/opt/guile/bin:/opt/homebrew/opt/gettext/bin:/opt/homebrew/opt/libidn2/bin:/opt/homebrew/opt/libtasn1/bin:/opt/homebrew/opt/nettle/bin:/opt/homebrew/opt/p11-kit/bin:/opt/homebrew/opt/openssl at 1.1/bin:/opt/homebrew/opt/libevent/bin:/opt/homebrew/opt/gnutls/bin:/opt/homebrew/opt/lame/bin:/opt/homebrew/opt/fribidi/bin:/opt/homebrew/opt/pcre/bin:/opt/homebrew/opt/gdbm/bin:/opt/homebrew/opt/sqlite/bin:/opt/homebrew/opt/xz/bin:/opt/homebrew/opt/python at 3.9/bin:/opt/homebrew/opt/glib/bin:/opt/homebrew/opt/cairo/bin:/opt/homebrew/opt/gobject-introspection/bin:/opt/homebrew/opt/graphite2/bin:/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/harfbuzz/bin:/opt/homebrew/opt/libbluray/bin:/opt/homebrew/opt/mbedtls/bin:/opt/homebrew/opt/librist/bin:/opt/homebrew/opt/little-cms2/bin:/opt/homebrew/opt/openjpeg/bin:/opt/homebrew/opt/rav1e/bin:/opt/homebrew/opt/flac/bin:/opt/homebrew/opt/libsndfile/bin:/opt/homebrew/opt/libsamplerate/bin:/opt/homebrew/opt/rubberband/bin:/opt/homebrew/opt/sdl2/bin:/opt/homebrew/opt/srt/bin:/opt/homebrew/opt/leptonica/bin:/opt/homebrew/opt/lz4/bin:/opt/homebrew/opt/zstd/bin:/opt/homebrew/opt/libarchive/bin:/opt/homebrew/opt/tesseract/bin:/opt/homebrew/opt/x264/bin:/opt/homebrew/opt/x265/bin:/opt/homebrew/opt/zeromq/bin:/opt/homebrew/opt/ffmpeg/bin:/usr/bin:/bin:/usr/sbin:/sbin

Error: ladislavb/survex/survex 1.4.1 did not build
Logs:
     /Users/ladislav.blazek/Library/Logs/Homebrew/survex/00.options.out
     /Users/ladislav.blazek/Library/Logs/Homebrew/survex/01.configure.cc
     /Users/ladislav.blazek/Library/Logs/Homebrew/survex/02.make.cc
     /Users/ladislav.blazek/Library/Logs/Homebrew/survex/config.log
     /Users/ladislav.blazek/Library/Logs/Homebrew/survex/01.configure
     /Users/ladislav.blazek/Library/Logs/Homebrew/survex/02.make
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/ladislavb/homebrew-survex/issues


> 25. 2. 2022 v 7:26, Enrico Fratnik <enrico.fratnik at gmail.com>:
> 
> Dear Olly,
> 
>   Thank you for your reply. Below you can find the result of the
> installation process on my Mac (now 12.2.1).
> 
> Hope that a solution can be found.
> 
> best regards
> 
> enrico
> 
> enricof at icts-enricof % brew tap survex/survex
> https://git.survex.com/homebrew-survex <https://git.survex.com/homebrew-survex>
> enricof at icts-enricof % brew install survex
> ==> Downloading https://survex.com/software/1.4.1/survex-1.4.1.tar.gz <https://survex.com/software/1.4.1/survex-1.4.1.tar.gz>
> Already downloaded:
> /Users/enricof/Library/Caches/Homebrew/downloads/702ec7f02cfbf03063748729b649a4e71d50adfce88fe939c9d114d2795cd4de--survex-1.4.1.tar.gz
> ==> Installing survex from survex/survex
> ==> ./configure --prefix=/usr/local/Cellar/survex/1.4.1_2
> --bindir=/usr/local/Cellar/survex/1.4.1_2/bin --mandir=/usr/local/Cellar/s
> ==> make
> Last 15 lines from /Users/enricof/Library/Logs/Homebrew/survex/02.make:
>       ^
> fatal error: too many errors emitted, stopping now [-ferror-limit=]
> 20 errors generated.
> make[3]: *** [aven-moviemaker.o] Error 1
> make[3]: *** Waiting for unfinished jobs....
> mv -f .deps/aven-glbitmapfont.Tpo .deps/aven-glbitmapfont.Po
> mv -f .deps/aven-gpx.Tpo .deps/aven-gpx.Po
> mv -f .deps/aven-mainfrm.Tpo .deps/aven-mainfrm.Po
> mv -f .deps/aven-json.Tpo .deps/aven-json.Po
> mv -f .deps/aven-kml.Tpo .deps/aven-kml.Po
> mv -f .deps/aven-gla-gl.Tpo .deps/aven-gla-gl.Po
> mv -f .deps/aven-log.Tpo .deps/aven-log.Po
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> If reporting this issue please do so to (not Homebrew/brew or
> Homebrew/core):
>  survex/survex
> 
> /usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:304:in
> `raise_error': Validation Failed: [{"message"=>"The listed users and
> repositories cannot be searched either because the resources do not exist
> or you do not have permission to view them.", "resource"=>"Search",
> "field"=>"q", "code"=>"invalid"}] (GitHub::API::ValidationFailedError)
> from /usr/local/Homebrew/Library/Homebrew/utils/github/api.rb:234:in
> `open_rest'
> from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:166:in `search'
> from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:34:in
> `search_issues'
> from /usr/local/Homebrew/Library/Homebrew/utils/github.rb:67:in
> `issues_for_formula'
> from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:491:in
> `fetch_issues'
> from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:487:in `issues'
> from /usr/local/Homebrew/Library/Homebrew/exceptions.rb:541:in `dump'
> from /usr/local/Homebrew/Library/Homebrew/brew.rb:157:in `rescue in <main>'
> from /usr/local/Homebrew/Library/Homebrew/brew.rb:145:in `<main>'
> /usr/local/Homebrew/Library/Homebrew/formula.rb:2309:in `block in system':
> Failed executing: make (BuildError)
> from /usr/local/Homebrew/Library/Homebrew/formula.rb:2245:in `open'
> from /usr/local/Homebrew/Library/Homebrew/formula.rb:2245:in `system'
> from
> /usr/local/Homebrew/Library/Taps/survex/homebrew-survex/HomebrewFormula/survex.rb:22:in
> `install'
> from /usr/local/Homebrew/Library/Homebrew/build.rb:172:in `block (3 levels)
> in install'
> from /usr/local/Homebrew/Library/Homebrew/utils.rb:590:in `with_env'
> from /usr/local/Homebrew/Library/Homebrew/build.rb:134:in `block (2 levels)
> in install'
> from /usr/local/Homebrew/Library/Homebrew/formula.rb:1296:in `block in brew'
> from /usr/local/Homebrew/Library/Homebrew/formula.rb:2475:in `block (2
> levels) in stage'
> from /usr/local/Homebrew/Library/Homebrew/utils.rb:590:in `with_env'
> from /usr/local/Homebrew/Library/Homebrew/formula.rb:2474:in `block in
> stage'
> from /usr/local/Homebrew/Library/Homebrew/resource.rb:126:in `block (2
> levels) in unpack'
> from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in
> `chdir'
> from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:115:in
> `chdir'
> from /usr/local/Homebrew/Library/Homebrew/download_strategy.rb:102:in
> `stage'
> from /usr/local/Homebrew/Library/Homebrew/resource.rb:122:in `block in
> unpack'
> from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `block in run'
> from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `chdir'
> from /usr/local/Homebrew/Library/Homebrew/mktemp.rb:63:in `run'
> from /usr/local/Homebrew/Library/Homebrew/resource.rb:208:in `mktemp'
> from /usr/local/Homebrew/Library/Homebrew/resource.rb:121:in `unpack'
> from /usr/local/Homebrew/Library/Homebrew/resource.rb:96:in `stage'
> from
> /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/forwardable.rb:230:in
> `stage'
> from /usr/local/Homebrew/Library/Homebrew/formula.rb:2454:in `stage'
> from /usr/local/Homebrew/Library/Homebrew/formula.rb:1289:in `brew'
> from /usr/local/Homebrew/Library/Homebrew/build.rb:129:in `block in install'
> from /usr/local/Homebrew/Library/Homebrew/utils.rb:590:in `with_env'
> from /usr/local/Homebrew/Library/Homebrew/build.rb:124:in `install'
> from /usr/local/Homebrew/Library/Homebrew/build.rb:224:in `<main>'
> enricof at icts-enricof %
> 
> On Thu, Feb 24, 2022 at 11:56 PM Olly Betts <olly at survex.com <mailto:olly at survex.com>> wrote:
> 
>> On Tue, Jan 04, 2022 at 10:17:08AM +0100, Enrico Fratnik wrote:
>>> is anyone able to install / compile survex on OSX with the latest OS?
>>> 
>>> The problem seems related to the use of the proj7 library and not the
>> proj8
>>> (the latest for Mac)  but I'm not sure.
>> 
>> Are you installing from homebrew?  If so, this should be fixed now as I
>> updated the homebrew package in early February to Survex 1.4.1 which
>> supports proj 8.
>> 
>> If you're installing by hand, try Survex 1.4.1 if you want it to work
>> with the latest proj.
>> 
>> Cheers,
>>    Olly
>> 
> 
> 
> -- 
> Enrico Fratnik
> 
> e. enrico.fratnik at gmail.com <mailto:enrico.fratnik at gmail.com>
> PEC enrico at pec.fratnik.it <mailto:enrico at pec.fratnik.it>
> skype: fratnike
> t. +39.335.6573879
> 
> 
> Questo messaggio e riservato;
> Qualsiasi pubblicazione, utilizzo o diffusione, anche parziale di
> questo messaggio, deve essere preventivamente autorizzata. Nel
> caso in cui non foste destinatari del presente messaggio,vogliate
> cortesemente avvertire immediatamente il mittente.
> 
> 
> Ce message est confidentiel;
> Toute publication, utilisation ou diffusion, meme partielle, doit
> etre autorisee prealablement. Si vous n' etes pas destinataire de
> ce message, merci d'en avertir immediatement l'expediteur.
> 
> 
> This message is confidential;
> Any unauthorised disclosure, use or dissemination, either whole
> or partial, is prohibited. If you are not the intended recipient
> of the message, please notify the sender immediately
> -- 
> Survex https://lists.survex.com/mailman/listinfo/survex <https://lists.survex.com/mailman/listinfo/survex>


More information about the Survex mailing list