Hi Sascha,

I'm sorry, my intent was to post to the mailing list. I'll make sure it's
correct in the future.

I'm running:
cmake version 2.8.1 (the package that comes with Ubuntu Lucid 10.04)

I am compiling BlueBerry standalone. I haven't seen any build instructions
with it other than some dependency info on the BlueBerry site. I did have to
grab mbilog from the MITK repo to get the build working and had to modify
the cmake scripts slightly (mbilog's location was not being put on the
linking library path via LINK_LIBRARIES). I also have libpoco 1.3.6
installed from Ubuntu's repo.

Thanks!

On Tue, Aug 17, 2010 at 12:04 PM, Sascha Zelzer <[email protected]
> wrote:

>  Hi Tony,
>
> I changed the mail subject and posted your question to the mitk-users list
> too, so others may benefit from our discussion. Please reply on the list.
>
> You are right that BlueBerry only works with shared libraries (due to some
> OSGi principles), so this should be the default in CMake. Which CMake
> version are you using?
>
> Are you maybe trying to compile BlueBerry standalone (not embedded in a
> MITK build)? If so, which instructions did you follow?
>
> Best,
> Sascha
>
> On 08/17/2010 04:43 PM, Tony McCrary wrote:
>
> Hi Sascha,
>
>  (Hope this is the right place for BlueBerry questions)
>
>  I'm trying to build BlueBerry on 64-bit Linux and it seems to only
> generate static libraries for the inlcuded core plugins? This causes the
> solstice runtime to fail to load the core plugins when it is executed.
>
>  I'm a CMake newbie, but I looked through the various scripts and I didn't
> see anything that used CMake to specifically generate a shared library.
>
>  Would you happen to know what I've done wrong?  If this is something to
> do with my inexperience with CMake, I apologize. :)
>
>  The runtime errors are below:
>
>  "~/workspace/BlueBerry/bin$ ./solstice
> #Tue Aug 17 10:40:27 2010
> 0.030# [BlueBerry] ERROR: Could not create Plugin activator. Did you export
> the class "berry::RuntimePlugin" ?
>   Exception displayText(): Cannot load library:
> /home/tmccrary/workspace/BlueBerry/bin/plugin_cache/liborg_blueberry_core_runtime.so:
> cannot open shared object file: No such file or directory
> #0.030# [BlueBerry] ERROR: Exception:
> /home/tmccrary/workspace/BlueBerry/bin/plugin_cache/liborg_blueberry_core_runtime.so:
> cannot open shared object file: No such file or directory
> *0.030* [BlueBerry] FATAL: No extensions configured into extension-point
> 'org.blueberry.core.runtime.applications' found. Aborting.
> #0.030# [BlueBerry] ERROR: Could not create executable application
> extension for id:
> "
> The build does have static archive versions of the above missing
> shared/dynamic libraries. Due to the dynamicism and osgi influence, I assume
> something is wrong without dyanmic libraries. I don't get any errors in the
> build though.
>
>  Thanks,
> Tony
>
> On Tue, Aug 17, 2010 at 10:35 AM, Sascha Zelzer <
> [email protected]> wrote:
>
>> Another thing: I am not an expert on state machines. You might want to
>> post your state machine questions separately.
>>
>> - Sascha
>>
>> On 08/17/2010 04:33 PM, Sascha Zelzer wrote:
>> > Hi,
>> >
>> > some tough questions here... look below for some comments.
>> >
>> > - Sascha
>> >
>> > On 08/12/2010 05:30 PM, Wagner Sales wrote:
>> >
>> >> Hi all,
>> >>
>> >> I'm thinking in start an application migration to MITK. I've read
>> >> about functionalities, did a cross-relationship requirements matrix,
>> >> tested this on ExtApp and I really see MITK a very pretty choice to do
>> >> this job.
>> >>
>> >>
>> > Nice to hear :-)
>> >
>> >> I've read the some documentation about BlueBerry, State Machine ( i've
>> >> installed the State Machine editor on my linux/eclipse box with
>> >> success ) and now I want to start my job but I'm a little bit
>> >> confused. Let me to explain my problem and questions:
>> >> 1) I'm developing an application that's are touchscreen based. Since
>> >> this, I have my own window management way, my controls are very
>> >> stylized to touch GUI ( by CSS on Qt, by theming and in some (hard)
>> >> cases by a paintEvent method reimplementation ).
>> >>       a) I want to reuse the registration, segmentation and may be
>> other
>> >> modules presented in MITK. But I think this relies in BlueBlerry, and
>> >> if I use BlueBerry I think I'll not have the same level of freedom to
>> >> stylize my application in "fancy" ways. Are some tip here? For
>> >> example: "Use BlueBerry and reimplements some parts in this way, or
>> >> stylize in other way" or "Don't use BlueBerry and create your own
>> >> interface. See this example...". Other controls that's are present in
>> >> MITK like the window/level chooser will be probably reimplemented by
>> >> specialization in some way, to change appearance and size.
>> >>
>> >>
>> > BlueBerry provides a plug-in mechanism and on top of that the
>> > "Workbench". This is the window which manages the "views" (i.e. the gui
>> > for the segmentation plug-in) and editors (i.e. the QmitkStdMultiWidget
>> > in the center). The workbench lays out these components and provides
>> > drag and drop capabilities.
>> >
>> > In your case, the layout mechanism (contained in org.blueberry.ui) is
>> > probably too restrictive for a touch based UI. Unfortunately, the views
>> > (like the Segmentation view) usually use a couple of Workbench services,
>> > hence you cannot isolate them from the workbench. You would have to
>> > write your own org.blueberry.ui plugin, which is a matter of months (if
>> > you know what you are doing).
>> >
>> > You could use all BlueBerry capabilities like services, extension
>> > points, preferences, etc. except for classes in the org.blueberry.ui
>> > plug-in. How to write applications completely without BlueBerry is
>> > covered in the tutorial:
>> http://docs.mitk.org/nightly-qt4/TutorialPage.html
>> >
>> > Since the view classes usually contain only GUI code and call methods on
>> > classes in pure MITK, you could reuse the .ui file and implement your
>> > own segmentation view by looking at the original code and working around
>> > BlueBerry specific calls. Note the nicest option, I know...
>> >
>> >
>> >> 2) Since my application are touch based, the interaction are very
>> >> different than mouse. I don't have a keyboard ( then, no way shortcuts
>> >> or use of CTRL, SHIFT, and so on ) and I don't have a mouse too, then
>> >> no wheel, third button and so on. If I need to interact in some way
>> >> that's are implemented in this way, I need to put a button to the user
>> >> to choose this interaction. For example, if the user haves to interact
>> >> with a slicer to changes the slice or to change the zoom, since aren't
>> >> a mouse, the user needs two buttons in the interface ( a dialog ) to
>> >> choose the desired interaction type.
>> >>       a) because that, are easy to think I have defined a lot of
>> >> "personalized" interactions. I've seen the state machine approach in
>> >> MITK and I really don't know if this way are the most suitable to me
>> >> in a way to define different type of interactions. Other way, off
>> >> course, are to specialize some classes to do this. Which can be a
>> >> better approach? In the first case I'll simple create and try the
>> >> interactions by using state machine definitions. But, in second case,
>> >> what's are the start point ( classes to start to read the code and
>> >> probably to change the interactions behaviour )?
>> >>
>> >> 3) I have a 3D mouse (from 3DConnexion, supporte by VTK 5.6)  and I'm
>> >> thinking in develop a virtual endoscopy module ( will be the last
>> >> module, and I think I can donate these to MITK ).
>> >>
>> >>
>> > We would happily accept any donations!
>> >
>> >>       a) another interaction issue. Here, I think I'll really need to
>> >> reimplement or create new classes to do this job and put this in a
>> >> plugin. Are some tips about a start point here?
>> >>
>> >>
>> >>
>> > The 3DConnexion mouse was already supported by the Qt3 MITK version. We
>> > recently migrated the code to the new application infrastructure and it
>> > will be available soon (also without problems in a custom Qt4
>> > application not based on BlueBerry). So no work to be done here.
>> >
>> >> Any help will be must appreciated,
>> >>
>> >> Best Regards,
>> >>
>> >> Wagner Sales
>> >>
>> >>
>> ------------------------------------------------------------------------------
>> >> This SF.net email is sponsored by
>> >>
>> >> Make an app they can't live without
>> >> Enter the BlackBerry Developer Challenge
>> >> http://p.sf.net/sfu/RIM-dev2dev
>> >> _______________________________________________
>> >> mitk-users mailing list
>> >> [email protected]
>> >> https://lists.sourceforge.net/lists/listinfo/mitk-users
>> >>
>> >>
>> >
>> >
>> ------------------------------------------------------------------------------
>> > This SF.net email is sponsored by
>> >
>> > Make an app they can't live without
>> > Enter the BlackBerry Developer Challenge
>> > http://p.sf.net/sfu/RIM-dev2dev
>> > _______________________________________________
>> > mitk-users mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/mitk-users
>> >
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by
>>
>> Make an app they can't live without
>> Enter the BlackBerry Developer Challenge
>> http://p.sf.net/sfu/RIM-dev2dev
>> _______________________________________________
>> mitk-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/mitk-users
>>
>
>
>
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to