Hi!
Hm still have the problem... I undid the changes in the source, again built it
with CMake, opened startVS_debug.bat and built the ALL_BUILD. So it now should
be the original, created by the MITKPluginGenerator.
I started it with debugging, and now a window appears saying
"Unhandled exception at 0x772f15de in myProjectApp.exe: 0xC0000005: Access
violation reading location 0xcdcdcddd."
It's pointing at Mutex_WIN32.h at
inline void MutexImp1::unlockImp1()
{
LeaveCriticalSection(&_cs); //<-------
}
After closing Visual Studio, starting startVS_debug.bat and debugging again, it
is pointing here at berryObject.cpp, with the same error message appearing:
void Object::Register() const
{
Poco::Mutex::ScopedLock lock(m_ReferenceCountLock);
m_ReferenceCount++;
} //<-------
Any idea what could be the mistake?
Best Regards,
Martin
________________________________
Von: Martin Tatzber <[email protected]>
An: "[email protected]" <[email protected]>
Gesendet: 14:37 Freitag, 8.Februar 2013
Betreff: [mitk-users] Tutorial Step 9
Hi!
I'm still struggling with the plugin thing.
I have now created my own project with my own plugin. I tried to work through
these steps: [1]
It worked once. I was able to load the Pic3D.nrrd and mark some points via the
plugin. There was no region grower though, but beside of that, it worked really
fine. Then I closed the application and opened it again. The Blueberry
Application window showed up, but stayed white. Then a window showed up saying
"myProjectApp.exe funktioniert nicht mehr" (I defined myProjectApp as
project-app-name)
I also have a question, which could make the problem clearer: What are the
steps, if I have a plugin and want to write my own code into it? Here is what I
did right now:
I inserted the code pieces described in [1] into the
myProject\Plugins\org.company.myplugin\src\internal\MyFirstMITKPlugin.cpp and
the MyFirstMITKPlugin.h (I have one folder "myProject" with the source files
and one folder "myProject-bin" with the binaries). Then I opened CMake and
configured and generated everything again. After this, I startet the
StartVS_debug.bat, built the ALL_BUILD and launched the project, with
myProjectApp set as StartUp Project.
I had the same problem yesterday and somehow managed to get it work again. But
again, I closed it and wanted it to open again, and the same behaviour occured.
[1] http://docs.mitk.org/nightly-qt4/Step09Page.html
Best Regards,
Martin
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users