[crystal:tickets] #23 Configure marks CEGUI as missing

pyramid via crystal-tracker <[email protected]> Sat, 02 Sep 2017 17:25:05 +0000
Newsgroups gmane.comp.graphics.crystalspace.tracker
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============6206085420961362399==
Content-Type: multipart/related;
 boundary="===============7357671944245259844=="

This is a multi-part message in MIME format.
--===============7357671944245259844==
Content-Type: multipart/alternative;
 boundary="===============0685563749981935205=="
MIME-Version: 1.0

--===============0685563749981935205==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit




---

** [tickets:#23] Configure marks CEGUI as missing**

**Status:** open
**Milestone:** 2.2 release
**Created:** Sat Sep 02, 2017 05:25 PM UTC by pyramid
**Last Updated:** Sat Sep 02, 2017 05:25 PM UTC
**Owner:** nobody


I tried to compile CS with CEGUI (both, with system package, and self compiled).

./configure returns the following output:
~~~
> ./configure
...
checking if pkg-config recognizes CEGUI... yes
checking for CEGUI-config... no
checking if pkg-config recognizes CEGUIBase... no
checking for CEGUIBase-config... no
checking for libCEGUI... no
...
Missing
  cegui                (gui)
~~~

Although CEGUI (version 0.8.7) is available on the system (/usr/lib64/pkgconfig/CEGUI-0.pc).
~~~
> pkg-config --modversion CEGUI-0
0.8.7
> pkg-config --libs CEGUI-0
-L/usr/local/lib64 -lCEGUIBase-0
> ll /usr/lib64/libCEGUIBase*
lrwxrwxrwx 1 root root      19 Aug  5 19:43 /usr/lib64/libCEGUIBase-0.so -> libCEGUIBase-0.so.2
lrwxrwxrwx 1 root root      23 Aug  5 19:43 /usr/lib64/libCEGUIBase-0.so.2 -> libCEGUIBase-0.so.2.4.2
-rw-r--r-- 1 root root 5305920 Aug  5 19:42 /usr/lib64/libCEGUIBase-0.so.2.4.2
lrwxrwxrwx 1 root root      23 Sep  2 18:17 /usr/lib64/libCEGUIBase.so -> libCEGUIBase-0.so.2.4.2
lrwxrwxrwx 1 root root      23 Sep  2 18:17 /usr/lib64/libCEGUIBase.so.2 -> libCEGUIBase-0.so.2.4.2
~~~

The same happens when compiling with "--with-CEGUI" option pointing to my cegui source and compile dir.

Consequently, I do get some compile errors, though not sure if the y are related to the missing CEGUI (I would open a new issue if not):
~~~
> jam -j3 -aq libs plugins cs-config
...
LinkPlugin engine.so 
LinkPlugin vfs.so 
ObjTagMetaData vfs.so 
DoSplitDebugInfo vfs.so 
C++ ./out/linux/optimize/plugins/font/server/csfont/csfont.o 
./out/linux/optimize/plugins/engine/3d/engine.o: In function `csEngine::CreateBlackTexture(char const*, int, int, csColor*, int)':
/data/transfer/planeshift/cs/plugins/engine/3d/engine.cpp:2262: warning: undefined reference to `non-virtual thunk to csImageBase::SetName(char const*)'
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ./out/linux/optimize/plugins/engine/3d/engine.o: relocation R_X86_64_PC32 against undefined symbol `_ZThn24_N11csImageBase7SetNameEPKc' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
...
...failed LinkPlugin engine.so ...
LinkPlugin engseq.so 
ObjTagMetaData engseq.so 
DoSplitDebugInfo engseq.so 
LinkPlugin csfont.so 
ObjTagMetaData csfont.so 
DoSplitDebugInfo csfont.so 
...failed updating 1 target(s)...
~~~



---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/crystal/tickets/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/crystal/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
--===============0685563749981935205==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><hr/>
<p><strong> <a class="alink" href="https://sourceforge.net/p/crystal/tickets/23/">[tickets:#23]</a> Configure marks CEGUI as missing</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Milestone:</strong> 2.2 release<br/>
<strong>Created:</strong> Sat Sep 02, 2017 05:25 PM UTC by pyramid<br/>
<strong>Last Updated:</strong> Sat Sep 02, 2017 05:25 PM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>I tried to compile CS with CEGUI (both, with system package, and self compiled).</p>
<p>./configure returns the following output:</p>
<div class="codehilite"><pre>&gt; ./configure
...
checking if pkg-config recognizes CEGUI... yes
checking for CEGUI-config... no
checking if pkg-config recognizes CEGUIBase... no
checking for CEGUIBase-config... no
checking for libCEGUI... no
...
Missing
  cegui                (gui)
</pre></div>


<p>Although CEGUI (version 0.8.7) is available on the system (/usr/lib64/pkgconfig/CEGUI-0.pc).</p>
<div class="codehilite"><pre>&gt; pkg-config --modversion CEGUI-0
0.8.7
&gt; pkg-config --libs CEGUI-0
-L/usr/local/lib64 -lCEGUIBase-0
&gt; ll /usr/lib64/libCEGUIBase*
lrwxrwxrwx 1 root root      19 Aug  5 19:43 /usr/lib64/libCEGUIBase-0.so -&gt; libCEGUIBase-0.so.2
lrwxrwxrwx 1 root root      23 Aug  5 19:43 /usr/lib64/libCEGUIBase-0.so.2 -&gt; libCEGUIBase-0.so.2.4.2
-rw-r--r-- 1 root root 5305920 Aug  5 19:42 /usr/lib64/libCEGUIBase-0.so.2.4.2
lrwxrwxrwx 1 root root      23 Sep  2 18:17 /usr/lib64/libCEGUIBase.so -&gt; libCEGUIBase-0.so.2.4.2
lrwxrwxrwx 1 root root      23 Sep  2 18:17 /usr/lib64/libCEGUIBase.so.2 -&gt; libCEGUIBase-0.so.2.4.2
</pre></div>


<p>The same happens when compiling with "--with-CEGUI" option pointing to my cegui source and compile dir.</p>
<p>Consequently, I do get some compile errors, though not sure if the y are related to the missing CEGUI (I would open a new issue if not):</p>
<div class="codehilite"><pre><span class="o">&gt;</span> <span class="nx">jam</span> <span class="o">-</span><span class="nx">j3</span> <span class="o">-</span><span class="nx">aq</span> <span class="nx">libs</span> <span class="nx">plugins</span> <span class="nx">cs</span><span class="o">-</span><span class="nx">config</span>
<span class="p">...</span>
<span class="nx">LinkPlugin</span> <span class="nx">engine</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">LinkPlugin</span> <span class="nx">vfs</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">ObjTagMetaData</span> <span class="nx">vfs</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">DoSplitDebugInfo</span> <span class="nx">vfs</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">C</span><span class="o">++</span> <span class="p">.</span><span class="o">/</span><span class="nx">out</span><span class="o">/</span><span class="nx">linux</span><span class="o">/</span><span class="nx">optimize</span><span class="o">/</span><span class="nx">plugins</span><span class="o">/</span><span class="nx">font</span><span class="o">/</span><span class="nx">server</span><span class="o">/</span><span class="nx">csfont</span><span class="o">/</span><span class="nx">csfont</span><span class="p">.</span><span class="nx">o</span> 
<span class="p">.</span><span class="o">/</span><span class="nx">out</span><span class="o">/</span><span class="nx">linux</span><span class="o">/</span><span class="nx">optimize</span><span class="o">/</span><span class="nx">plugins</span><span class="o">/</span><span class="nx">engine</span><span class="o">/</span><span class="mi">3</span><span class="nx">d</span><span class="o">/</span><span class="nx">engine</span><span class="p">.</span><span class="nx">o</span><span class="o">:</span> <span class="nx">In</span> <span class="kd">function</span> <span class="err">`</span><span class="nx">csEngine</span><span class="o">::</span><span class="nx">CreateBlackTexture</span><span class="p">(</span><span class="kr">char</span> <span class="kr">const</span><span class="o">*</span><span class="p
 ">,</span> <span class="kr">int</span><span class="p">,</span> <span class="kr">int</span><span class="p">,</span> <span class="nx">csColor</span><span class="o">*</span><span class="p">,</span> <span class="kr">int</span><span class="p">)</span><span class="s1">':</span>
<span class="s1">/data/transfer/planeshift/cs/plugins/engine/3d/engine.cpp:2262: warning: undefined reference to `non-virtual thunk to csImageBase::SetName(char const*)'</span>
<span class="err">/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ./out/linux/optimize/plugins/engine/3d/engine.o: relocation R_X86_64_PC32 against undefined symbol `_ZThn24_N11csImageBase7SetNameEPKc' can not be used when making a shared object; recompile with -fPIC</span>
<span class="err">/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: final link failed: Bad value</span>
<span class="nx">collect2</span><span class="o">:</span> <span class="nx">error</span><span class="o">:</span> <span class="nx">ld</span> <span class="nx">returned</span> <span class="mi">1</span> <span class="nx">exit</span> <span class="nx">status</span>
<span class="p">...</span>
<span class="p">...</span><span class="nx">failed</span> <span class="nx">LinkPlugin</span> <span class="nx">engine</span><span class="p">.</span><span class="nx">so</span> <span class="p">...</span>
<span class="nx">LinkPlugin</span> <span class="nx">engseq</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">ObjTagMetaData</span> <span class="nx">engseq</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">DoSplitDebugInfo</span> <span class="nx">engseq</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">LinkPlugin</span> <span class="nx">csfont</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">ObjTagMetaData</span> <span class="nx">csfont</span><span class="p">.</span><span class="nx">so</span> 
<span class="nx">DoSplitDebugInfo</span> <span class="nx">csfont</span><span class="p">.</span><span class="nx">so</span> 
<span class="p">...</span><span class="nx">failed</span> <span class="nx">updating</span> <span class="mi">1</span> <span class="nx">target</span><span class="p">(</span><span class="nx">s</span><span class="p">)...</span>
</pre></div>


<hr/>
<p>Sent from sourceforge.net because [email protected] is subscribed to <a href="https://sourceforge.net/p/crystal/tickets/">https://sourceforge.net/p/crystal/tickets/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/crystal/admin/tickets/options.">https://sourceforge.net/p/crystal/admin/tickets/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>
--===============0685563749981935205==--
--===============7357671944245259844==--


--===============6206085420961362399==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============6206085420961362399==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
crystal-tracker mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-tracker

--===============6206085420961362399==--