I do not exactly know what my error was but suddenly it workes... (I made
exactly the same i think...)
Tnaks
________________________________
Von: Goch Caspar Jonas [mailto:[email protected]]
Gesendet: Mittwoch, 7. Juli 2010 11:01
An: Lodron, Gerald; Zelzer Sascha
Cc: '[email protected]'
Betreff: AW: [mitk-users] Making an Application using OpenCherry
Hi Gerald,
as Sascha is currently on a conference I tried to reproduce your problem.
Following the instructions of the plug-in page worked fine for me, so I will
just write down what I did:
I created a tmp directory in my home and within that I created a foo and a bar
directory, let foo be our source and bar be our binary tree.
Checkout MITK, to mitk-source build mitk to mitk-binary.
Start cmake-gui and select mitk-source/Build/Tools/BundleGenerator as source
and ~/tmp/foo as binary directory
->Configure
CUSTOM_PROJECT_NAME = Test
PLUGIN_ID = a.b.c
PLUGIN_NAME = abc
->Configure
->Configure
->Generate
Close cmake, start cmake-gui again and select ~/tmp/foo/Generated/Test as
source and ~/tmp/bar as binary
->Configure
Set QT (if not found) and configure again
MITK_DIR is set to mitk-binary (not mitk-source)
->Configure
->Generate
Could you post the whole cmake log this generates (if it still fails)?
Best regards,
Caspar
Von: Lodron, Gerald [mailto:[email protected]]
Gesendet: Mittwoch, 7. Juli 2010 08:45
An: Zelzer Sascha
Cc: '[email protected]'
Betreff: Re: [mitk-users] Making an Application using OpenCherry
Ok, forgive me my further questions but this is all really new for me:
- I already have the latest MITK checkout (i hope you meant MITK and not the
original openCherry/blueBerry)
- I made the step "Windows" without complications or warnings
- I made the step "All" without complications or warnigns, i used
Custom_Project_Name, Plugin_ID and PLUGIN_NAME and left REQUIRED_PLUGINS and
ACTIVATOR_CLASS empty
- Now i am in the "Integrating your new plugin" part:
I have the following file structure in my source dictionary:
- ALL_BUILD.vcproj
- cmake_install.cmake
- CMakeCache.txt
- MITKBundleGenerator.sln
- ZERO_CHECK.vcproj
- CMakeFiles
--> blabla
- Generated
-->CMakeFiles
---->blabla
-->MyProjApp
---->CMakeLists.txt
---->MyProjApp.cpp
---->MyProjApp.ini
---->startMyProjApp.bat.in
---->startVS2008.bat.in
---->Bundles
------>CmakeLists.txt
------>my.project.core
-------->blabla
That seems to look ok, but shouldn't i delete the VisualStudio stuff (it is
the soursce dict and not a bin dict)??
Now i created a new dictionary in Generated:
-->MyProjApp2
An set the MyProjApp as source and MyProjApp2 as bin directory in CMake. I set
QT, Poco, MITK and GDCM Library correctly. Also a BUILD_my.project.core
checkbox is selected. I get following error in CMake:
CMake Error at
D:/develop/Source/mitk/BlueBerry/CMake/MacroParseManifest.cmake:57 (STRING):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
D:/develop/Source/mitk/BlueBerry/CMake/MacroCollectPlugins.cmake:115
(MACRO_PARSE_MANIFEST)
Bundles/CMakeLists.txt:3 (MACRO_COLLECT_PLUGINS)
CMake Error at
D:/develop/Source/mitk/BlueBerry/CMake/MacroParseManifest.cmake:57 (STRING):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
D:/develop/Source/mitk/BlueBerry/CMake/MacroCollectPlugins.cmake:115
(MACRO_PARSE_MANIFEST)
Bundles/CMakeLists.txt:3 (MACRO_COLLECT_PLUGINS)
Any suggestions? I think i did everything like on
http://docs.mitk.org/nightly-qt4/NewPluginPage.html.
Foregive me my
________________________________
Von: Sascha Zelzer [mailto:[email protected]]
Gesendet: Dienstag, 6. Juli 2010 17:59
An: [email protected]
Betreff: Re: [mitk-users] Making an Application using OpenCherry
Hi,
if you want to use the application framework BlueBerry (formerly named
openCherry), I strongly advise you to use a current SVN checkout. The name
change happened a couple of months ago and since then a couple of (critical)
bugs have been fixed too. I am happy to answer any questions concerning a
recent checkout (you will have much more fun with the up-to-date codebase
anyway, especially since it will "soon" be labeled as version 1.0).
For a start, have a look at http://docs.mitk.org/nightly-qt4/NewPluginPage.html
and pay attention to the "CUSTOM_PROJECT_EXECUTABLE" CMake variable. Filling in
a value will generate a project stub for you.
For more information, please read http://www.mitk.org/wiki/BlueBerry
If you really need the openCherry documentation from MITK 0.14, you can
generate it yourself by installing doxygen and executing the "openCherryDoc"
target (in VisualStudio or with make).
Best,
Sascha
On 07/06/2010 04:56 PM, Lodron, Gerald wrote:
Hi
I am already able to use MITK as toolkit and now want to make my own
application (also using Cherry) like MainAppExt. I already saw different help
topics for creating new plugins and functionalities but no Applications....
(and the OpenCherry documentation link on the MITK page fails).
Can anybody explain me the workflow how to import that OpenCherry stuff into a
new Application?
best regards
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users