Describe the problem
I got the following error in response to the make command:
/src/common/dcbase.cpp:1415:21: error: too many arguments to function call, expected 2, have 4
drawobject->MaxX(),drawobject->MaxY());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/wx/dc.h:896:10: note: 'CalcBoundingBox' declared here
void CalcBoundingBox(wxCoord x, wxCoord y)
^
1 error generated.
make: *** [coredll_dcbase.o] Error 1
Describe how exactly do you build wxWidgets, including the full configure
command line and/or make
command line if relevant.
~% git clone g...@github.com:wxWidgets/wxWidgets.git
Cloning into 'wxWidgets'...
remote: Enumerating objects: 848587, done.
remote: Counting objects: 100% (130/130), done.
remote: Compressing objects: 100% (95/95), done.
remote: Total 848587 (delta 76), reused 79 (delta 35), pack-reused 848457
Receiving objects: 100% (848587/848587), 347.19 MiB | 13.95 MiB/s, done.
Resolving deltas: 100% (706313/706313), done.
~% cd wxWidgets
wxWidgets% git submodule update --init src/png
...
...
wxWidgets% git submodule update --init src/tiff
....
...
wxWidgets% git submodule update --init 3rdparty/catch
...
...
wxWidgets% ./configure --with-cocoa --prefix=/usr/local --enable-webview --enable-compat28 --with-macosx-version-min=11.3
...
...
Configured wxWidgets 3.1.7 for `aarch64-apple-darwin21.3.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 yes
wxWidgets 3.0 yes
Which libraries should wxWidgets use?
STL no
jpeg builtin
png builtin
regex builtin
tiff builtin
lzma no
zlib sys
expat sys
libmspack no
sdl no
wxWidgets% make
IC ./src/stc/scintilla/lexers/LexCOBOL.cxx
/Users/7stud/wxWidgets/bk-deps g++ -std=gnu++11 -mmacosx-version-min=11.3 -c -o wxscintilla_LexCoffeeScript.o -I/Users/7stud/wxWidgets/lib/wx/include/osx_cocoa-unicode-3.1 -I./include -D_FILE_OFFSET_BITS=64 -DNDEBUG -
...
...
I./src/stc/scintilla/include -I./src/stc/scintilla/lexlib -I./src/stc/scintilla/src -D__WX__ -DSCI_LEXER -DNO_CXX11_REGEX -DLINK_LEXERS -DWXUSINGDLL -D__WXOSX_COCOA__ -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -O2 -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -dynamic -fPIC -DPIC ./src/stc/scintilla/lexers/LexCoffeeScript.cxx
/Users/7stud/wxWidgets/bk-deps g++ -std=gnu++11 -mmacosx-version-min=11.3 -c -o wxscintilla_LexConf.o -
/Users/7stud/wxWidgets/bk-deps g++ -std=gnu++11 -mmacosx-version-min=11.3 -c -o coredll_dcbase.o -I/Users/7stud/wxWidgets/src/tiff/libtiff -I./src/tiff/libtiff -I./src/jpeg -I./src/png -I./3rdparty/pcre/src/wx -I/Users/7stud/wxWidgets/lib/wx/include/osx_cocoa-unicode-3.1 -I./include -D_FILE_OFFSET_BITS=64 -D__WXOSX_COCOA__ -DWXBUILDING -DWXUSINGDLL -DWXMAKINGDLL_CORE -DwxUSE_BASE=0 -dynamic -fPIC -DPIC -Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy -Woverloaded-virtual -Wno-deprecated-declarations -O2 -fno-common -fvisibility=hidden -fvisibility-inlines-hidden ./src/common/dcbase.cpp
./src/common/dcbase.cpp:1415:21: error: too many arguments to function call, expected 2, have 4
drawobject->MaxX(),drawobject->MaxY());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/wx/dc.h:896:10: note: 'CalcBoundingBox' declared here
void CalcBoundingBox(wxCoord x, wxCoord y)
^
1 error generated.
make: *** [coredll_dcbase.o] Error 1
Please attach the full build log, but feel free to quote the relevant parts of
it here.
Got error saying it's too long.
When using configure
, please also attach config.log
file.
Got error saying it's too long.
Platform and version information
Macbook Pro/ OXS 12.2.1 / Apple M1 Pro
The configure output says 3.1.7.
???
Macbook Pro/ OSX 12.2.1 / Apple M1 Pro
From the command line output:
C compiler: gcc -mmacosx-version-min=11.3 -Wall -W
C++ compiler: g++ -std=gnu++11 -mmacosx-version-min=11.3
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Oops, thanks for reporting this, this is due to using --enable-compat28
, so if you need a fix right now you should just rerun configure without this option, but I'll fix it a.s.a.p. to work with it too.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.