<div dir="ltr">Hi Pat,<div><br></div><div><br></div><div style>The project compiles now.</div><div style><br></div><div style>To share the information if someone else is stuck with this issue :</div><div style><br class="">
- Have a configfile in which the framework directory variable is defined,<br></div><div style>- In the Target parameters, ensure that Header Search Path & Frameworks Search Path are the same as defined in KiwiViewer Project,</div>
<div style>- In the project parameters, check that, in the information tab, the configuration file is correctly referenced.</div><div style><br></div><div style>If you face an error <tr1/memory> file not found, verify the compiler options and "compile sources as" -> "Objective C++"</div>
<div style><br></div><div style>Thanks a lot for your quick answer Pat!</div><div style><br></div><div style>Cheers,</div><div style><br></div><div style>Michael</div><div style><br></div></div><div class="gmail_extra"><br>
<br><div class="gmail_quote">On Mon, Jun 3, 2013 at 5:25 PM, Pat Marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">When you corrected the header search path, do you now get beyond the first error message you posted? Is there now a different compile error?<span class="HOEnZb"><font color="#888888"><br><br>Pat<br></font></span></div>
<div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jun 3, 2013 at 11:14 AM, Michaël Albert <span dir="ltr"><<a href="mailto:monstermick@gmail.com" target="_blank">monstermick@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Indeed, the header search path was not correct.<div><br></div><div>However, the project doesn't compile. I will create a github project later today... maybe you'll find something I'm missing.</div>
<div><br></div><div>Thanks !</div><div><br></div><div><br></div><div>Michael</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 4:20 PM, Pat Marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If you created a new Xcode project from scratch, is it possible that the new xcode project isn't reading the kiwi.xcconfig file? When you go to the target properties and look at the header search path settings, do you see the fully resolved path to the kiwi.framework/Headers directory?<span><font color="#888888"><br>
<br>Pat<br></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 10:15 AM, Michaël Albert <span dir="ltr"><<a href="mailto:monstermick@gmail.com" target="_blank">monstermick@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Pat,<div><br></div><div>Yes I've used the precompiled frameworks.</div><div><br></div><div>The Xcode example project worked properly. That why it seems so weird : just linking the libraries should work.</div>
<div>I'll create a github project and share the code (without frameworks).</div><div><br></div><div>Michael</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 4:07 PM, Pat Marion <span dir="ltr"><<a href="mailto:pat.marion@kitware.com" target="_blank">pat.marion@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Are you using the pre-compiled frameworks downloaded from <a href="http://packages.kitware.com" target="_blank">packages.kitware.com</a>? Did you try downloading and building the Xcode example project from there? Does it work for you?<br>
<br><a href="http://packages.kitware.com/packages/application/view?applicationId=14" target="_blank">http://packages.kitware.com/packages/application/view?applicationId=14</a><br><br></div>Pat<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote"><div><div>
On Mon, Jun 3, 2013 at 9:48 AM, Michaël Albert <span dir="ltr"><<a href="mailto:monstermick@gmail.com" target="_blank">monstermick@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>
<div dir="ltr">Hi All,<div><br></div><div>I try to embed Kiwiviewer in a new application created from scratch.</div><div><br></div><div>As for building Kiwiviewer, I linked the ves / kiwi / pcl frameworks to the new xcode project.</div>
<div>I reuse the KiwiCloudApp .cpp / .h files.</div><div>But there is a compilation error, when trying to read clases from the VES library :</div><div><br></div><div><div>In file included from kiwiCloudApp.cpp:21:</div><div>
./kiwiCloudApp.h:26:10: fatal error: 'vesKiwiViewerApp.h' file not found</div></div><div><div><br></div><div>I checked twice (and more) to see if I was not missing a link or something else.</div><div><br></div><div>
My thought is there is a compilation configuration somewhere that I've missed.</div><div><br></div><div>I've also created a kiwi.xcconfig file and associated to the target. It containing only </div><div>frameworks_dir = ./frameworks</div>
<div><br></div><div>But the result is the same.</div><div><br></div><div>Have you got an clue what I'm missing ?</div><div><br></div><div>thanks a lot for your help !</div><div><br></div><div>Cheers,</div><div>
<br></div><div>Michael</div></div></div>
<br></div></div>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>