g++ -o "build/release/NSIS Menu/nsismenu/nsismenu.o" -c -Wno-write-strings -Wall -g -O2 -O2 -Wall -fno-strict-aliasing -pthread -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 "Contrib/NSIS Menu/nsismenu/nsismenu.cpp"
Contrib/NSIS Menu/nsismenu/nsismenu.cpp:79: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say '&MyFrame::OnLink'
Contrib/NSIS Menu/nsismenu/nsismenu.cpp: In constructor 'MyFrame::MyFrame(const wxString&, const wxPoint&, const wxSize&)':
Contrib/NSIS Menu/nsismenu/nsismenu.cpp:142: error: 'nsisicon_xpm' was not declared in this scope
Logged In: YES
user_id=584402
Originator: NO
Since when do we have a working wxWidgets version?
Logged In: YES
user_id=584402
Originator: NO
I can't build it on linux, you'll have to fix it yourself.
It seems like making OnLink static should solve the first one.
The second one is a bit more tricky. wxWidgets probably expects us to create the icon using another macro as well.
Logged In: YES
user_id=35028
Originator: YES
Uploaded earlier this week:
http://packages.qa.debian.org/w/wxwidgets2.8/news/20080218T235337Z.html
Logged In: YES
user_id=35028
Originator: YES
Making OnLink static doesn't work:
g++ -o "build/release/NSIS Menu/nsismenu/nsismenu.o" -c -Wno-write-strings -Wall -g -O2 -O2 -Wall -fno-strict-aliasing -pthread -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 "Contrib/NSIS Menu/nsismenu/nsismenu.cpp"
Contrib/NSIS Menu/nsismenu/nsismenu.cpp:79: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function. Say '&MyFrame::OnLink'
Contrib/NSIS Menu/nsismenu/nsismenu.cpp: In constructor 'MyFrame::MyFrame(const wxString&, const wxPoint&, const wxSize&)':
Contrib/NSIS Menu/nsismenu/nsismenu.cpp:142: error: 'nsisicon_xpm' was not declared in this scope
Contrib/NSIS Menu/nsismenu/nsismenu.cpp: At global scope:
Contrib/NSIS Menu/nsismenu/nsismenu.cpp:147: error: cannot declare member function 'void MyFrame::OnLink(wxHtmlLinkEvent&)' to have static linkage
Logged In: YES
user_id=584402
Originator: NO
You've declared it static in the wrong spot. You need to do it in the class definition and not in the global scope.
Logged In: YES
user_id=35028
Originator: YES
Fixed in SVN r5554.