hipiss
10/5/2007 9:36:00 PM
poczynilem pewne zmiany w scons
i wychodzi mi tak...
sconstruct
import os
env = Environment(tools=['mingw'])
env.Append(LIBPATH = '/usr/local/lib');
env.Append(CPPPATH =
'/usr/local/lib/wx/include/msw-unicode-release-static-2.8');
env.Append(CPPPATH = ['/usr/local/include/wx-2.8','wx_mswu-28']);
env.ParseConfig( 'wx-config --cxxflags --libs --wxcfg=gcc_dll\\mswud');
ser_ace = env.Program('logging_app', 'logging_app.cpp', LIBS=['ACE']);
niestety wychodzi masa bledow a na koncu error linkera
ponizej skrucony log (bez srodka...)
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o logging_app.exe logging_app.o -LC:\usr\local\lib
-LC:\wxWidgets-2.8.5\lib\gcc_dll -lACE
logging_app.o:logging_app.cpp:(.text+0x16d): undefined reference to
`_imp___ZN12wxAppConsole17CheckBuildOptionsEPKcS1_'
logging_app.o:logging_app.cpp:(.text+0x21c): undefined reference to
`_imp___Z7wxEntryP11HINSTANCE__S0_Pci'
logging_app.o:logging_app.cpp:(.text+0x464): undefined reference to
`_imp__wxFrameNameStr'
logging_app.o:logging_app.cpp:(.text+0x541): undefined reference to
`wxTopLevelWindowMSW::SetIcon(wxIcon const&)'
logging_app.o:logging_app.cpp:(.text+0x561): undefined reference to
`wxIcon::~wxIcon()'
logging_app.o:logging_app.cpp:(.text+0x584): undefined reference to
`wxIcon::~wxIcon()'
ciach....
unciach...
logging_app.o:logging_app.cpp:(.text$_ZN7MyFrameD1Ev[MyFrame::~MyFrame()]+0x16):
undefined reference to `_imp___ZN7wxFrameD2Ev'
logging_app.o:logging_app.cpp:(.text$_ZN7MyFrameD0Ev[MyFrame::~MyFrame()]+0x16):
undefined reference to `_imp___ZN7wxFrameD2Ev'
collect2: ld returned 1 exit status
scons: *** [logging_app.exe] Error 1scons: building terminated because
of errors.
pozdrawiam
hipiss
ps. milej nocy