Hi Sascha,

Thank you very much for your help.
In order to use the org.mitk.gui.qt.pointsetinteraction plug-in from MITK in
my application, I followed your instructions and got some run time errors as
followed:

12.92 blueberry.osgi.intPltfm ERROR: Failed to install:
file:///C:/MITK-superbuild/MITK-build/bin/plugins/Debug/liborg_mitk_core_services.dll,
Failed to install plugin: Plugin with same symbolic name and version is
already
installed (org.mitk.core.services, 1.0.0)
  Caused by: Plugin with same symbolic name and version is already installed
(org.mitk.core.services, 1.0.0)
"Trying to install file:"
"/C:/MITK-superbuild/MITK-build/bin/plugins/Debug/liborg_mitk_gui_common.dll"
14.86 blueberry.osgi.intPltfm ERROR: Failed to install:
file:///C:/MITK-superbui
ld/MITK-build/bin/plugins/Debug/liborg_mitk_gui_common.dll,
Failed to install plugin: Plugin with same symbolic name and version is
already
installed (org.mitk.gui.common, 1.0.0)
  Caused by: Plugin with same symbolic name and version is already installed
(org.mitk.gui.common, 1.0.0)
"Trying to install file:"
"/C:/MITK-superbuild/MITK-build/bin/plugins/Debug/liborg_mitk_gui_qt_common.dll"
17.28 blueberry.osgi.intPltfm ERROR: Failed to install:
file:///C:/MITK-superbui
ld/MITK-build/bin/plugins/Debug/liborg_mitk_gui_qt_common.dll,
Failed to install plugin: Plugin with same symbolic name and version is
already
installed (org.mitk.gui.qt.common, 1.0.0)
  Caused by: Plugin with same symbolic name and version is already installed
(org.mitk.gui.qt.common, 1.0.0)
"Trying to install file:"
"/C:/MITK-superbuild/MITK-build/bin/plugins/Debug/liborg_mitk_gui_qt_application.dll"
19.72 blueberry.osgi.intPltfm ERROR: Failed to install:
file:///C:/MITK-superbuild/MITK-build/bin/plugins/Debug/liborg_mitk_gui_qt_application.dll,
Failed to install plugin: Plugin with same symbolic name and version is
already installed (org.mitk.gui.qt.application, 1.0.0)
  Caused by: Plugin with same symbolic name and version is already installed
(org.mitk.gui.qt.application, 1.0.0)
"Trying to install file:"
"/C:/MITK-superbuild/MITK-build/bin/plugins/Debug/liborg_mitk_core_ext.dll"


What should I do in order to fix that?
Thanks,
Miri

On Wed, Aug 31, 2011 at 11:27 PM, Sascha Zelzer <[email protected]
> wrote:

> **
> Hi,
>
> I can not fully comprehend what you did, but it does not look correct.
>
> You need to change the CMake configuration of MITK itself, not of your own
> project. As I said, use as "binary directory" in the CMake GUI the
> <...>/MITK-superbuild/MITK-build directory and you will get all the
> MITK_BUILD_org... options. Enable the
> MITK_BUILD_org.mitk.gui.qt.pointsetinteraction option and build MITK. Then
> build your own project.
>
> - Sascha
>
>
> On 08/31/2011 12:31 PM, Miri Trope wrote:
>
>  Hi Sascha,
>
> On Wed, Aug 31, 2011 at 12:32 AM, Sascha Zelzer <
> [email protected]> wrote:
> You must explicitly enable it in the CMake configuration of MITK (point the
> CMake GUI to your MITK-superbuild/MITK-build directory) and build MITK
> (again, use the MITK.sln file in the MITK-superbuild/MITK-build directory).
>
> I enabled it in the CMake configuration by adding the entry MITK_DIR with
> the path you specified (MITK-superbuild/MITK-build) while in the source code
> I inserted:MITK_ProjectTemplate, and built it with the solution file. But I
> didn't see the "PointSet Interaction" View in my application. I also think
> that some basic instructions would be helpful in my case ...
> I hope that I mentioned that I want to add only that specified plugin (not
> all MITK's plugins) to my application which already contains my plugins.
>
> I hope that it helps make my question clearer.
> Miri
>
> On Wed, Aug 31, 2011 at 12:32 AM, Sascha Zelzer <
> [email protected]> wrote:
>
>>  Hi Miri,
>>
>> you can just "use" the org.mitk.gui.qt.pointsetinteraction plug-in from
>> MITK in your application. You must explicitly enable it in the CMake
>> configuration of MITK (point the CMake GUI to your
>> MITK-superbuild/MITK-build directory) and build MITK (again, use the
>> MITK.sln file in the MITK-superbuild/MITK-build directory). The "PointSet
>> Interaction" View should then show up in your application. No need to copy
>> source files.
>>
>> Alternatively, you could integrate the QmitkPointListWidget in your own
>> View, if you want.
>>
>> Best,
>>  Sascha
>>
>>
>> On 08/29/2011 10:20 AM, Miri Trope wrote:
>>
>>
>> Another question in the same subject:
>> Can I use an existing Mitk's plugin to do the above (enable the user to
>> select points) by copy the existing files to my plugin directory and use his
>> functions/classes? (for example: to use org.mitk.gui.qt.pointsetinteraction
>> which in the path: C:\MITK-superbuild\MITK-build\Modules\Bundles)
>> If yes, how should I do it? in which file of those that in my tree should
>> I use in order to use an existing Mitk's plugin variables?
>>
>>
>> Many thanks,
>> Miri
>>
>>
>>
>
>
------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to