sorry, my fault, did something wrong in renaming...

________________________________
Von: Lodron, Gerald
Gesendet: Donnerstag, 21. Juli 2011 13:14
An: 'Clarkson, Matt'
Cc: MITK ([email protected])
Betreff: AW: AW: [mitk-users] New mitk build system

hi

i compiled everything and now get following problems in the 
AwesomeApp/CmakeLists.ext at
target_link_libraries(${MY_APP_NAME} org_blueberry_osgi ${ALL_LIBRARIES})

CMake Warning (dev) at Apps/JWareApp/CMakeLists.txt:30 (target_link_libraries):

Cannot specify link libraries for target "org_blueberry_osgi" which is not

built by this project.

CMake does not support this but it used to work accidentally and is being

allowed for compatibility.

Policy CMP0016 is not set: target_link_libraries() reports error if only

argument is not a target. Run "cmake --help-policy CMP0016" for policy

details. Use the cmake_policy command to set the policy and suppress this

warning.

This warning is for project developers. Use -Wno-dev to suppress it.

D:/develop/win64-msv90-build/JWare/MITK-superbuild/MITK-build/bin/BlueBerry/../plugins/release

CMake Error at Apps/JWareApp/CMakeLists.txt:32 (target_link_libraries):

target_link_libraries called with incorrect number of arguments

CMake Error at Apps/JWareApp/CMakeLists.txt:35 (target_link_libraries):

Cannot specify link libraries for target "optimized" which is not built by

this project.



i tried using ${BLUEBERRY_PLUGINS_OUTPUT_DIR} but it links to a directory which 
does not exist...



Any hints

________________________________

Von: Clarkson, Matt [mailto:[email protected]]
Gesendet: Donnerstag, 21. Juli 2011 11:10
An: Lodron, Gerald
Cc: Clarkson, Matt
Betreff: Re: AW: [mitk-users] New mitk build system


Hi there,

i don't know exactly what you mean. Do you want to include MITK in your already 
existing project, or are you starting from scratch?

There is a recent template project which demonstrates how to start a new 
project from scratch, where you would then build out extra Modules (shared 
libraries), and Plugins.

https://github.com/MITK/MITK-ProjectTemplate/

However, as mentioned here:
http://sourceforge.net/mailarchive/forum.php?thread_name=20110720090930.233640%40gmx.net&forum_name=mitk-users

there exists a current problem, whereby you have to manually switch the MITK 
plugins back on, if you re-run the superbuild from your own external project.  
This is currently being looked at I believe.  However, in the meantime, you 
could at least get started with building your own app.

Matt

On 21 Jul 2011, at 09:53, Lodron, Gerald wrote:

thanks, my first time superbuild, seems very nice

is there a possibility and guide to make mitk as a superbuild option for my 
project?

________________________________
Von: Clarkson, Matt [mailto:[email protected]]
Gesendet: Donnerstag, 21. Juli 2011 10:41
An: Lodron, Gerald
Betreff: Re: [mitk-users] New mitk build system

Hi Gerald,

I believe you can use CMake to switch them on.

I have my source and binary folders like this:

source: MITK
superbuild binary: MITK-build
mitk build: MITK-build/MITK-build

So the first time you ran CMake, you would have had the source folder, and the 
binary folder set to be the top level MITK-build.

If you now re-run CMake, with the same source folder, but choose the 
subdirectory called MITK-build, below the super-build directory, you can then 
switch each module on.

look for flags called MITK_BUILD_org.mitk.*

You then configure, configure, generate as before, and re-build just the MITK 
project (not the whole super-build).

Thanks

Matt


On 21 Jul 2011, at 09:19, Lodron, Gerald wrote:


Hi

I updated today to the latest MITK buld system and successfully build everything

When i open the mitk.sln and start ExtApp i do not get the different bundles 
loaded (Segmentation etc), can anyone tell me how to include them?

best regards

Gerald Lodron

------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/_______________________________________________
mitk-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/mitk-users


------------------------------------------------------------------------------
5 Ways to Improve & Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to