User forums > General (but related to Code::Blocks)
Issues compiling Code::Blocks
Conan Kudo:
That fixed that error!
However, here is the next one:
--- Code: ---Skuld:macbuild ngompa$ make
Making all in src
Making all in base
Making all in tinyxml
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in build_tools
Making all in autorevision
./auto_revision +int +wx +t ../../../.. ../../../../src/include/autorevision.h
make[3]: Nothing to be done for `all-am'.
Making all in include
make all-recursive
Making all in scripting
Making all in squirrel
make[5]: Nothing to be done for `all'.
Making all in sqstdlib
make[5]: Nothing to be done for `all'.
Making all in sqplus
make[5]: Nothing to be done for `all'.
Making all in bindings
make[5]: Nothing to be done for `all'.
Making all in include
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in tinyxml
make[4]: Nothing to be done for `all'.
Making all in wxscintilla
make[4]: Nothing to be done for `all'.
Making all in mime
make[2]: Nothing to be done for `all'.
Making all in sdk
Making all in scripting
Making all in squirrel
make[4]: Nothing to be done for `all'.
Making all in sqstdlib
make[4]: Nothing to be done for `all'.
Making all in sqplus
make[4]: Nothing to be done for `all'.
Making all in bindings
/bin/sh ../../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../../src/sdk/scripting/bindings -I/usr/local/lib/wx/include/osx_cocoa-unicode-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I../../../../../src/include -I../../../../../src/include/wxscintilla/include -I../../../../../src/include/scripting/include -I../../../../../src/include/scripting/bindings -I../../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -arch i386 -m32 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT sc_wxtypes.lo -MD -MP -MF .deps/sc_wxtypes.Tpo -c -o sc_wxtypes.lo ../../../../../src/sdk/scripting/bindings/sc_wxtypes.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I../../../../../src/sdk/scripting/bindings -I/usr/local/lib/wx/include/osx_cocoa-unicode-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I../../../../../src/include -I../../../../../src/include/wxscintilla/include -I../../../../../src/include/scripting/include -I../../../../../src/include/scripting/bindings -I../../../../../src/include/scripting/sqplus -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -arch i386 -m32 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT sc_wxtypes.lo -MD -MP -MF .deps/sc_wxtypes.Tpo -c ../../../../../src/sdk/scripting/bindings/sc_wxtypes.cpp -fno-common -DPIC -o .libs/sc_wxtypes.o
../../../../../src/include/scripting/sqplus/sqplus.h: In static member function ‘static SQInteger SqPlus::DirectCallInstanceMemberFunction<Callee, Func>::Dispatch(SQVM*) [with Callee = wxFileName, Func = wxString (*)(const wxString&)]’:
../../../../../src/include/scripting/sqplus/sqplus.h:1313: instantiated from ‘void SqPlus::sq_pushdirectinstanceclosure(SQVM*, const Callee&, Func, SQUnsignedInteger) [with Callee = wxFileName, Func = wxString (*)(const wxString&)]’
../../../../../src/include/scripting/sqplus/sqplus.h:1397: instantiated from ‘void SqPlus::RegisterInstance(SQVM*, HSQOBJECT, Callee&, Func, const SQChar*) [with Callee = wxFileName, Func = wxString (*)(const wxString&)]’
../../../../../src/include/scripting/sqplus/sqplus.h:1751: instantiated from ‘SqPlus::SQClassDef<TClassType>& SqPlus::SQClassDef<TClassType>::func(Func, const SQChar*) [with Func = wxString (*)(const wxString&), TClassType = wxFileName]’
../../../../../src/sdk/scripting/bindings/sc_wxtypes.cpp:248: instantiated from here
../../../../../src/include/scripting/sqplus/sqplus.h:1244: error: no matching function for call to ‘Call(wxFileName&, wxString (*&)(const wxString&), SQVM*&, int)’
make[4]: *** [sc_wxtypes.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Skuld:macbuild ngompa$
--- End code ---
stahta01:
I need the line at sc_wxtypes.cpp:248 to look at the cause.
Tim S.
--- Code: ---../../../../../src/sdk/scripting/bindings/sc_wxtypes.cpp:248: instantiated from here
--- End code ---
Conan Kudo:
--- Quote from: stahta01 on October 24, 2009, 06:41:55 am ---I need the line at sc_wxtypes.cpp:248 to look at the cause.
Tim S.
--- Code: ---../../../../../src/sdk/scripting/bindings/sc_wxtypes.cpp:248: instantiated from here
--- End code ---
--- End quote ---
Here is the line:
--- Code: --- func(&wxFileName::GetCwd, "GetCwd").
--- End code ---
stahta01:
On my source code that line is commented out.
Tim S.
--- Code: ---// func(&wxFileName::GetCwd, "GetCwd").
--- End code ---
Conan Kudo:
--- Quote from: stahta01 on October 24, 2009, 06:21:05 pm ---On my source code that line is commented out.
Tim S.
--- Code: ---// func(&wxFileName::GetCwd, "GetCwd").
--- End code ---
--- End quote ---
That worked, and it continued until it encountered this error:
--- Code: ---Skuld:macbuild ngompa$ make
Making all in src
Making all in base
Making all in tinyxml
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all-am'.
Making all in build_tools
Making all in autorevision
./auto_revision +int +wx +t ../../../.. ../../../../src/include/autorevision.h
make[3]: Nothing to be done for `all-am'.
Making all in include
make all-recursive
Making all in scripting
Making all in squirrel
make[5]: Nothing to be done for `all'.
Making all in sqstdlib
make[5]: Nothing to be done for `all'.
Making all in sqplus
make[5]: Nothing to be done for `all'.
Making all in bindings
make[5]: Nothing to be done for `all'.
Making all in include
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
Making all in tinyxml
make[4]: Nothing to be done for `all'.
Making all in wxscintilla
make[4]: Nothing to be done for `all'.
Making all in mime
make[2]: Nothing to be done for `all'.
Making all in sdk
Making all in scripting
Making all in squirrel
make[4]: Nothing to be done for `all'.
Making all in sqstdlib
make[4]: Nothing to be done for `all'.
Making all in sqplus
make[4]: Nothing to be done for `all'.
Making all in bindings
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
Making all in wxscintilla
make[3]: Nothing to be done for `all'.
Making all in resources
Making all in lexers
make[4]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all-am'.
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../../src/sdk -I/usr/local/lib/wx/include/osx_cocoa-unicode-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/tinyxml -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -arch i386 -m32 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager.lo -MD -MP -MF .deps/configmanager.Tpo -c -o configmanager.lo ../../../src/sdk/configmanager.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../../src/sdk -I/usr/local/lib/wx/include/osx_cocoa-unicode-2.9 -I/usr/local/include/wx-2.9 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I../../../src/include -I../../../src/include/wxscintilla/include -I../../../src/include/tinyxml -I../../../src/include/scripting/include -I../../../src/include/scripting/sqplus -I../../../src/include/mozilla_chardet -Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -arch i386 -m32 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT configmanager.lo -MD -MP -MF .deps/configmanager.Tpo -c ../../../src/sdk/configmanager.cpp -fno-common -DPIC -o .libs/configmanager.o
../../../src/sdk/configmanager.cpp:39:44: error: wx/mac/corefoundation/cfstring.h: No such file or directory
../../../src/sdk/configmanager.cpp: In function ‘wxString<unnamed>::DetermineResourcesPath()’:
../../../src/sdk/configmanager.cpp:130: error: ‘wxMacCFStringHolder’ was not declared in this scope
make[3]: *** [configmanager.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Skuld:macbuild ngompa$
--- End code ---
I rebuilt wx with carbon instead, and I still see the same error. I looked at the wx source tree, and I noticed three things:
1) wx/mac/ doesn't exist; it is wx/osx/ now.
2) there is no /corefoundation subdirectory
3) cfstring.h exists in wx/osx/core directory
Here is the directory tree of includes...
--- Code: ---Skuld:wx ngompa$ ls ./osx
accel.h [core] font.h msgdlg.h spinbutt.h
app.h cursor.h fontdlg.h nonownedwnd.h spinctrl.h
bitmap.h dataform.h frame.h notebook.h srchctrl.h
bmpbuttn.h dataobj.h gauge.h palette.h statbmp.h
brush.h dataobj2.h glcanvas.h pen.h statbox.h
button.h dataview.h helpxxxx.h pnghand.h statline.h
[carbon] dc.h icon.h pngread.h stattext.h
checkbox.h dcclient.h imaglist.h popupwin.h statusbr.h
checklst.h dcmemory.h joystick.h printdlg.h taskbarosx.h
chkconf.h dcprint.h listbox.h printmac.h textctrl.h
choice.h dcscreen.h listctrl.h private.h tglbtn.h
clipbrd.h dialog.h mdi.h radiobox.h toolbar.h
[cocoa] dirdlg.h menu.h radiobut.h tooltip.h
colordlg.h dnd.h menuitem.h region.h toplevel.h
colour.h evtloop.h metafile.h scrolbar.h treectrl.h
combobox.h evtloopsrc.h mimetype.h slider.h uma.h
control.h filedlg.h minifram.h sound.h window.h
Skuld:wx ngompa$ ls ./osx/core
cfdataref.h cfstring.h hid.h private stdpaths.h
cfref.h colour.h joystick.h private.h
Skuld:wx ngompa$ ls ./osx/carbon
chkconf.h [private] region.h uma.h
evtloop.h private.h statbmp.h
Skuld:wx ngompa$ ls ./osx/carbon/private
mactext.h overlay.h print.h
Skuld:wx ngompa$ ls ./osx/cocoa
chkconf.h dataview.h evtloop.h private.h
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version