Bonjour a tous, j'ai un programme assez conséquent fait sous Windows. J'essaie de le porter sous linux. J'ai installé wxWidgets, les libs sont dans \usr\local\lib.
Les voici :

wx_base-2.8
wx_gtk2_aui-2.8
wx_gtk2_xrc-2.8
wx_gtk2_qa-2.8
wx_base_xml-2.8
wx_gtk2_core-2.8
wx_gtk2_html-2.8
wx_gtk2_richtext-2.8

Voila, et donc lorsque je compile, pas de problème, mais lorsque je link, voici les problèmes que je rencontre, tous ciblés sur la fonction wxOnAssert.

./Krablenet/Sources/Scrabble/HMI/CGame.o: In function `wxStringBase':
/usr/local/include/wx-2.8/wx/string.h:351: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, char const*)'
./Krablenet/Sources/Find/HMI/CFind.o: In function `wxCheckBoxBase::IsChecked() const':
/usr/local/include/wx-2.8/wx/checkbox.h:69: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, char const*)'
./Krablenet/Sources/Find/HMI/CFind.o: In function `wxCheckBoxBase:oGet3StateValue() const':
/usr/local/include/wx-2.8/wx/checkbox.h:125: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, char const*)'
./Krablenet/Sources/Find/HMI/CFind.o: In function `wxCheckBoxBase:oSet3StateValue(wxCheckBoxState)':
/usr/local/include/wx-2.8/wx/checkbox.h:121: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, char const*)'
./Krablenet/Sources/Dictionary/TDictionary.o: In function `wxZipEntryPtr::operator->() const':
/home/stalex/workspace/krablenet/Debug/../Krablenet/Sources/Dictionary/TDictionary.cpp:21: undefined reference to `wxOnAssert(char const*, int, char const*, char const*, char const*)'
./Krablenet/Sources/Dictionary/TDictionary.o:/usr/local/include/wx-2.8/wx/string.h:433: more undefined references to `wxOnAssert(char const*, int, char const*, char const*, char const*)' follow
./Krablenet/Sources/Common/Engine/TApplication.o.rodata._ZTV12TApplication[vtable for TApplication]+0x90): undefined reference to `wxApp::OnAssertFailure(char const*, int, char const*, char const*, char const*)'
./Krablenet/Sources/Common/Engine/TApplication.o.rodata._ZTV12TApplication[vtable for TApplication]+0x94): undefined reference to `wxAppConsole::OnAssert(char const*, int, char const*, char const*)'
Voila, comment eviter ce problème ? Me manque-t-il quelque chose d'installé pour mieux linker ? Merci pour votre aide.

Edit : j'ai une idée : Actuellement j'ai compilé tout mon projet en débug. J'ai d'ailleurs spécifié l'option __DEBUG__ dans la compil.
Mais je n'ai pas installé les depots wxWidgets en debug. Ca aurait un lien ? Le OnAssert ne serait pas présent dans les lib en release ? Si c'est ca alors comment faire pour résoudre le pb, il ne faut pas simplement installer les depots en debug ?

MERCI !!!

Bye