<div dir="ltr"><div><div><div><div><br>Hi again.<br><br></div>I've been spending some more time with this, and feel I learned a little bit more. I have now tested this on several machines with several compiler versions (more or less all of them) and serveral cmake versions - all with Windows 7.<br><br></div>I can actually reproduce the successful build you linked to, but this can only be done if you do not include any of the language wrappings, like in the build you linked to. Enable any of them, and the build will break. (see attachment)<br><br></div>I suspect it must have been working in the past, but since none of them are included in your test there have been a breaking change, and none of them work anymore.<br><br></div><div>I am still trying to tweak then projects manually to build SimpleRTK with some sort of language support, but still without any luck.<br><br></div><div>best<br><br></div><div>Arvid<br></div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 4:19 PM, Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.<wbr>fr</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><div><div><div>Hi,<br></div>Sorry, I won't be able to help but I'd advise to tick on WRAP_PYTHON only at first in cmake, not the other languages (i.e., tick off WRAP_LUA).<br></div>I can't solve your problem but Kitware is going to look into an upgrade of SimpleRTK in the coming days, I'll ask them if they know what is the issue. If you look here:<br><a href="http://my.cdash.org/viewNotes.php?buildid=1052065" target="_blank">http://my.cdash.org/viewNotes.<wbr>php?buildid=1052065</a><br></div>this is a nightly build of SimpleRTK on Windows and it seems to work. I don't see why it wouldn't work for you.<span><font color="#888888"><br></font></span></div><span><font color="#888888">Simon<br></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 2:17 PM, Arvid Piehl Lauritsen Böttiger <span dir="ltr"><<a href="mailto:bottiger@gmail.com" target="_blank">bottiger@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"><div><div><div><div><div><div><div>Hi again.<br><br>I understand, but could you please help me get in contact with the person who knows something about the windows build (if any), I think there is something wrong.<br><br></div>I have been investigating the build problems I had and found that in the sub folder "SimpleRTK-build" there is a solutions file with SimpleRTK. I opened it up and found the projects which I had problems building: "SimpleRTKCommon", "SimpleRTKBasicFilters0", "SimpleRTKBasicFilters1" etc.<br><br></div>When I then tried to build SimpleRTKCommon manually it just compiled without any problems. However, when I followed up by building "SimpleRTKBasicFilters0" it gave me an error which stated that it couldn't find "SimpleRTKCommon-0.9.lib" - which I just build.<br><br></div>After some more investigation I realized that the SimpleRTKCommon is set to build a dynamic linked library (DLL), and SimpleRTKBasicFilters0 expects it to be a static linked library (LIB). After changing SimpleRTKCommon to be build as a static library - and changing the output location - I could build SimpleRTKBasicFilters0.<br><br></div>However, SimpleRTKBasicFilters0 is also build as an DLL, but changing that to a LIB as well I could build SimpleRTKBasicFilters1, then SimpleRTKBasicFilters2 and then SimpleRTKBasicFilters3. You get the point.<br><br></div>I'm unsure if the intention is to build them as static or dynamic libraries, but in any case the current build configuration doesn't work - on my setup at least.<br><br></div><div>However, I should note than for some reason the "lua5" project did build successfully out of the box. Whatever it does differently works.<br></div><div><br></div>best<span><font color="#888888"><br><br></font></span></div><span><font color="#888888">Arvid<br><div><div><div><div><br><br></div></div></div></div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 7:33 AM, Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.f<wbr>r</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<p>I'm not an msvc specialist but your first line suggests that you
have pasted only part of the log:</p>
<p>
20> Done Building Project
"C:\Users\aplb\Work\RTK\RTK1.2<wbr>-bin-vs13\SimpleRTK-build\ALL_<wbr>BUILD.vcxproj"
(default targets) -- FAILED.</p>
What you need to find out is why this build failed. If the build
fails, the linking cannot work.<br>
Cheers,<br>
Simon<div><div><br>
<br>
<div>On 19/09/2016 19:44, Arvid Piehl
Lauritsen Böttiger wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>I did a complete rebuild, and here is the end of the
output: <a href="http://pastebin.com/hvQ33WWg" target="_blank">http://pastebin.com/hvQ33WWg</a><br>
<br>
</div>
I have to admit I'm not sure what to make of it. I should
note that I'm trying to compile the version I just pulled
from git earlier today, since the other version I normally
work with is really old.<br>
<br>
</div>
best<br>
<br>
</div>
Arvid<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Sep 19, 2016 at 6:50 PM, Simon
Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.f<wbr>r</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>
<div> SimpleRTKCommon is a library generated when
compiling. Don't you have another error before that
which explains why it did not compile?<span><font color="#888888"><br>
</font></span></div>
</div>
<span><font color="#888888">Simon<br>
</font></span></div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Sep 19, 2016 at 2:30
PM, Arvid Piehl Lauritsen Böttiger <span dir="ltr"><<a href="mailto:bottiger@gmail.com" target="_blank">bottiger@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">
<div>
<div>Hi again.<br>
<br>
</div>
I've been trying to get it working. However, I
did run into some problems compiling
SimpleRTK. The main issue seems to be that it
depends on SimpleRTKCommon - which I do not
have.<br>
<br>
</div>
Here is the last few lines from VS2013<br>
<br>
> 5>LINK : fatal error LNK1181: cannot
open input file '..\..\..\lib\Debug\SimpleRTKC<wbr>ommon-0.9.lib'
[C:\Users\aplb\Work\RTK\RTK1.2<wbr>-<br>
> bin-vs13\SimpleRTK-build\Code\<wbr>IO\src\SimpleRTKIO.vcxproj]<br>
> 5> <br>
> 5> 0 Warning(s)<br>
> 5> 2 Error(s)<br>
> 5> <br>
> 5> Time Elapsed 00:00:25.26<br>
> ========== Build: 4 succeeded, 1 failed, 0
up-to-date, 0 skipped ==========<br>
<div><br>
</div>
<div>I'm not quite sure what is going on,
because the only reference I can find to
SimpleRTKCommon is the CMakeLists.txt on
github: <a href="https://github.com/SimonRit/RTK/blob/master/utilities/SimpleRTK/CMakeLists.txt" target="_blank">https://github.com/SimonRit/RT<wbr>K/blob/master/utilities/Simple<wbr>RTK/CMakeLists.txt</a><br>
<br>
</div>
<div>best<span><font color="#888888"><br>
<br>
</font></span></div>
<span><font color="#888888">
<div>Arvid<br>
</div>
</font></span>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Sep 19,
2016 at 11:19 AM, Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.f<wbr>r</a>></span>
wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div dir="ltr">
<div>The latest MacOS. It's nice if
you can test it on other
platforms, I'll try to run it on
Linux but I have to upgrade matlab
first (I think python calls are
available starting with Matlab
2014).<span><font color="#888888"><br>
</font></span></div>
<span><font color="#888888">Simon<br>
</font></span></div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon,
Sep 19, 2016 at 11:14 AM,
Arvid Piehl Lauritsen Böttiger
<span dir="ltr"><<a href="mailto:bottiger@gmail.com" target="_blank">bottiger@gmail.com</a>></span>
wrote:<br>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div dir="ltr">
<div>
<div>
<div>
<div>Dear Simon<br>
<br>
</div>
This look very
interesting! Which
platform did you
successfully execute
this on?<br>
</div>
I will give it a try
at once (on windows)
and let you know if I
run into any problems.<br>
<br>
</div>
best<br>
<br>
</div>
Arvid<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div>On Mon, Sep 19,
2016 at 11:05 AM,
Simon Rit <span dir="ltr"><<a href="mailto:simon.rit@creatis.insa-lyon.fr" target="_blank">simon.rit@creatis.insa-lyon.f<wbr>r</a>></span>
wrote:<br>
</div>
</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">
<div>
<div>
<div dir="ltr">
<div>
<div>
<div>Dear RTK
users,<br>
</div>
I have quickly
tested calling
the SimpleRTK
python lib
from Matlab
and it seems
to work well:<br>
<a href="http://wiki.openrtk.org/index.php/SimpleRTK#Matlab" target="_blank">http://wiki.openrtk.org/index.<wbr>php/SimpleRTK#Matlab</a><br>
</div>
Therefore, I
don't think we
have to work
on Matlab
wrappings but
let us know if
you think
otherwise.<br>
</div>
<div>Future
works include
a simple
installation
mechanism for
pre-compiled
SimpleRTK
libraries.
We'll keep you
posted!<span><font color="#888888"><br>
</font></span></div>
<span><font color="#888888">Simon<br>
</font></span></div>
<br>
</div>
</div>
______________________________<wbr>_________________<br>
Rtk-users mailing list<br>
<a href="mailto:Rtk-users@public.kitware.com" target="_blank">Rtk-users@public.kitware.com</a><br>
<a rel="noreferrer" href="http://public.kitware.com/mailman/listinfo/rtk-users" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/rtk-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>