[Rtk-users] SimpleRTK + Matlab

Simon Rit simon.rit at creatis.insa-lyon.fr
Tue Sep 20 10:19:20 EDT 2016


Hi,
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).
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:
http://my.cdash.org/viewNotes.php?buildid=1052065
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.
Simon

On Tue, Sep 20, 2016 at 2:17 PM, Arvid Piehl Lauritsen Böttiger <
bottiger at gmail.com> wrote:

> Hi again.
>
> 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.
>
> 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.
>
> 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.
>
> 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.
>
> 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.
>
> 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.
>
> However, I should note than for some reason the "lua5" project did build
> successfully out of the box. Whatever it does differently works.
>
> best
>
> Arvid
>
>
>
> On Tue, Sep 20, 2016 at 7:33 AM, Simon Rit <simon.rit at creatis.insa-lyon.fr
> > wrote:
>
>> I'm not an msvc specialist but your first line suggests that you have
>> pasted only part of the log:
>>
>> 20>  Done Building Project "C:\Users\aplb\Work\RTK\RTK1.2
>> -bin-vs13\SimpleRTK-build\ALL_BUILD.vcxproj" (default targets) -- FAILED.
>> What you need to find out is why this build failed. If the build fails,
>> the linking cannot work.
>> Cheers,
>> Simon
>>
>>
>> On 19/09/2016 19:44, Arvid Piehl Lauritsen Böttiger wrote:
>>
>> I did a complete rebuild, and here is the end of the output:
>> http://pastebin.com/hvQ33WWg
>>
>> 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.
>>
>> best
>>
>> Arvid
>>
>> On Mon, Sep 19, 2016 at 6:50 PM, Simon Rit <simon.rit at creatis.insa-lyon.f
>> r> wrote:
>>
>>> SimpleRTKCommon is a library generated when compiling. Don't you have
>>> another error before that which explains why it did not compile?
>>> Simon
>>>
>>> On Mon, Sep 19, 2016 at 2:30 PM, Arvid Piehl Lauritsen Böttiger <
>>> bottiger at gmail.com> wrote:
>>>
>>>> Hi again.
>>>>
>>>> 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.
>>>>
>>>> Here is the last few lines from VS2013
>>>>
>>>> > 5>LINK : fatal error LNK1181: cannot open input file
>>>> '..\..\..\lib\Debug\SimpleRTKCommon-0.9.lib'
>>>> [C:\Users\aplb\Work\RTK\RTK1.2-
>>>> > bin-vs13\SimpleRTK-build\Code\IO\src\SimpleRTKIO.vcxproj]
>>>> > 5>
>>>> > 5>      0 Warning(s)
>>>> > 5>      2 Error(s)
>>>> > 5>
>>>> > 5>  Time Elapsed 00:00:25.26
>>>> > ========== Build: 4 succeeded, 1 failed, 0 up-to-date, 0 skipped
>>>> ==========
>>>>
>>>> I'm not quite sure what is going on, because the only reference I can
>>>> find to SimpleRTKCommon is the CMakeLists.txt on github:
>>>> https://github.com/SimonRit/RTK/blob/master/utilities/Simple
>>>> RTK/CMakeLists.txt
>>>>
>>>> best
>>>>
>>>> Arvid
>>>>
>>>> On Mon, Sep 19, 2016 at 11:19 AM, Simon Rit <
>>>> simon.rit at creatis.insa-lyon.fr> wrote:
>>>>
>>>>> 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).
>>>>> Simon
>>>>>
>>>>> On Mon, Sep 19, 2016 at 11:14 AM, Arvid Piehl Lauritsen Böttiger <
>>>>> bottiger at gmail.com> wrote:
>>>>>
>>>>>> Dear Simon
>>>>>>
>>>>>> This look very interesting! Which platform did you successfully
>>>>>> execute this on?
>>>>>> I will give it a try at once (on windows) and let you know if I run
>>>>>> into any problems.
>>>>>>
>>>>>> best
>>>>>>
>>>>>> Arvid
>>>>>>
>>>>>> On Mon, Sep 19, 2016 at 11:05 AM, Simon Rit <
>>>>>> simon.rit at creatis.insa-lyon.fr> wrote:
>>>>>>
>>>>>>> Dear RTK users,
>>>>>>> I have quickly tested calling the SimpleRTK python lib from Matlab
>>>>>>> and it seems to work well:
>>>>>>> http://wiki.openrtk.org/index.php/SimpleRTK#Matlab
>>>>>>> Therefore, I don't think we have to work on Matlab wrappings but let
>>>>>>> us know if you think otherwise.
>>>>>>> Future works include a simple installation mechanism for
>>>>>>> pre-compiled SimpleRTK libraries. We'll keep you posted!
>>>>>>> Simon
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Rtk-users mailing list
>>>>>>> Rtk-users at public.kitware.com
>>>>>>> http://public.kitware.com/mailman/listinfo/rtk-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/rtk-users/attachments/20160920/1645a371/attachment-0010.html>


More information about the Rtk-users mailing list