Hi,

I was facing a problem with the Presentation engine so was advised to build
the test applications available in slideshow and canvass to study the
behaviour.But the applications dont seem to be building and give error as
below.

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

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&)'

2)Have added the following line to the prj/build.lst of canvas
cv      canvas\workben                                                  
nmake  -       all cv_test cv_inc NULL

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

Oh and btw am using OO 2.3.1  m9. 

Any help in resolving these errors will be off great help!!!

Thanks in advance.

Regards,
Karl


-- 
View this message in context: 
http://www.nabble.com/Urgent%3Ademo-applications-not-building-tp17783038p17783038.html
Sent from the openoffice - dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to