I made a short .m file
function myOutput = multiplyByConstant(myInput, myConstant=1)
myOutput = myInput * myConstant;
And then used the provided createOctaveComponent command to make it into a .. thing
I go into the generated folder and try to run build.sh, but the build won't work.
multiplyByConstant_base.cpp:69:22: error: 'do_octave_atexit' was not declared at this scope.
I tried running grep over all the .h files I though that would matter, but the method was not exported anywhere.
I found a post here: http://octave.1599824.n4.nabble.com/exposing-do-octave-atexit-in-the-API-td4661829.html
They discuss about exposing said method.
Have I missed some crucial step? Can I replace do_octave_atexit with something else?
EDIT: I'm using:
- Ocateve 3.8.2
- REDHAWK 2.0.4