Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / linking errors when switching wxUSE_UNICODE to1

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. linking errors when switching wxUSE_UNICODE to1
#4520
Posted by: bobmorton 2004-06-18 01:15:37
Hi,
when i switch wxUSE_UNICODE to 1 in my main file i get 2 linking errors which I do not get when I leave it to the default value. Here they are :

Interface_private.res -o "IFE.exe" -L"C:/Utilitaires/Programmation/Dev-Cpp/lib" -mwindows -Wl,--subsystem,windows -mwindows -lwxmsw -lstdc++ -lgcc -lodbc32 -lwsock32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid   -ljpeg libxml2.dll -lregex -lpng -lzlib -ltiff -lstdc++ -lgcc -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lodbc32 -ladvapi32 -lodbc32 -lwsock32 -lopengl32 -lglu32 -lole32 -loleaut32 -luuid

main.o(.text+0xd4f):main.cpp: undefined reference to `wxLogError(wchar_t const*, ...)'
main.o(.text$_ZN8wxStringC1EPKwj+0x1b):main.cpp: undefined reference to `wxString::InitWith(wchar_t const*, unsigned, unsigned)'

could someone tell me why I get these errors and which library I should import. Thanks very much!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Sun 2022-12-4  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0