Hi Miri,

If I understand you correctly, you need to refer to your module .h files from 
your plugin.

In the MACRO_CREATE_MITK_CTK_PLUGIN in CMakeLists.txt for the plugin, i add the 
name of the module under MODULE_DEPENDENCIES

MACRO_CREATE_MITK_CTK_PLUGIN(
  EXPORT_DIRECTIVE MYPLUGIN_EXPORTS
  EXPORTED_INCLUDE_SUFFIXES src
  MODULE_DEPENDENCIES CTK QmitkExt myModule
)

where myModule must match the project name of your module, eg.

MITK_CREATE_MODULE(myModule

I hope this helps.

Matt



On 21 Sep 2011, at 12:28, Miri Trope wrote:

Hi all,

I've tried to add some cpp files in module, but I can't manage the error:

"Compiling...
MyConnectedComponent.cpp
6>..\..\..\..\MITK_myProjects\MyProject_one\Plugins\myPlugin.ConnectedComponent\src\internal\MyConnectedComponent.cpp(30)
 : fatal error C1083: Cannot open include file: 'myFilter.h': No such file or 
directory"

The generator can make projects, but without the module library. Thus, when I 
add my files to a module library (which i added), it seems that those files 
can't be found.
In this case, my filter suppose to be operated when a button of plug-in is 
pressed.
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to