SIP Fails to Run on Lion 10.7.3 & Java 1.6.0

baichao.li baichao.li at gmail.com
Mon Apr 16 01:26:20 CEST 2012


Hi,

I compiled and installed Scilab git version, SIP 8.0 and ImageMagic, on an
Latest updated Lion 10.7.3. 
I can run imread() to read an image, but imshow always fails with some
memory issues. 

I tried using latest gluegen and jogl, but it seems Scilab is only
compatible with joal 1.1.1 version and gluegen 1.0. 

1. After launch Scilab, I got 

Startup execution:
  loading initial environment
Warning: Feature str2code is obsolete.
Warning: Please use ascii instead.
Warning: This feature will be permanently removed in Scilab 5.4.1

Shared archive loaded.
Link done.
--------------------------------------------
SIP - Scilab Image Processing Toolbox 0.8.0-git loaded
Enter "exec(SIPDEMO);" for demonstrations.
 
Warning: Feature str2code is obsolete.
Warning: Please use ascii instead.
Warning: This feature will be permanently removed in Scilab 5.4.1

Shared archive loaded.
Link done.
--------------------------------------------
SIP - Scilab Image Processing Toolbox 0.8.0-git loaded
Enter "exec(SIPDEMO);" for demonstrations.




2. When I run exec(SIPDEMO); the error message is,

Bc-MBP:bin bchao$ scilab
/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
JavaVM: requested Java version (1.5) not available. Using Java at
"/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home" instead.
Invalid memory access of location 0x248 rip=0x1062214dc
Invalid memory access of location 0x0 rip=0x10625eb00
Invalid memory access of location 0x0 rip=0x10625eb00
Invalid memory access of location 0x0 rip=0x10625eb00
Invalid memory access of location 0x0 rip=0x10625eb00
Invalid memory access of location 0x0 rip=0x10625eb00
...

3. 
-->[a,b]=getdebuginfo() 
 b  =
 
!Scilab Version: scilab-branch-master                        !
!                                                            !
!Compilation date: Apr 13 2012                               !
!                                                            !
!Compilation time: 01:16:56                                  !
!                                                            !
!Compileur version: 4.2.1 (Based on Apple Inc. build 5658) (L!
!     LVM build 2336.9.00)                                   !
!                                                            !
!XML version: 2.7.8                                          !
!                                                            !
!Compiler Architecture: X64                                  !
 a  =
 
!Total free memory: 536784                                   !
!                                                            !
!Total memory: 4292870144                                    !
!                                                            !
!OS version: Darwin 11.3.0                                   !
!                                                            !
!SCI: /Applications/scilab.app/Contents/MacOS/share/scilab/  !
!                                                            !
!SCIHOME: /Users/lbaichao/.Scilab/scilab-branch-master       !
!                                                            !
!TMPDIR: /var/folders/g6/630dmjn96xv214k7ky563slm0000gn/T//SC!
!     I_TMP_32717_2h6U02       


someone can help me? what I am doing wrong? 

--
View this message in context: http://mailinglists.scilab.org/SIP-Fails-to-Run-on-Lion-10-7-3-Java-1-6-0-tp3913234p3913234.html
Sent from the Scilab developers - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the dev mailing list