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.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to