hi Yves,

     thanks, after update the zlib, now I can build gimias code using
csnake.
 Now I would like to know how to write plugin code:

after I add some widget such as button and edit box using wxglade,
how can I add a botton down function for the control?
and where do I write the code for the processor?
is there an example for this?

regards,



2012/5/21 Yves Martelli <[email protected]>

> Alex,****
>
> For Zlib, you can just checkout this folder by doing an update on it. No
> nezed to checkout everything again.****
>
> For you errors, as you noticed, gimias is missing some files (third
> parties, plugins, resources) that it is looking for in the bin folder. This
> is the purpose of the csnake ‘Install Files to Build Folder’ button. Every
> csnake project defines the files that it needs to be copied in the bin
> folders (debug and release) and when pressing this button, csnake does it.
> ****
>
> You get this grey window because no plugin have been loaded. Once you have
> done the copy with csnake, when running gimias you will be able to choose
> some plugin the in the edit>preference window and after applying you should
> have everything running.****
>
> Good luck,****
>
> Yves****
>
> ** **
>
> *From:* Zhijun Zhang [mailto:[email protected]]
> *Sent:* lunes, 21 de mayo de 2012 10:54
> *To:* Yves Martelli
> *Subject:* Re: [Gimias-developers] help about the plugin****
>
> ** **
>
> hi Yves:  ****
>
> ** **
>
>     Thank you for your help.  I checked the Zlib directory in ****
>
> GIMIAS_1_4_2\thirdParty\ZLIB there is only a .svn file in my svn check
> out. ****
>
> So it seems I need checkout the code again. ****
>
>
>      I have tried to use the GIMIAS1.3.0 with CSNAKE2.4.2 to build the
> GIMIAS source. ****
>
> The build of the third party code and the gimias code is successful. ****
>
> However, when I click on the gimias.exe, there are some complaints: ****
>
> first about the third party dlls, I copyed them to the gimias.exe folder,
> ****
>
> then it complains about the xerces-c_3_0.dll, I copy it to the gimias.exe
> folder too.****
>
> ** **
>
> then there is again complain dialog saying:****
>
> an unexpected error occured when loading a plugin****
>
> that plugin will not be loaded, plugin-was:  ****
>
>
> ..GIMIAS_1_3_0/build/bin/debug/plugins/SignalViewerPlugin/lib/debug/SignalViewerPlugin.dll
> ****
>
> Missing dlls: MITKPLUGIN.DLL, KERNEL32.dll****
>
> I pressed ok, then another similar dialog pop up****
>
> saying the NeuroToolsPlugin.dll missing dills  MITKPLUGIN.DLL, KERNEL32.dll
> ****
>
> then I pressed ok, there is the another dialog saying ****
>
> can not load image from file ****
>
> GIMIAS1_3_0\Build\bin\debug\resource\Icon32.png file does not exist.****
>
> after pressing ok, ****
>
> ** **
>
> when the gimias main windows comes out, there is a complain dialog saying:
> ****
>
> 'couldn't add an image to image list. '****
>
> if I click the detail button in the dialog, there seems many image files
> in the resource can not be found. ****
>
> ** **
>
> when finally it goes to the sceneview and sandbox plugin tabs, ****
>
> the working area for either of them is one grey window instead of the 4
> black views. ****
>
> and the toolbox button is not complete, only part of them is visible.****
>
>  ****
>
> I do not know how to make gimias.exe work correctly. ****
>
> Please give me some suggestion. ****
>
> Thank you very much. ****
>
> ** **
>
> regards,****
>
> Alex****
>
> ** **
>
> ** **
>
> 2012/5/21 Yves Martelli <[email protected]>****
>
> Hi Alex,****
>
> This error means that csnake cannot find the third party module called
> ZLIB. This is a third party library that is included in gimias under the
> thirdParty folder.****
>
> So either you do not have the folder or its path has not been given to
> csnake (it needs to be set in the Third Party folders section of the
> context tab).****
>
> If this is not the problem, could you send me either a snapshot of the
> context tab or the *.CSnakeGUI file in which you save your configuration.*
> ***
>
> Best,****
>
> Yves****
>
>  ****
>
>  ****
>
> *From:* Zhijun Zhang [mailto:[email protected]]
> *Sent:* sábado, 19 de mayo de 2012 9:37
> *To:* [email protected]; [email protected]
> *Subject:* [Gimias-developers] help about the plugin****
>
>  ****
>
> hi Xavi and Yves, ****
>
>  ****
>
>     Thank you for your help.  ****
>
>      Following my problem,  I have installed the csnake 2.5 version. ****
>
> but now I still have problem, I have added the gimias1.4.2 source
> directory together with ****
>
> my plugin directory in the csnake 'root folders' blanks, and I have set up
> the directories for ****
>
> the compiler, python and cmake, then I choose the csnake file for my
> plugin, and press the ****
>
> update, now the Csnake pops a dialog says " stopped exception in process.
> no module named csnZLIB'. ****
>
>  ****
>
> I have tried to build the gimias source as described in the User manual
> 1.2.0, it gives the same ****
>
> complain dialog info.  I copy the info here: ****
>
>  ****
>
> Working, patience please...****
>
> Action: Update List Of Targets.****
>
> Traceback (most recent call last):****
>
>   File "csnGUI.py", line 966, in DoActions****
>
>   File "csnGUI.py", line 893, in ActionUpdateListOfTargets****
>
>   File "csnGUIHandler.pyc", line 301, in GetListOfPossibleTargets****
>
>   File "csnGUIHandler.pyc", line 137, in __GetProjectModule****
>
>   File "csnUtility.pyc", line 106, in LoadModule****
>
>   File "D:/zjzhang/work/gimiasApp/gimiasApp_src\csngimiasApp.py", line 8,
> in <module>****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/src\csnGIMIASDef.py", line 108, in
> CreateGimiasApp****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/src\Apps\Gimias\csnGIMIAS.py",
> line 20, in <module>****
>
>   File "csnAPIImplementation.pyc", line 145, in AddProjects****
>
>   File "csnAPIImplementation.pyc", line 96, in _UnwrapProject****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/src\csnGIMIASDef.py", line 148, in
> gmCoreLight****
>
>   File
> "D:/zjzhang/Library/GIMIAS_1_4_2/src\Apps\Gimias\csnGMCoreLight.py", line
> 14, in <module>****
>
>   File "csnAPIImplementation.pyc", line 145, in AddProjects****
>
>   File "csnAPIImplementation.pyc", line 96, in _UnwrapProject****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/src\csnGIMIASDef.py", line 112, in
> gmCommonObjects****
>
>   File
> "D:/zjzhang/Library/GIMIAS_1_4_2/src\Apps\Gimias\Core\CommonObjects\csnGMCommonObjects.py",
> line 11, in <module>****
>
>   File "csnAPIImplementation.pyc", line 145, in AddProjects****
>
>   File "csnAPIImplementation.pyc", line 96, in _UnwrapProject****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/src\csnToolkitOpen.py", line 60,
> in baseLib****
>
>   File
> "D:/zjzhang/Library/GIMIAS_1_4_2/src\Modules\BaseLib\csnBaseLib.py", line
> 56, in <module>****
>
>   File "csnAPIImplementation.pyc", line 145, in AddProjects****
>
>   File "csnAPIImplementation.pyc", line 96, in _UnwrapProject****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/src\csnToolkitOpen.py", line 34,
> in cgns****
>
>   File "csnAPIImplementation.pyc", line 639, in LoadThirdPartyModule****
>
>   File "csnProject.pyc", line 62, in LoadThirdPartyModule****
>
>   File "csnUtility.pyc", line 119, in LoadModules****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/thirdParty/CGNS\csnCGNS.py", line
> 8, in <module>****
>
>   File "csnAPIImplementation.pyc", line 145, in AddProjects****
>
>   File "csnAPIImplementation.pyc", line 96, in _UnwrapProject****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/src\csnGIMIASDef.py", line 34, in
> hdf5****
>
>   File "csnAPIImplementation.pyc", line 639, in LoadThirdPartyModule****
>
>   File "csnProject.pyc", line 62, in LoadThirdPartyModule****
>
>   File "csnUtility.pyc", line 119, in LoadModules****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/thirdParty/HDF5\csnHDF5.py", line
> 8, in <module>****
>
>   File "csnAPIImplementation.pyc", line 145, in AddProjects****
>
>   File "csnAPIImplementation.pyc", line 96, in _UnwrapProject****
>
>   File "D:/zjzhang/Library/GIMIAS_1_4_2/src\csnGIMIASDef.py", line 10, in
> zlib****
>
>   File "csnAPIImplementation.pyc", line 639, in LoadThirdPartyModule****
>
>   File "csnProject.pyc", line 62, in LoadThirdPartyModule****
>
>   File "csnUtility.pyc", line 119, in LoadModules****
>
> ImportError: No module named csnZLIB****
>
>  ****
>
> Done (3mn 46.83s).****
>
>  ****
>
> I would like to know how to do ?  Thank you very much. ****
>
>  ****
>
> regards,****
>
> Alex****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>  ****
>
>     ****
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Gimias-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gimias-developers****
>
> ** **
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers

Reply via email to