PixInsight Forum (historical)
Software Development => PCL and PJSR Development => Topic started by: Juan Conejero on 2009 April 20 14:12:23
-
Hi all,
I have written a sample PixInsight module. It is just the C++ source code for the "skeleton" of a module implementing a process and an interface with five process parameters of various types. This module is an ideal starting point for PixInsight/PCL module development. It's here:
http://pteam.pixinsight.com/Sample.zip
For now, the zip file has makefiles for Linux generated with Eclipse. I'll update it with a Visual C++ 2008 project and makefiles for Mac OS X.
Enjoy!
-
We love you guy ;). Let's see if this new attack vector works better for me.
-
OK, I was able to compile the sample. PI doesn't like it very much when I click on the module after it has been found by the import process. An error dialog pops up. As long as I don't click on it and simply press 'import' the module appears.
I guess now I'll try to figure out how to debug a module. In other words how do I break on a module line when PI calls it.
-
Oh, that's cool. You can attach VC++ to PixInsight and put break points in your code. I had to add a lot of break points before I finally hit one but the important thing is that it works.
-
Hello,
where can I find the sample module? The link gives an 404 error.
Best
Kai
-
where can I find the sample module? The link gives an 404 error.
It's was SandBox. Look PCL package in distribution.
-
Thank you! After renaming the classes and the returned module name it compiles and runs within PI.
Best
Kai