<html><head></head><body>You didn't answer my points b and c, only a.<br><br><div class="gmail_quote">Am 19. Oktober 2015 18:45:25 MESZ, schrieb Owen Alanzo Hogarth <gurenchan@gmail.com>:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">this is not an in source build.<div><br /></div><div>to do matrix vector multiplication matrix module needs to have access to the vector class.</div><div><br /></div><div><br /></div><div>I'll add the source code for these modules here: <a href="http://pastebin.com/aj01ycRQ">http://pastebin.com/aj01ycRQ</a></div><div><br /></div><div>I think the structure should be a little clearer with all that I've provided.</div><div>This is the previous link to the cmake folder structure and cmakelists.txt files: <a href="http://pastebin.com/BnVTnegP" rel="noreferrer" target="_blank" style="font-size:12.8px">http://pastebin.com/BnVTnegP</a></div><div><br /></div></div><div class="gmail_extra"><br /><div class="gmail_quote">On Tue, Oct 20, 2015 at 12:33 AM, Hendrik Sattler <span dir="ltr"><<a href="mailto:post@hendrik-sattler.de" target="_blank">post@hendrik-sattler.de</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px
#ccc solid;padding-left:1ex"><span class=""><br />
<br />
Am 19. Oktober 2015 17:33:55 MESZ, schrieb Owen Alanzo Hogarth <<a href="mailto:gurenchan@gmail.com">gurenchan@gmail.com</a>>:<br />
>This is the entire project as it stands right now. I have tried<br />
>changing<br />
>from using relative to more absolute directory names in my project but<br />
>I<br />
>still get the same build errors.<br />
><br />
>This pastebin has all the relevant code: <a href="http://pastebin.com/BnVTnegP" rel="noreferrer" target="_blank">http://pastebin.com/BnVTnegP</a><br />
<br />
</span>a.<br />
You user in-source build, don't do that.<br />
<br />
b.<br />
You have the vector3 target defined in the matrix4 folder and vice versa? Why?<br />
<br />
c.<br />
Because of b. the targets are defined in wrong order. That's why he tries to find a library that is not present.<br />
<div><div class="h5"><br />
>Anyone can see anything wrong with this?<br />
><br />
>On Mon, Oct 19, 2015 at 10:11 PM, Pascal Bach <<a href="mailto:pascal.bach@siemens.com">pascal.bach@siemens.com</a>><br />
>wrote:<br />
><br />
>> Hello<br />
>><br />
>> I'm working on CMake support for Apache Thrift [1].<br />
>> It is currently already buildable using CMake. However while trying<br />
>to add<br />
>> support for generating a ThriftConfig.cmake I ran into some issues<br />
>> related to cross compilation.<br />
>><br />
>> Thrift has the following components relevant to the problem:<br />
>><br />
>> C++ library (.so library)<br />
>> Thrift compiler (binary)<br />
>><br />
>> End users/developers usually us thrift in the following way:<br />
>> Thrift IDL ==[Thrift compiler]==> C++ files ==[GCC + Link with<br />
>> thrift.so]==> final.so<br />
>><br />
>> My idea for the resulting ThriftConfig.cmake was to provide two<br />
>imported<br />
>> targets Thrift::libthrift and Thrift::compiler.<br />
>> Thrift::compiler can be used to generate C++ files from Thrift IDLs<br />
>and<br />
>> Thrift::libthrift is what the resulting binary should link against.<br />
>> This works well if no cross compilation is involved.<br />
>><br />
>><br />
>> Now for the cross compilation case. I'm using OpenEmbedded [2] which<br />
>> provides two sysroot directories:<br />
>> 1. sysroot_x86 containing binaries and libraries for the host:<br />
>> libthrift.so (x86 library), thrift (x86 executable)<br />
>> 2. sysroot_arm containing binaries and libraries for the target:<br />
>> libthrift.so (arm library), thrift (arm executable)<br />
>><br />
>> In the cross compiling case the Thrift::compiler target must be<br />
>executable<br />
>> on the HOST and Thrift::libthrift must be a target library.<br />
>> This means the library should be from sysroot_arm but the binary from<br />
>> sysroot_x86.<br />
>> I'm not able express this an a good way.<br />
>><br />
>> Does anyone know how to do this? Is there an example how this could<br />
>be<br />
>> done?<br />
>><br />
>> Thanks for your help.<br />
>><br />
>> Regards<br />
>> Pascal<br />
>><br />
>><br />
>> [1] <a href="http://thrift.apache.org/" rel="noreferrer" target="_blank">http://thrift.apache.org/</a><br />
>> [2] <a href="http://www.openembedded.org/wiki/Main_Page" rel="noreferrer" target="_blank">http://www.openembedded.org/wiki/Main_Page</a><br />
>> --<br />
>><br />
>> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br />
>><br />
>> Please keep messages on-topic and check the CMake FAQ at:<br />
>> <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br />
>><br />
>> Kitware offers various services to support the CMake community. For<br />
>more<br />
>> information on each offering, please visit:<br />
>><br />
>> CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br />
>> CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br />
>> CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br />
>><br />
>> Visit other Kitware open-source projects at<br />
>> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br />
>><br />
>> Follow this link to subscribe/unsubscribe:<br />
>> <a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br />
>><br />
><br />
><br />
</div></div>>------------------------------------------------------------------------<br />
<div class="HOEnZb"><div class="h5"><br />
--<br />
<br />
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br />
<br />
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br />
<br />
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br />
<br />
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br />
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br />
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br />
<br />
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br />
<br />
Follow this link to subscribe/unsubscribe:<br />
<a href="http://public.kitware.com/mailman/listinfo/cmake" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/cmake</a><br />
</div></div></blockquote></div><br /></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail">-- <br /><br />Powered by <a href="http://www.kitware.com">www.kitware.com</a><br /><br />Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ">http://www.cmake.org/Wiki/CMake_FAQ</a><br /><br />Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br /><br />CMake Support: <a href="http://cmake.org/cmake/help/support.html">http://cmake.org/cmake/help/support.html</a><br />CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html">http://cmake.org/cmake/help/consulting.html</a><br />CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html">http://cmake.org/cmake/help/training.html</a><br /><br />Visit other Kitware open-source projects at <a
href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br /><br />Follow this link to subscribe/unsubscribe:<br /><a href="http://public.kitware.com/mailman/listinfo/cmake">http://public.kitware.com/mailman/listinfo/cmake</a></pre></blockquote></div></body></html>