MacOSX Monterey build failed (Issue #22429)

144 views
Skip to first unread message

Jerry805

unread,
May 15, 2022, 8:51:41 PM5/15/22
to wx-...@googlegroups.com, Subscribed

Describe the problem
I do as the manual doc in docs/osx/install.md says:
mkdir build-cocoa-debug
cd build-cocoa-debug
../configure --enable-debug
make

make failed with an error.
config log:
build-cocoa-debug % ../configure --enable-debug
checking build system type... x86_64-apple-darwin21.4.0
checking host system type... x86_64-apple-darwin21.4.0
checking for toolkit... osx_cocoa
checking for gcc... gcc
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 we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether we are using the Intel C compiler... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc needs -traditional... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether we are using the Intel C++ compiler... no
checking whether we are using the IBM xlC C++ compiler... no
checking whether g++ supports C++11 features by default... no
checking whether g++ supports C++11 features with -std=gnu++11... yes
checking for ar... ar
checking if C compiler (gcc -mmacosx-version-min=10.10) works with SDK/version options... yes
checking if C++ compiler (g++ -std=gnu++11 -mmacosx-version-min=10.10) works with SDK/version options... yes
checking if CoreFoundation/CFBase.h is usable... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for langinfo.h... yes
checking for wchar.h... yes
checking for sys/select.h... yes
checking for cxxabi.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking size of short... 2
checking size of void *... 8
checking size of int... 4
checking size of long... 8
checking size of size_t... 8
checking size of long long... 8
checking size of wchar_t... 4
checking for va_copy... yes
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking if large file support is available... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether byte ordering is bigendian... no
checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... yes
checking for libraries directories... /usr/lib
checking for cos... yes
checking for floor... yes
checking if floating point functions link without -lm... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBPCRE... yes
checking for zlib.h >= 1.1.4... yes
checking for zlib.h... (cached) yes
checking for deflate in -lz... yes
checking for png.h > 0.90... yes
checking for png.h... (cached) yes
checking for png_sig_cmp in -lpng... yes
checking for jpeglib.h... yes
checking for jpeg_read_header in -ljpeg... yes
checking for jbg_dec_init in -ljbig... no
checking for LIBTIFF... yes
checking for expat.h... yes
checking if expat.h is valid C++ header... yes
checking for XML_ParserCreate in -lexpat... yes
checking for LIBCURL... yes
checking for X11/Xlib.h... yes
checking for X11/XKBlib.h... yes
checking if the linker accepts --version-script... no
checking for symbols visibility support... yes
checking for broken libstdc++ visibility... no
checking for ssize_t... yes
checking if size_t is unsigned int... no
checking if size_t is unsigned long... yes
checking if wchar_t is separate type... yes
checking for pw_gecos in struct passwd... yes
checking for wcslen... yes
checking for wcsftime... yes
checking for mbstate_t... yes
checking for wcsrtombs... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vsscanf... yes
checking for vsnprintf declaration... yes
checking if vsnprintf declaration is broken... no
checking for snprintf declaration... yes
checking if snprintf supports positional arguments... yes
checking for vsscanf declaration... yes
checking if vsscanf() declaration is broken... no
checking for putws... no
checking for fputws... yes
checking for wprintf... yes
checking for vswprintf... yes
checking for vswscanf... yes
checking for _vsnwprintf... no
checking for fsync... yes
checking for round... yes
checking for iconv... yes
checking if iconv needs const... no
checking for sigaction... yes
checking for sa_handler type... int
checking for backtrace()... yes
checking for library containing backtrace... none required
checking for __cxa_demangle() in <cxxabi.h>... yes
checking for mkstemp... yes
checking for statfs... yes
checking for statfs declaration... yes
checking for fcntl... yes
checking for setenv... yes
checking for unsetenv... yes
checking for uname... yes
checking for strtok_r... yes
checking for inet_addr... yes
checking for inet_aton... yes
checking for fdopen... yes
checking for sysconf... yes
checking for getpwuid_r... yes
checking for getgrgid_r... yes
checking for the pthreads library -lpthread... yes
checking if more special flags are required for pthreads... no
checking for pthread_setconcurrency... yes
checking for pthread_cleanup_push/pop... yes
checking for sched.h... yes
checking for sched_yield... yes
checking for pthread_attr_getschedpolicy... yes
checking for pthread_attr_setschedparam... yes
checking for sched_get_priority_max... yes
checking for pthread_cancel... yes
checking for pthread_mutex_timedlock... no
configure: WARNING: wxMutex::LockTimeout() will not work
checking for pthread_attr_setstacksize... yes
checking for pthread_mutexattr_t... yes
checking for pthread_mutexattr_settype declaration... yes
checking for abi::__forced_unwind() in <cxxabi.h>... no
checking for localtime_r... yes
checking for gmtime_r... yes
checking how many arguments gethostbyname_r() takes... can't tell
checking for gethostbyname... yes
checking how many arguments getservbyname_r() takes... no
checking for getservbyname... yes
checking for dlopen... yes
checking for dladdr... yes
checking whether inotify is usable... no
checking for sys/event.h... yes
checking for SNDCTL_DSP_SPEED in sys/soundcard.h... no
checking xlocale.h usability... yes
checking xlocale.h presence... yes
checking for xlocale.h... yes
checking for locale_t... yes
checking for sys/epoll.h... no
configure: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled
checking for gettimeofday... yes
checking whether gettimeofday takes two arguments... yes
checking for timezone variable in <time.h>... timezone
checking for localtime... yes
checking for tm_gmtoff in struct tm... yes
checking for _NL_TIME_FIRST_WEEKDAY in langinfo.h... no
checking for setpriority... yes
checking for socket... yes
checking what is the type of the third argument of getsockname... socklen_t
checking what is the type of the fifth argument of getsockopt... socklen_t
checking whether we have sockaddr_in6... yes
configure: WARNING: Dialup manager not supported on this platform... disabled
checking for python... no
checking if AVKit is available... yes
checking CXXWARNINGS for gcc -Woverloaded-virtual... -Woverloaded-virtual
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ar... (cached) ar
checking for strip... strip
checking for nm... nm
checking if make is GNU make... yes
checking for dependency tracking method... gcc
checking whether make sets $(MAKE)... (cached) yes
checking whether catch.hpp file exists... yes
configure: creating ./config.status
config.status: creating lib/wx/config/osx_cocoa-unicode-3.1
config.status: creating lib/wx/config/inplace-osx_cocoa-unicode-3.1
config.status: creating utils/ifacecheck/rungccxml.sh
config.status: creating Makefile
config.status: creating samples/html/Makefile
config.status: creating samples/opengl/Makefile
config.status: creating samples/xrc/Makefile
config.status: creating samples/wrapsizer/Makefile
config.status: creating samples/wizard/Makefile
config.status: creating samples/widgets/Makefile
config.status: creating samples/webview/Makefile
config.status: creating samples/webrequest/Makefile
config.status: creating samples/vscroll/Makefile
config.status: creating samples/validate/Makefile
config.status: creating samples/uiaction/Makefile
config.status: creating samples/typetest/Makefile
config.status: creating samples/treelist/Makefile
config.status: creating samples/treectrl/Makefile
config.status: creating samples/toolbar/Makefile
config.status: creating samples/thread/Makefile
config.status: creating samples/text/Makefile
config.status: creating samples/taskbar/Makefile
config.status: creating samples/taborder/Makefile
config.status: creating samples/svg/Makefile
config.status: creating samples/stc/Makefile
config.status: creating samples/statbar/Makefile
config.status: creating samples/splitter/Makefile
config.status: creating samples/splash/Makefile
config.status: creating samples/sound/Makefile
config.status: creating samples/sockets/Makefile
config.status: creating samples/shaped/Makefile
config.status: creating samples/secretstore/Makefile
config.status: creating samples/scroll/Makefile
config.status: creating samples/sashtest/Makefile
config.status: creating samples/richtext/Makefile
config.status: creating samples/ribbon/Makefile
config.status: creating samples/render/Makefile
config.status: creating samples/propgrid/Makefile
config.status: creating samples/printing/Makefile
config.status: creating samples/preferences/Makefile
config.status: creating samples/power/Makefile
config.status: creating samples/popup/Makefile
config.status: creating samples/opengl/pyramid/Makefile
config.status: creating samples/opengl/penguin/Makefile
config.status: creating samples/opengl/isosurf/Makefile
config.status: creating samples/opengl/cube/Makefile
config.status: creating samples/notebook/Makefile
config.status: creating samples/minimal/Makefile
config.status: creating samples/menu/Makefile
config.status: creating samples/mediaplayer/Makefile
config.status: creating samples/mdi/Makefile
config.status: creating samples/listctrl/Makefile
config.status: creating samples/layout/Makefile
config.status: creating samples/keyboard/Makefile
config.status: creating samples/joytest/Makefile
config.status: creating samples/ipc/Makefile
config.status: creating samples/internat/Makefile
config.status: creating samples/image/Makefile
config.status: creating samples/html/zip/Makefile
config.status: creating samples/html/widget/Makefile
config.status: creating samples/html/virtual/Makefile
config.status: creating samples/html/test/Makefile
config.status: creating samples/html/printing/Makefile
config.status: creating samples/html/helpview/Makefile
config.status: creating samples/html/help/Makefile
config.status: creating samples/html/about/Makefile
config.status: creating samples/htlbox/Makefile
config.status: creating samples/help/Makefile
config.status: creating samples/grid/Makefile
config.status: creating samples/fswatcher/Makefile
config.status: creating samples/font/Makefile
config.status: creating samples/exec/Makefile
config.status: creating samples/except/Makefile
config.status: creating samples/event/Makefile
config.status: creating samples/erase/Makefile
config.status: creating samples/drawing/Makefile
config.status: creating samples/dragimag/Makefile
config.status: creating samples/docview/Makefile
config.status: creating samples/dnd/Makefile
config.status: creating samples/display/Makefile
config.status: creating samples/dialogs/Makefile
config.status: creating samples/debugrpt/Makefile
config.status: creating samples/dataview/Makefile
config.status: creating samples/console/Makefile
config.status: creating samples/config/Makefile
config.status: creating samples/combo/Makefile
config.status: creating samples/collpane/Makefile
config.status: creating samples/clipboard/Makefile
config.status: creating samples/caret/Makefile
config.status: creating samples/calendar/Makefile
config.status: creating samples/aui/Makefile
config.status: creating samples/artprov/Makefile
config.status: creating samples/archive/Makefile
config.status: creating samples/animate/Makefile
config.status: creating samples/Makefile
config.status: creating demos/forty/Makefile
config.status: creating demos/fractal/Makefile
config.status: creating demos/life/Makefile
config.status: creating demos/Makefile
config.status: creating demos/bombs/Makefile
config.status: creating demos/poem/Makefile
config.status: creating utils/wxrc/Makefile
config.status: creating utils/execmon/Makefile
config.status: creating utils/helpview/Makefile
config.status: creating utils/helpview/src/Makefile
config.status: creating utils/ifacecheck/src/Makefile
config.status: creating utils/hhp2cached/Makefile
config.status: creating utils/screenshotgen/Makefile
config.status: creating utils/screenshotgen/src/Makefile
config.status: creating utils/Makefile
config.status: creating utils/emulator/Makefile
config.status: creating utils/emulator/src/Makefile
config.status: creating tests/benchmarks/Makefile
config.status: creating tests/Makefile
config.status: creating lib/wx/include/osx_cocoa-unicode-3.1/wx/setup.h
config.status: lib/wx/include/osx_cocoa-unicode-3.1/wx/setup.h is unchanged
config.status: executing wx-config commands

Configured wxWidgets 3.1.6 for `x86_64-apple-darwin21.4.0'

Which GUI toolkit should wxWidgets use? osx_cocoa
Should wxWidgets be compiled into single library? no
Should wxWidgets be linked as a shared library? yes
Should wxWidgets support Unicode? yes (using wchar_t)
What level of wxWidgets compatibility should be enabled?
wxWidgets 2.8 no
wxWidgets 3.0 yes
Which libraries should wxWidgets use?
STL no
jpeg sys
png sys
regex sys
tiff sys
lzma no
zlib sys
expat sys
libmspack no
sdl no

make log(part):
ld: warning: ignoring file /wxWidgets-3.1.6/build-cocoa-debug/lib/libwxscintilla-3.1.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture x86_64:
"_Scintilla_LinkLexers", referenced from:
wxStyledTextCtrl::Create(wxWindow
, int, wxPoint const&, wxSize const&, long, wxString const&) in stcdll_stc.o
"CellBuffer::EndUndoAction()", referenced from:
Document::EndUndoAction() in stcdll_ScintillaWX.o
"CellBuffer::BeginUndoAction()", referenced from:
Document::BeginUndoAction() in stcdll_ScintillaWX.o
"LineMarker::SetRGBAImage(Point, float, unsigned char const
)", referenced from:
ScintillaWX::DoMarkerDefineBitmap(int, wxBitmap const&) in stcdll_ScintillaWX.o
"LexerManager::GetInstance()", referenced from:
ScintillaWX::WndProc(unsigned int, unsigned long, long) in stcdll_ScintillaWX.o
"LexerManager::Load(char const
)", referenced from:
ScintillaWX::WndProc(unsigned int, unsigned long, long) in stcdll_ScintillaWX.o
"ScintillaBase::AddCharUTF(char const*, unsigned int, bool)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"ScintillaBase::ButtonDown(Point, unsigned int, bool, bool, bool)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"ScintillaBase::KeyCommand(unsigned int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"ScintillaBase::ContextMenu(Point)", referenced from:
ScintillaWX::DoContextMenu(Point) in stcdll_ScintillaWX.o
"ScintillaBase::CallTipClick()", referenced from:
wxSTCCallTip::OnLeftDown(wxMouseEvent&) in stcdll_ScintillaWX.o
"ScintillaBase::AutoCompleteCancel()", referenced from:
ScintillaWX::CancelModes() in stcdll_ScintillaWX.o
"ScintillaBase::NotifyLexerChanged(Document*, void*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"ScintillaBase::NotifyStyleToNeeded(int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"ScintillaBase::AutoCompleteCompleted(char, unsigned int)", referenced from:
ScintillaWX::DoOnListBox() in stcdll_ScintillaWX.o
"ScintillaBase::ButtonDownWithModifiers(Point, unsigned int, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"ScintillaBase::RightButtonDownWithModifiers(Point, unsigned int, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"ScintillaBase::Command(int)", referenced from:
ScintillaWX::DoCommand(int) in stcdll_ScintillaWX.o
"ScintillaBase::WndProc(unsigned int, unsigned long, long)", referenced from:
ScintillaWX::WndProc(unsigned int, unsigned long, long) in stcdll_ScintillaWX.o
"ScintillaBase::Finalise()", referenced from:
ScintillaWX::Finalise() in stcdll_ScintillaWX.o
"ScintillaBase::ScintillaBase()", referenced from:
ScintillaWX::ScintillaWX(wxStyledTextCtrl*) in stcdll_ScintillaWX.o
"ScintillaBase::~ScintillaBase()", referenced from:
ScintillaWX::ScintillaWX(wxStyledTextCtrl*) in stcdll_ScintillaWX.o
ScintillaWX::~ScintillaWX() in stcdll_ScintillaWX.o
"Editor::ButtonMove(Point)", referenced from:
ScintillaWX::DoLeftButtonMove(Point) in stcdll_ScintillaWX.o
"Editor::ChangeSize()", referenced from:
ScintillaWX::DoSize(int, int) in stcdll_ScintillaWX.o
"Editor::KeyDefault(int, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::RedrawRect(PRectangle)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::SetTicking(bool)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::CancelModes()", referenced from:
ScintillaWX::CancelModes() in stcdll_ScintillaWX.o
"Editor::InsertPaste(char const*, int)", referenced from:
ScintillaWX::Paste() in stcdll_ScintillaWX.o
"Editor::NotifyFocus(bool)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::AbandonPaint()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::CaseMapString(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::CopyAllowLine()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::DisplayCursor(Window::Cursor)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::DragThreshold(Point, Point)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::ModifierFlags(bool, bool, bool, bool, bool)", referenced from:
ScintillaWX::DoRightButtonDown(Point, unsigned int, bool, bool, bool) in stcdll_ScintillaWX.o
ScintillaWX::DoKeyDown(wxKeyEvent const&, bool*) in stcdll_ScintillaWX.o
"Editor::NotifyDeleted(Document*, void*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::PaintContains(PRectangle)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::QueueIdleWork(WorkNeeded::workItems, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::SetDocPointer(Document*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::SetFocusState(bool)", referenced from:
ScintillaWX::DoLoseFocus() in stcdll_ScintillaWX.o
ScintillaWX::DoGainFocus() in stcdll_ScintillaWX.o
"Editor::ClearSelection(bool)", referenced from:
ScintillaWX::StartDrag() in stcdll_ScintillaWX.o
ScintillaWX::Paste() in stcdll_ScintillaWX.o
"Editor::NotifyModified(Document*, DocModification, void*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::DiscardOverdraw()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::NotifyCaretMove()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::NotifySavePoint(Document*, void*, bool)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::RedrawSelMargin(int, bool)", referenced from:
ScintillaWX::DoMarkerDefineBitmap(int, wxBitmap const&) in stcdll_ScintillaWX.o
"Editor::SetDragPosition(SelectionPosition)", referenced from:
ScintillaWX::DoDropText(long, long, wxString const&) in stcdll_ScintillaWX.o
ScintillaWX::DoDragOver(int, int, wxDragResult) in stcdll_ScintillaWX.o
ScintillaWX::DoDragLeave() in stcdll_ScintillaWX.o
ScintillaWX::StartDrag() in stcdll_ScintillaWX.o
"Editor::PasteRectangular(SelectionPosition, char const*, int)", referenced from:
ScintillaWX::Paste() in stcdll_ScintillaWX.o
"Editor::PointInSelection(Point)", referenced from:
ScintillaWX::DoRightButtonDown(Point, unsigned int, bool, bool, bool) in stcdll_ScintillaWX.o
"Editor::NotifyDoubleClick(Point, bool, bool, bool)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::NotifyDoubleClick(Point, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::NotifyStyleNeeded(Document*, void*, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::SetEmptySelection(int)", referenced from:
ScintillaWX::DoRightButtonDown(Point, unsigned int, bool, bool, bool) in stcdll_ScintillaWX.o
"Editor::CopySelectionRange(SelectionText*, bool)", referenced from:
ScintillaWX::Copy() in stcdll_ScintillaWX.o
"Editor::HorizontalScrollTo(int)", referenced from:
ScintillaWX::ModifyScrollBars(int, int) in stcdll_ScintillaWX.o
ScintillaWX::DoHScroll(int, int) in stcdll_ScintillaWX.o
ScintillaWX::DoMouseWheel(wxMouseWheelAxis, int, int, int, int, bool, bool) in stcdll_ScintillaWX.o
ScintillaWX::DoScrollToColumn(int) in stcdll_ScintillaWX.o
"Editor::InvalidateStyleData()", referenced from:
ScintillaWX::DoInvalidateStyleData() in stcdll_ScintillaWX.o
ScintillaWX::DoMarkerDefineBitmap(int, wxBitmap const&) in stcdll_ScintillaWX.o
"Editor::NotifyErrorOccurred(Document*, void*, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::NotifyModifyAttempt(Document*, void*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::KeyDownWithModifiers(int, int, bool*)", referenced from:
ScintillaWX::DoKeyDown(wxKeyEvent const&, bool*) in stcdll_ScintillaWX.o
"Editor::PositionFromLocation(Point, bool, bool)", referenced from:
ScintillaWX::DoDropText(long, long, wxString const&) in stcdll_ScintillaWX.o
ScintillaWX::DoDragOver(int, int, wxDragResult) in stcdll_ScintillaWX.o
ScintillaWX::DoRightButtonDown(Point, unsigned int, bool, bool, bool) in stcdll_ScintillaWX.o
"Editor::CaseFolderForEncoding()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::InvalidateStyleRedraw()", referenced from:
ScintillaWX::SetUseAntiAliasing(bool) in stcdll_ScintillaWX.o
"Editor::ReconfigureScrollBars()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::GetClientDrawingRectangle()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::Idle()", referenced from:
ScintillaWX::DoOnIdle(wxIdleEvent&) in stcdll_ScintillaWX.o
"Editor::Paint(Surface*, PRectangle)", referenced from:
ScintillaWX::DoPaint(wxDC*, wxRect) in stcdll_ScintillaWX.o
ScintillaWX::FullPaintDC(wxDC*) in stcdll_ScintillaWX.o
"Editor::DropAt(SelectionPosition, char const*, bool, bool)", referenced from:
ScintillaWX::DoDropText(long, long, wxString const&) in stcdll_ScintillaWX.o
"Editor::Redraw()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::TickFor(Editor::TickReason)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::ButtonUp(Point, unsigned int, bool)", referenced from:
ScintillaWX::DoLeftButtonUp(Point, unsigned int, bool) in stcdll_ScintillaWX.o
"Editor::CanPaste()", referenced from:
ScintillaWX::CanPaste() in stcdll_ScintillaWX.o
"Editor::IdleWork()", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::ScrollTo(int, bool)", referenced from:
ScintillaWX::DoVScroll(int, int) in stcdll_ScintillaWX.o
ScintillaWX::DoMouseWheel(wxMouseWheelAxis, int, int, int, int, bool, bool) in stcdll_ScintillaWX.o
ScintillaWX::DoScrollToLine(int) in stcdll_ScintillaWX.o
"Editor::SetCtrlID(int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"KeyMap::AssignCmdKey(int, int, unsigned int)", referenced from:
ScintillaWX::Initialise() in stcdll_ScintillaWX.o
"CallTip::MouseClick(Point)", referenced from:
wxSTCCallTip::OnLeftDown(wxMouseEvent&) in stcdll_ScintillaWX.o
"CallTip::CallTipCancel()", referenced from:
ScintillaWX::CancelModes() in stcdll_ScintillaWX.o
"CallTip::PaintCT(Surface*)", referenced from:
wxSTCCallTip::DrawBack(wxSize const&) in stcdll_ScintillaWX.o
"Selection::Rectangular()", referenced from:
ScintillaWX::Paste() in stcdll_ScintillaWX.o
"Selection::Range(unsigned long)", referenced from:
ScintillaWX::Paste() in stcdll_ScintillaWX.o
"ViewStyle::CalcLargestMarkerHeight()", referenced from:
ScintillaWX::DoMarkerDefineBitmap(int, wxBitmap const&) in stcdll_ScintillaWX.o
"ScintillaBase::ShouldDisplayPopup(Point) const", referenced from:
ScintillaWX::DoContextMenu(Point) in stcdll_ScintillaWX.o
"SelectionPosition::operator<(SelectionPosition const&) const", referenced from:
SelectionRange::Start() const in stcdll_ScintillaWX.o
"Editor::MaxScrollPos() const", referenced from:
ScintillaWX::DoVScroll(int, int) in stcdll_ScintillaWX.o
"Editor::LinesOnScreen() const", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::LinesToScroll() const", referenced from:
ScintillaWX::DoVScroll(int, int) in stcdll_ScintillaWX.o
"Editor::TopLineOfMain() const", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::GetHotSpotRange() const", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::GetTextRectangle() const", referenced from:
ScintillaWX::ModifyScrollBars(int, int) in stcdll_ScintillaWX.o
ScintillaWX::DoHScroll(int, int) in stcdll_ScintillaWX.o
ScintillaWX::DoMouseWheel(wxMouseWheelAxis, int, int, int, int, bool, bool) in stcdll_ScintillaWX.o
"Editor::GetClientRectangle() const", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::GetVisibleOriginInMain() const", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"Editor::CodePage() const", referenced from:
AutoSurface::AutoSurface(void*, Editor*, int) in stcdll_ScintillaWX.o
"Editor::Wrapping() const", referenced from:
ScintillaWX::ModifyScrollBars(int, int) in stcdll_ScintillaWX.o
"Selection::IsRectangular() const", referenced from:
ScintillaWX::Paste() in stcdll_ScintillaWX.o
"Selection::Main() const", referenced from:
ScintillaWX::Paste() in stcdll_ScintillaWX.o
"Selection::Empty() const", referenced from:
ScintillaWX::Copy() in stcdll_ScintillaWX.o
"Selection::MainCaret() const", referenced from:
ScintillaWX::Paste() in stcdll_ScintillaWX.o
"typeinfo for ScintillaBase", referenced from:
typeinfo for ScintillaWX in stcdll_ScintillaWX.o
"non-virtual thunk to ScintillaBase::NotifyLexerChanged(Document*, void*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"non-virtual thunk to Editor::NotifyDeleted(Document*, void*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"non-virtual thunk to Editor::NotifyModified(Document*, DocModification, void*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"non-virtual thunk to Editor::NotifySavePoint(Document*, void*, bool)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"non-virtual thunk to Editor::NotifyStyleNeeded(Document*, void*, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"non-virtual thunk to Editor::NotifyErrorOccurred(Document*, void*, int)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
"non-virtual thunk to Editor::NotifyModifyAttempt(Document*, void*)", referenced from:
vtable for ScintillaWX in stcdll_ScintillaWX.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [***/wxWidgets-3.1.6/build-cocoa-debug/lib/libwx_osx_cocoau_stc-3.1.6.0.0.dylib] Error 1

Platform and version information

  • wxWidgets version you use: 3.1.6
  • wxWidgets port you use: wxOSX
  • OS and its version: macOS 12.3.1
  • Compiler being used: gcc 13.1.6


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429@github.com>

oneeyeman1

unread,
May 15, 2022, 9:45:29 PM5/15/22
to wx-...@googlegroups.com, Subscribed

How and where did you get the source code?
Did you download the release archive or you grabbed them from the Git?

Thank you.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1127130351@github.com>

Jerry805

unread,
May 16, 2022, 8:28:53 AM5/16/22
to wx-...@googlegroups.com, Subscribed

I download the release archive

How and where did you get the source code? Did you download the release archive or you grabbed them from the Git?

Thank you.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1127611386@github.com>

VZ

unread,
May 17, 2022, 10:26:00 AM5/17/22
to wx-...@googlegroups.com, Subscribed

The line

ld: warning: ignoring file ***/wxWidgets-3.1.6/build-cocoa-debug/lib/libwxscintilla-3.1.a, building for macOS-x86_64 but attempting to link with file built for macOS-x86_64

just doesn't seem to make sense. It's normal for ld to complain about this in case of architecture mismatch, but here the two architectures are the same and I just don't see how is it possible.

Is it the first time you're building in this directory? I.e. does the problem persist if you rm -rf build-cocoa-debug and redo everything from scratch once again?

Needless to say, I can't reproduce it here, so there must be some missing piece of information, but I don't know what could it be, sorry.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1128939370@github.com>

Jerry805

unread,
May 17, 2022, 10:58:02 AM5/17/22
to wx-...@googlegroups.com, Subscribed

It is the first time to build in this directory. Remove the directory and try again, same issue appears.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1128977473@github.com>

VZ

unread,
May 17, 2022, 11:01:26 AM5/17/22
to wx-...@googlegroups.com, Subscribed

Sorry, I can't help because I simply don't understand what's going on here. I suspect some weird Xcode installation problem because, again, seeing "macOS-x86_64" being incompatible with itself is just not supposed to happen.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1128981515@github.com>

Jerry805

unread,
May 17, 2022, 11:06:24 AM5/17/22
to wx-...@googlegroups.com, Subscribed

The Xcode on my mac is 13.3.1. Can that cause this happen?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1128987198@github.com>

Jerry805

unread,
May 17, 2022, 11:07:41 AM5/17/22
to wx-...@googlegroups.com, Subscribed

Or may I build in another way on mac ?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1128988598@github.com>

VZ

unread,
May 17, 2022, 11:18:30 AM5/17/22
to wx-...@googlegroups.com, Subscribed

I'm building with Xcode 13 without any problems, so on its own, no, this shouldn't be a problem.

You could try build using CMake.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1129001238@github.com>

Jerry805

unread,
May 17, 2022, 11:21:34 AM5/17/22
to wx-...@googlegroups.com, Subscribed

Are there some dependency libraries I need to install ?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1129004844@github.com>

Jerry805

unread,
May 17, 2022, 11:23:57 AM5/17/22
to wx-...@googlegroups.com, Subscribed

I remove the wxWidgets, unpack the wxWidgets-3.1.6.tar.bz2. And try again.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1129007475@github.com>

VZ

unread,
May 17, 2022, 11:24:16 AM5/17/22
to wx-...@googlegroups.com, Subscribed

No, this really doesn't have anything to do with the missing dependencies. Somehow the linker refuses to use the just built lib/libwxscintilla-3.1.a file claiming that it's using a wrong architecture and this is just blatantly false. As I said, I have no explanation for this, sorry.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1129007797@github.com>

Jerry805

unread,
May 17, 2022, 11:26:11 AM5/17/22
to wx-...@googlegroups.com, Subscribed

If I install wxWidgets from homebrew, may I use it as normal?


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1129009949@github.com>

github-actions[bot]

unread,
Dec 12, 2022, 3:31:00 PM12/12/22
to wx-...@googlegroups.com, Subscribed

This issue has been automatically closed because there has been no response to our request for more information from the original author since 100 days and we're unable to do anything about the problem without more information. Please comment on this issue if you can provide any additional data so that we could investigate it further.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1347262075@github.com>

github-actions[bot]

unread,
Dec 12, 2022, 3:31:01 PM12/12/22
to wx-...@googlegroups.com, Subscribed

Closed #22429 as completed.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issue/22429/issue_event/8018216608@github.com>

oneeyeman1

unread,
Dec 12, 2022, 3:59:36 PM12/12/22
to wx-...@googlegroups.com, Subscribed

@Jerry805 ,
Of course.

It will just be installed by your packet manager.


Reply to this email directly, view it on GitHub, or unsubscribe.

You are receiving this because you are subscribed to this thread.Message ID: <wxWidgets/wxWidgets/issues/22429/1347318484@github.com>

Reply all
Reply to author
Forward
0 new messages