Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / wxChart: link errors / Project settings

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

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. wxChart: link errors / Project settings
#2466
Posted by: 2003-08-15 20:48:27
Hello
I am trying to use the wxChart test.cpp (with test.h) and I get linking errors. I have tried both with wxWindows 2.2.9 and 2.4.1. I think it comes from the project settings since the compilation doesn't generate any errors. Moreover it is not the only project I have linking errors with, and it is quite annoying. I am using Visual Studio 6 Standard under windows XP. The settings below work for my application but not wxChart:

C++
-------------------------------------------------------------------------------------
/nologo /MDd /W2 /GX /Zi /Od /I "C:ProgrammewxWindows-2.2.9include" /I "C:ProgrammewxWindows-2.2.9libmswd" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D WINVER=0x400 /D "_MT" /D wxUSE_GUI=1 /D "__WXDEBUG__" /D WXDEBUG=1 /Fp"Debug/monitor.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c 

Link
-------------------------------------------------------------------------------------
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib comctl32.lib rpcrt4.lib wsock32.lib zlibd.lib regexd.lib pngd.lib jpegd.lib tiffd.lib wxmswd.lib /nologo /subsystem:windows /incremental:yes /pdb:"Debug/monitor.pdb" /debug /machine:I386 /out:"Debug/monitor.exe" /pdbtype:sept 
- Is there a configuration valid for all projects that I should use? if yes can somebody gives me them?

- Can somebody try the test program? unfortunatly there is no project file with it, thus my errors...
File to download:
ftp://biolpc22.york.ac.uk/pub/contrib/wxchart/wxchart2.tgz

THANKS A LOT IF YOU CAN HELP ME !!! It's quite urgent for me to test this wxChart sample...
Message2. Re: wxChart: link errors / Project settings
#2467
Posted by: 2003-08-15 21:14:44
I don't know if it can help but I forgot to say that the errors are all LNK2001 errors...
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2023-1-27  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0