I’m getting errors when trying to compile with just wxBase.g++ -c -O0 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -I"/opt/tdep/include" -I"/usr/include" -DwxUSE_GUI=0 -o obj/nogui/util.o util.cpp In file included from util.cpp:5: headers.h:22:24: error: wx/clipbrd.h: No such file or directory In file included from headers.h:100, from util.cpp:5: db.h: In member function 'bool CDB::Exists(const K&)': db.h:140: error: 'class Db' has no member named 'exists' make: *** [obj/nogui/util.o] Error 1
Clipbrd.h isn’t installed with wxBase. Moving wxWidgets-2.9.0/include/wx/clipbrd.h to my include directory just eliminates those two “no such file” lines.
wx/clipbrd.h isn’t used, move it inside the #if wxUSE_GUI.
Updated headers.h on SVN.
Sorry, I linked to wxbase but I had full wxWidgets on my computer.
The db.h:140 class Db no member named “exisits” is stranger. pdb->get, pdb->put, pdb->del compiled before that. Do you have version 4.7.25 of Berkeley DB?
I suppose they might have added exists recently, using get before that.
44,107 total views, 9 views todayhttps://bitcointalk.org/index.php?topic=63.msg555#msg555