Hi
I want add a own lib and some code to libreoffice but get a error.
here is my lib and file,and I want add them to app part in desktop modlue.
/core/desktop/source/app/accelerate.hxx
/core/desktop/source/app/accelerate.cxx
core/solver/unxlngi6.pro/lib/acceleratelo.so
Then I modfiy these file:
Library_sofficeapp.mk: add $(eval $(call
gb_Library_use_libraries,sofficeapp,accelerate))
$(eval $(call
gb_Library_add_exception_objects,sofficeapp,/core/desktop/source/app/accelerate))
Repository.mk: add$ (eval $(call
gb_Helper_register_libraries_for_install,OOOLIBS,OOO, accelerate))
Then I run make desktop, the result is all right.
But When I try to call some function in accelerate.hxx from
/core/desktop/source/app/main.c
add it get error that :main.c:(.text.startup+0x51): undefined reference to
`accelerate_init'
collect2: error: ld returned 1 exit status
make[1]: *** [/home/bo/workspace/zlibreo
the function definition of accelerate_init is just in accelerate.cxx.
--
View this message in context:
http://nabble.documentfoundation.org/How-to-add-a-additional-libraries-and-files-tp4054526.html
Sent from the Dev mailing list archive at Nabble.com.
Context
- How to add a additional libraries and files · B.O.Z
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.