Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index




sberg wrote
Unfortunately it's not enough to run from within a setsdkenv_unix shell, 
you also need to set up some C++ compiler command line arguments. 
Modelling your makefiles after the sdk's example/ makefiles (which 
include the SDK's settings/*.mk) would give you that, but you should 
also be able to get it working with a plain, handcrafted makefile.  LO's 
git sources contain ure/source/uretest/Makefile.pln as an example of 
doing that.  What's probably missing for you is defines

   -DCPPU_ENV=gcc3 -DLINUX -DUNX

Adding  -DCPPU_ENV=gcc3 -DLINUX -DUNX  to DEFINES actually helped to get rid
of "unknown platform" error. All other mistakes were because i accidently
forgot to remove  a specific definition while porting from windows platform.
After that i struggled for a bit with linker errors and finally was able to
compile and launch my project. Thank you very much for a good answer, really
saved me a lot of time. I would probably never figured it out by myself.




--
View this message in context: 
http://nabble.documentfoundation.org/Need-help-with-installing-setting-SDK-on-Linux-tp4199692p4199768.html
Sent from the Dev mailing list archive at Nabble.com.

Context


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.