title: How to use function from another project witch are linked in Tizen native app
body: <p>I'm trying to use function from another project witch are linked. I use serviceMqtt like a service and BasicUI2 just to display content. When i get a message in serviceMqtt, I want to display on watch (BasicUI2).</p>
  
  <p>//Function in BasicUI2 project (basicui2.c)</p>
  
  <pre><code>void _label_click_count_text_set(char text[])
  {
     elm_object_text_set(detail_text2, text);
  }
  </code></pre>
  
  <p>This is code of header file in project BasicUI2 (basicui2.h)</p>
  
  <pre><code>#ifndef __basicui2_H__
  #define __basicui2_H__
  
  #include &lt;app.h&gt;
  #include &lt;Elementary.h&gt;
  #include &lt;system_settings.h&gt;
  #include &lt;efl_extension.h&gt;
  #include &lt;dlog.h&gt;
  
  #ifdef  LOG_TAG
  #undef  LOG_TAG
  #endif
  #define LOG_TAG "basicui2"
  
  #if !defined(PACKAGE)
  #define PACKAGE "org.example.basicui"
  void _label_click_count_text_set(char text[]);
  #endif
  
  #endif /* __basicui2_H__ */
  </code></pre>
  
  <p>I included this file in project ServiceMqtt, <code>#include "basicui2.h"</code>.
  Before that, I declared path BasicUI2/inc in ServiceMqtt->Properties->C/C++ General->Path and Symbols->GNU C  to use header file (basicui2.h)</p>
  
  <p>Problem:
  When i tried to use function _label_click_count_text_set(some_text); in ServiceMqtt (servicemqtt.c), I got an error:</p>
  
  <pre><code>undefined reference to `_label_click_count_text_set`
  </code></pre>
  
  <p>Question:
  How to solve this problem or how to display message received on wearable?
  <a href="https://i.stack.imgur.com/xYYhS.png" rel="nofollow noreferrer">Error message</a></p>
  
  <p><a href="https://i.stack.imgur.com/3VuoY.png" rel="nofollow noreferrer">Two linked projects</a></p>