On Wed, Jun 11, 2008 at 10:29:44AM -0700, [EMAIL PROTECTED] wrote: > 1)While building slideshow after adding the rule at the end of the > prj/build.lst as follows > pe slideshow\test nmake - all pe_test pe_api > pe_inc NULL > Hi Karl,
strictly speaking, this is not necessary - just cd into the test dir, and issue a 'dmake'. > A patial dump of the Error is as follows: > > Making: ../unxlngi6.pro/lib/libtests.so > ccache g++ -Wl,-z,noexecstack -Wl,-z,combreloc -Wl,-z,defs > -Wl,-rpath,'$ORIGIN' -Wl,--hash-style=both -g -shared -Wl,-O1 > -Wl,--version-script ../unxlngi6.pro/misc/export_tests.map > -L../unxlngi6.pro/lib -L../lib > -L/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/unxlngi6/lib > -L/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/lib > -L/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/unxlngi6/lib > -LNO_JAVA_HOME/lib -LNO_JAVA_HOME/jre/lib/i386 > -LNO_JAVA_HOME/jre/lib/i386/client > -LNO_JAVA_HOME/jre/lib/i386/native_threads [EMAIL PROTECTED]@ > ../unxlngi6.pro/slo/views.o ../unxlngi6.pro/slo/slidetest.o > ../unxlngi6.pro/slo/testshape.o ../unxlngi6.pro/slo/testview.o > ../unxlngi6.pro/slo/tests_version.o -o ../unxlngi6.pro/lib/libtests.so > -luno_sal -lbasegfx680li -luno_cppuhelpergcc3 -luno_cppu -lcppunitli > -lutl680li -lvcl680li -ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc > ../unxlngi6.pro/slo/views.o: In function `(anonymous > namespace)::UnoViewContainerTest::testContainer()': > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/views.cxx:62: > undefined reference to > `slideshow::internal::UnoViewContainer::UnoViewContainer()' > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/views.cxx:65: > undefined reference to > `slideshow::internal::UnoViewContainer::addView(boost::shared_ptr<slideshow::internal::UnoView> > const&)' > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/views.cxx:72: > undefined reference to `slideshow::internal::UnoViewContainer::dispose()' > ../unxlngi6.pro/slo/slidetest.o: In function `LayerManagerTest': > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/slidetest.cxx:60: > undefined reference to > `slideshow::internal::UnoViewContainer::UnoViewContainer()' > ../unxlngi6.pro/slo/slidetest.o: In function `(anonymous > namespace)::LayerManagerTest::tearDown()': > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/slidetest.cxx:85: > undefined reference to `slideshow::internal::UnoViewContainer::dispose()' > ../unxlngi6.pro/slo/slidetest.o: In function `(anonymous > namespace)::LayerManagerTest::setUp()': > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/slideshow/test/slidetest.cxx:73: > undefined reference to > `slideshow::internal::UnoViewContainer::addView(boost::shared_ptr<slideshow::internal::UnoView> > const&)' > No idea what's causing this - tried it on a OOH680_m16, and it just worked. Issuing a 'cvs diff -rOOG680_m9 -rOOH680_m16' in slideshow/test yields insignificant differences, that you still might want to merge, via 'cvs up -dP -kk -jOOG680_m9 -jOOH680_m16' > 2)Have added the following line to the prj/build.lst of canvas > cv canvas\workben > nmake - all cv_test cv_inc NULL > See above. > Get the following error while building the module > Making: ../unxlngi6.pro/obj/canvasdemo.obj > ccache g++ -fmessage-length=0 -c -g -O0 -I. > -I../unxlngi6.pro/inc/canvasdemo -I../inc -I../inc/pch -I../inc -I../unx/inc > -I../unxlngi6.pro/inc -I. > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc/stl > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc/external > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/unxlngi6/inc > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/inc > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/res > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc/stl > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solenv/inc/Xp31 > -INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux > -INO_JAVA_HOME/include/native_threads/include -INONE > -I/home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/solver/680/unxlngi6.pro/inc/offuh > -I. -I../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -Wall > -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy > -Wno-non-virtual-dtor -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL > -DCVER=C341 -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR > -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE > -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 > -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.1.1/../../../../include/c++/4.1.1 > -DSUPD=680 -DDEBUG -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=2 > -DGUI -DOOG680=OOG680 -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON > -o ../unxlngi6.pro/obj/canvasdemo.o > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx: > In constructor > 'DemoRenderer::DemoRenderer(com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice>, > com::sun::star::uno::Reference<com::sun::star::rendering::XCanvas>, Size)': > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:131: > warning: 'DemoRenderer::mxDevice' will be initialized after > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:129: > warning: > 'com::sun::star::uno::Reference<com::sun::star::rendering::XCanvas> > DemoRenderer::mxCanvas' > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:135: > warning: when initialized here > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:129: > warning: 'DemoRenderer::mxCanvas' will be initialized after > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:122: > warning: 'Size DemoRenderer::maSize' > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:135: > warning: when initialized here > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx: > In member function 'virtual void DemoApp::Main()': > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:666: > error: 'com::sun::star::ucb::ContentBroker' has not been declared > /home/openoffice/OpenOffice-2.3.1-directFB/OOG680_m9/canvas/workben/canvasdemo.cxx:672: > error: 'com::sun::star::ucb::ContentBroker' has not been declared > Right, seeing this as well. Attached patch should fix it, also fixed in CWS canvas05, but you don't want to start joining from there... Cheers, -- Thorsten
Index: canvasdemo.cxx =================================================================== RCS file: /cvs/gsl/canvas/workben/canvasdemo.cxx,v retrieving revision 1.5 diff -u -p -r1.5 canvasdemo.cxx --- canvasdemo.cxx 17 Jul 2007 14:27:02 -0000 1.5 +++ canvasdemo.cxx 11 Jun 2008 21:22:59 -0000 @@ -663,13 +663,13 @@ void DemoApp::Main() uno::Sequence< uno::Any > aArgs( 2 ); aArgs[ 0 ] <<= rtl::OUString::createFromAscii( UCB_CONFIGURATION_KEY1_LOCAL ); aArgs[ 1 ] <<= rtl::OUString::createFromAscii( UCB_CONFIGURATION_KEY2_OFFICE ); - ::ucb::ContentBroker::initialize( xFactory, aArgs ); + ::ucbhelper::ContentBroker::initialize( xFactory, aArgs ); TestWindow pWindow; pWindow.Execute(); // clean up UCB - ::ucb::ContentBroker::deinitialize(); + ::ucbhelper::ContentBroker::deinitialize(); } DemoApp aDemoApp;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]