|
From: | John Donoghue |
Subject: | [Octave-bug-tracker] [bug #58957] [octave forge] (sparsersb) Failure to install and crash in function |
Date: | Wed, 23 Sep 2020 08:23:07 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36 Edg/85.0.564.51 |
Follow-up Comment #44, bug #58957 (project octave): You need something thatwill call the init function, for init fltk its handled by the graphics toolkit manager. You can do a similar load on pkg load by placing PKG_ADD statements in the sources. In addition since there are now multiple octave callable functions in the .oct file, you will need to add autlod statements for each in the source. // PKG_ADD: autoload ("__init_sparsersb__", "sparsersb.oct"); // PKG_ADD: autoload ("sparsersb", "sparsersb.oct"); // PKG_ADD: __init_sparsersb__(); That will create a PKG_ADD file when the package gets installed that will be run when the pkg is loaded. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?58957> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |