Hi Diptig and welcome, As xcos use Scilab, you have to load all the scilab libraries if you want to extend it. The ScilabWithinEclipse wiki page explicit that by *connecting* into a running scilab instead of launching a new Scilab process.
When starting a simulation or when double-clicking a block, you need to have a running Scilab to perform any computation. Regards, -- Clément Le lundi 11 avril 2016 à 00:08 -0700, diptig a écrit : > hi, > > I am trying to debug Scilab source code using Eclipse by following this > link: https://wiki.scilab.org/ScilabWithinEclipse > My system specification : > Windows 10 (64 bit) > Eclipse Mars > JDK 1.7 > Scilab Source code : 5.2.2 > > I have created a java class TestXcos to run xcos as follow: > public class TestXcos { > public static void main(String[] args) { > // TODO Auto-generated method stub > Xcos.xcos(null, null); > } > } > > When I run this file as java application/ debug it as java application , > then I'm able to get a xcos palatte window and a new blank window, but when > I am executing Xcos example file ( eg. Command.zxos from demo folder present > in xcos module of Scilab source code) the application crashes with following > error: > > > # A fatal error has been detected by the Java Runtime Environment: > # > # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000b5ae1c5, > pid=9240, tid=16068 > # > # JRE version: Java(TM) SE Runtime Environment (7.0_79-b15) (build > 1.7.0_79-b15) > # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.79-b02 mixed mode > windows-amd64 compressed oops) > # Problematic frame: > # C [api_scilab.dll+0x7e1c5] > # > # Failed to write core dump. Minidumps are not enabled by default on client > versions of Windows > # > # An error report file with more information is saved as: > # C:\Users\Admin\workspace\xcos\hs_err_pid9240.log > # > # If you would like to submit a bug report, please visit: > # http://bugreport.java.com/bugreport/crash.jsp > # The crash happened outside the Java Virtual Machine in native code. > # See problematic frame for where to report the bug. > > > Please help me resolve this > Thanks in advance > > > > > > -- > View this message in context: > http://mailinglists.scilab.org/Debugging-Scilab-s-Xcos-module-on-ecl > ipse-get-crash-with-error-Minidumps-tp4033957.html > Sent from the Scilab developers - Mailing Lists Archives mailing list archive > at Nabble.com. > _______________________________________________ > dev mailing list > [email protected] > http://lists.scilab.org/mailman/listinfo/dev _______________________________________________ dev mailing list [email protected] http://lists.scilab.org/mailman/listinfo/dev
