Boost logo

Boost :

From: Alan Gutierrez (alan-boost_at_[hidden])
Date: 2004-12-22 10:45:00


* Alan Gutierrez <alan-boost_at_[hidden]> [2004-12-21 23:50]:
> * Reece Dunn <msclrhd_at_[hidden]> [2004-12-21 18:36]:
> > Alan Gutierrez wrote:
> > >* Reece Dunn <msclrhd_at_[hidden]> [2004-12-21 05:59]:
> > >
> > >
> > >>The link to the code is: http://uk.geocities.com/msclrhd/gui/gui.zip
> > >
> > > How do I build this?
> >
> > You need to configure Boost.Build v2. You will also need to update the
> > source since I have modified the build files to use BOOST_ROOT to
> > reference Boost.Signals and Boost.DateTime.
> >
> > > I've built Boost on Win32 (with errors in the serialization
> > > library). I'd like to just cd to the gui directory and run bjam
> > > but it asks for a boost-build.jam file.
> >
> > boost-build.jam is used by BBv2. See
> > http://www.boost.org/doc/html/bbv2/installation.html
> > for setup instructions. You will also need to setup
> > boost/tools/build/v2/user-config.jam. You also need to have BOOST_ROOT
> > in either the environment variables or in the Jamfile configuration.
> >
> > To get the library working with gcc, you need to uncomment the
> > <toolset>gcc: line and edit the location of libcomctl32.a.
> >
> > > Suggestions? Do I need to learn how to write a boost-build.jam
> > > file?
> >
> > See the BBv2 docs for setting it up (see above).
> >
> > The new code update contains a few bug fixes, an update to the layout
> > manager logic and a working version of the flow layout (although this
> > does not yet wrap around controls).
>
> I've configured Boost.Build, edited the file locations in
> Jamfile.v2, and it now builds, no errors, but executables do not run.
>
> They fail with a ddl resolution error. The ddl sought is:
>
> MSVCP80.ddl
>
> I've searched my drive and I can't find it.
>
> I build boost using the free Visual C++ 2003, and built your
> work using cygwin gcc. I'm assuming that running the build
> using the gcc tool set caused the signals and date_time
> libraries to be compiled with gcc. Otherwise, I'll look here for
> problems.
>
> I'm re-installing Cygwin with Cygwin Python in order to build
> a complete Boost using Cygwin gcc.

    Agony!

    I found that the executables were included in the gui.zip, and
    where not built when I ran my build.

    So, now I simply can't get them to build, but at least they are
    not linking to a ddl that doesn't exist on my system.

    I'm cd'ing to the devel directory and running bjam.

    I'm getting this:
 
rawapi.cpp:7:28: boost/config.hpp: No such file or directory
bin\gcc\debug\user-interface-gui\entry.o(.text+0x73): In function `_ZN5boost3gui3win10entry_dataC1EPci':
/cygdrive/c/codearea/boost/trunk/gui/libs/devel/../../boost/gui/win/platform.hpp:121: undefined reference to `_InitCommonControlsEx_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(button.o)(.text+0x47): In function `_ZN5boost3gui6widgetD0Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/../boost/gui/object/widget.hpp:44: undefined reference to `_GetStockObject_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(widget.o)(.text+0xaf): In function `_ZN5boost3gui6widgetD1Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/../boost/gui/object/component.hpp: undefined reference to `_GetStockObject_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(widget.o)(.text+0x1e5): In function `_ZN5boost3gui6widgetC1EP6HWND__RKNS0_3win12basic_stringIcEES8_NS4_11frame_styleE':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/widget.cpp:19: undefined reference to `_GetStockObject_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(font.o)(.text+0xf6): In function `_ZNK5boost3gui8graphics6devicecvP5HDC__Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/../boost/gui/graphics/font.hpp: undefined reference to `_SelectObject_at_8'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(font.o)(.text+0x17c):/cygdrive/c/codearea/boost/trunk/gui/libs/../boost/gui/graphics/font.hpp: undefined reference to `_GetTextExtentPoint32A_at_16'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(font.o)(.text+0x1ff):/cygdrive/c/codearea/boost/trunk/gui/libs/../boost/gui/graphics/font.hpp: undefined reference to `_SelectObject_at_8'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(font.o)(.text+0x33c): In function `_ZN5boost3gui8graphics4fontC2ERKNS0_3win12basic_stringIcEEfm':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/font.cpp:26: undefined reference to `_CreateFontA_at_56'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(font.o)(.text+0x414): In function `_ZN5boost3gui8graphics4fontC1ERKNS0_3win12basic_stringIcEEfm':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/font.cpp:26: undefined reference to `_CreateFontA_at_56'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(font.o)(.text+0x446): In function `_ZN5boost3gui8graphics4fontD2Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/font.cpp:41: undefined reference to `_DeleteObject_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(font.o)(.text+0x488): In function `_ZN5boost3gui8graphics4fontD1Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/font.cpp:41: undefined reference to `_DeleteObject_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(font.o)(.text+0x4ca): In function `_ZN5boost3gui8graphics4fontD0Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/font.cpp:41: undefined reference to `_DeleteObject_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(device.o)(.text+0x4b): In function `_ZN5boost3gui8graphics6deviceC2ERKNS0_3win12basic_stringIcEE':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/device.cpp:13: undefined reference to `_CreateDCA_at_16'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(device.o)(.text+0xa5): In function `_ZN5boost3gui8graphics6deviceC1ERKNS0_3win12basic_stringIcEE':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/device.cpp:13: undefined reference to `_CreateDCA_at_16'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(device.o)(.text+0xd6): In function `_ZN5boost3gui8graphics6deviceD2Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/device.cpp:18: undefined reference to `_DeleteDC_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(device.o)(.text+0x118): In function `_ZN5boost3gui8graphics6deviceD1Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/device.cpp:18: undefined reference to `_DeleteDC_at_4'
..\bin\gcc\debug\link-static\user-interface-gui\libgui.a(device.o)(.text+0x15a): In function `_ZN5boost3gui8graphics6deviceD0Ev':
/cygdrive/c/codearea/boost/trunk/gui/libs/src/win/graphics/device.cpp:18: undefined reference to `_DeleteDC_at_4'
collect2: ld returned 1 exit status

--
Alan Gutierrez - -alan_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk