Octave 3.2.0 mingw jhandles

View: New views
6 Messages — Rating Filter:   Alert me  

Octave 3.2.0 mingw jhandles

by Karl M :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All...

With Octave 3.0.3 (MSVC) I had installed the jhandles (on XP and Vista) option and the graphics performance was greatly improved. With 3.0.5 and 3.2.0 (mingw) that option was not available.

Even on a fast machine, mesh(1:255, 1:255, rand(255, 255)) takes forever.

Is it possible with 3.2.0 to use jhandles?

Otherwise, will it be possible anytime soon?

Can jhandles show the 2D cursor position as gnuplot does?

Thanks,

...Karl

Re: Octave 3.2.0 mingw jhandles

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

Logically it is possible but I cannot show you the way what should be done to use the Jhandles.

Perhaps Michael can reply to your inquiry.

Please wait for a while.

Regards

Tatsuro
 
--- Karl M wrote:

>
> Hi All...
>
> With Octave 3.0.3 (MSVC) I had installed the jhandles (on XP and Vista)
> option and the graphics performance was greatly improved. With 3.0.5 and
> 3.2.0 (mingw) that option was not available.
>
> Even on a fast machine, mesh(1:255, 1:255, rand(255, 255)) takes forever.
>
> Is it possible with 3.2.0 to use jhandles?
>
> Otherwise, will it be possible anytime soon?
>
> Can jhandles show the 2D cursor position as gnuplot does?
>
> Thanks,
>
> ...Karl
> --
> View this message in context:
> http://www.nabble.com/Octave-3.2.0-mingw-jhandles-tp24024734p24024734.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>


--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: Octave 3.2.0 mingw jhandles

by Michael Goffioul-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

To install JHandles, you'll need to have the required dependencies
installed, and make them available to the compiler. In practice:
- install octave-forge java package
- install Sun JDK (>= 1.6)
- install JOGL
- put JOGL DLL and jar files into your PATH environment variable
- define JAVA_INCS variable to include the JDK include directory,
that is something like (note that having spaces in the JDK install
dir will make things a little more complex, as you'll have to escape
the space with backslashes)

-IC:/where/java/is/installed/include -IC:/where/java/is/installed/include/win32

- try to install JHandles with "pkg" command

Michael.


2009/6/15 Tatsuro MATSUOKA <tmacchant@...>:

> Hello
>
> Logically it is possible but I cannot show you the way what should be done to use the Jhandles.
>
> Perhaps Michael can reply to your inquiry.
>
> Please wait for a while.
>
> Regards
>
> Tatsuro
>
> --- Karl M wrote:
>
>>
>> Hi All...
>>
>> With Octave 3.0.3 (MSVC) I had installed the jhandles (on XP and Vista)
>> option and the graphics performance was greatly improved. With 3.0.5 and
>> 3.2.0 (mingw) that option was not available.
>>
>> Even on a fast machine, mesh(1:255, 1:255, rand(255, 255)) takes forever.
>>
>> Is it possible with 3.2.0 to use jhandles?
>>
>> Otherwise, will it be possible anytime soon?
>>
>> Can jhandles show the 2D cursor position as gnuplot does?
>>
>> Thanks,
>>
>> ...Karl
>> --
>> View this message in context:
>> http://www.nabble.com/Octave-3.2.0-mingw-jhandles-tp24024734p24024734.html
>> Sent from the Octave - General mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Help-octave mailing list
>> Help-octave@...
>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>>
>
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: Octave 3.2.0 mingw jhandles

by Karl M :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi...

Is it possible to include this in future versions of the mingw installer?

Thanks,

...Karl
Michael Goffioul-2 wrote:
To install JHandles, you'll need to have the required dependencies
installed, and make them available to the compiler. In practice:
- install octave-forge java package
- install Sun JDK (>= 1.6)
- install JOGL
- put JOGL DLL and jar files into your PATH environment variable
- define JAVA_INCS variable to include the JDK include directory,
that is something like (note that having spaces in the JDK install
dir will make things a little more complex, as you'll have to escape
the space with backslashes)

-IC:/where/java/is/installed/include -IC:/where/java/is/installed/include/win32

- try to install JHandles with "pkg" command

Michael.


2009/6/15 Tatsuro MATSUOKA <tmacchant@yahoo.co.jp>:
> Hello
>
> Logically it is possible but I cannot show you the way what should be done to use the Jhandles.
>
> Perhaps Michael can reply to your inquiry.
>
> Please wait for a while.
>
> Regards
>
> Tatsuro
>
> --- Karl M wrote:
>
>>
>> Hi All...
>>
>> With Octave 3.0.3 (MSVC) I had installed the jhandles (on XP and Vista)
>> option and the graphics performance was greatly improved. With 3.0.5 and
>> 3.2.0 (mingw) that option was not available.
>>
>> Even on a fast machine, mesh(1:255, 1:255, rand(255, 255)) takes forever.
>>
>> Is it possible with 3.2.0 to use jhandles?
>>
>> Otherwise, will it be possible anytime soon?
>>
>> Can jhandles show the 2D cursor position as gnuplot does?
>>
>> Thanks,
>>
>> ...Karl
>> --
>> View this message in context:
>> http://www.nabble.com/Octave-3.2.0-mingw-jhandles-tp24024734p24024734.html
>> Sent from the Octave - General mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Help-octave mailing list
>> Help-octave@octave.org
>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>>
>
>
> --------------------------------------
> Power up the Internet with Yahoo! Toolbar.
> http://pr.mail.yahoo.co.jp/toolbar/
>
_______________________________________________
Help-octave mailing list
Help-octave@octave.org
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: Octave 3.2.0 mingw jhandles

by Tatsuro MATSUOKA-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello

The maintainer of mingw relasese, Benjamin Lindner, decide what packages are included.

Regards

Tatsuro

--- Karl M  wrote:

>
> Hi...
>
> Is it possible to include this in future versions of the mingw installer?
>
> Thanks,
>
> ...Karl
>
> Michael Goffioul-2 wrote:
> >
> > To install JHandles, you'll need to have the required dependencies
> > installed, and make them available to the compiler. In practice:
> > - install octave-forge java package
> > - install Sun JDK (>= 1.6)
> > - install JOGL
> > - put JOGL DLL and jar files into your PATH environment variable
> > - define JAVA_INCS variable to include the JDK include directory,
> > that is something like (note that having spaces in the JDK install
> > dir will make things a little more complex, as you'll have to escape
> > the space with backslashes)
> >
> > -IC:/where/java/is/installed/include
> > -IC:/where/java/is/installed/include/win32
> >
> > - try to install JHandles with "pkg" command
> >
> > Michael.
> >
> >
> > 2009/6/15 Tatsuro MATSUOKA <tmacchant@...>:
> >> Hello
> >>
> >> Logically it is possible but I cannot show you the way what should be
> >> done to use the Jhandles.
> >>
> >> Perhaps Michael can reply to your inquiry.
> >>
> >> Please wait for a while.
> >>
> >> Regards
> >>
> >> Tatsuro
> >>
> >> --- Karl M wrote:
> >>
> >>>
> >>> Hi All...
> >>>
> >>> With Octave 3.0.3 (MSVC) I had installed the jhandles (on XP and Vista)
> >>> option and the graphics performance was greatly improved. With 3.0.5 and
> >>> 3.2.0 (mingw) that option was not available.
> >>>
> >>> Even on a fast machine, mesh(1:255, 1:255, rand(255, 255)) takes
> >>> forever.
> >>>
> >>> Is it possible with 3.2.0 to use jhandles?
> >>>
> >>> Otherwise, will it be possible anytime soon?
> >>>
> >>> Can jhandles show the 2D cursor position as gnuplot does?
> >>>
> >>> Thanks,
> >>>
> >>> ...Karl
> >>> --
> >>> View this message in context:
> >>> http://www.nabble.com/Octave-3.2.0-mingw-jhandles-tp24024734p24024734.html
> >>> Sent from the Octave - General mailing list archive at Nabble.com.
> >>>
> >>> _______________________________________________
> >>> Help-octave mailing list
> >>> Help-octave@...
> >>> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> >>>
> >>
> >>
> >> --------------------------------------
> >> Power up the Internet with Yahoo! Toolbar.
> >> http://pr.mail.yahoo.co.jp/toolbar/
> >>
> > _______________________________________________
> > Help-octave mailing list
> > Help-octave@...
> > https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Octave-3.2.0-mingw-jhandles-tp24024734p24042092.html
> Sent from the Octave - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Help-octave mailing list
> Help-octave@...
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
>


--------------------------------------
Power up the Internet with Yahoo! Toolbar.
http://pr.mail.yahoo.co.jp/toolbar/
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

Re: Octave 3.2.0 mingw jhandles

by Karl M :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi...

I tried to install the java package after installing jdk6u14 and jogl and the following is the output.

To install JHandles, you'll need to have the required dependencies
installed, and make them available to the compiler. In practice:
- install octave-forge java package
- install Sun JDK (>= 1.6)
- install JOGL
- put JOGL DLL and jar files into your PATH environment variable
- define JAVA_INCS variable to include the JDK include directory,
that is something like (note that having spaces in the JDK install
dir will make things a little more complex, as you'll have to escape
the space with backslashes)

-IC:/where/java/is/installed/include -IC:/where/java/is/installed/include/win32

- try to install JHandles with "pkg" command

Michael.

> pkg install java-1.2.6.tar.gz
__java__.cc: In member function 'void JVMArgs::read_java_opts(const std::string&)':
__java__.cc:106: error: 'cerr' is not a member of 'std'
__java__.cc: In member function 'void JVMArgs::update()':
__java__.cc:137: error: 'cout' is not a member of 'std'
__java__.cc: In function 'void initialize_jvm()':
__java__.cc:384: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In function '_jobject* make_java_index(JNIEnv*, const octave_value_list&)':
__java__.cc:587: error: 'class idx_vector' has no member named 'capacity'
__java__.cc:589: error: 'class idx_vector' has no member named 'capacity'
__java__.cc: In function 'octave_value get_array_elements(JNIEnv*, _jobject*, const octave_value_list&)':
__java__.cc:611: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In function 'octave_value set_array_elements(JNIEnv*, _jobject*, const octave_value_list&, const octave_value&)':
__java__.cc:633: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In function 'string_vector get_invoke_list(JNIEnv*, _jobject*)':
__java__.cc:679: error: 'class string_vector' has no member named 'qsort'
__java__.cc: In function 'octave_value box(JNIEnv*, _jobject*, _jclass*)':
__java__.cc:782: warning: deprecated conversion from string constant to 'char*'
__java__.cc:847: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In function 'octave_value box_more(JNIEnv*, _jobject*, _jclass*)':
__java__.cc:926: warning: unused variable 'cols'
__java__.cc: In function 'int unbox(JNIEnv*, const octave_value&, jobject_ref&, jclass_ref&)':
__java__.cc:987: warning: deprecated conversion from string constant to 'char*'
__java__.cc:1051: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In function 'int java_event_hook()':
__java__.cc:1116: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In member function 'octave_value octave_java::do_java_invoke(JNIEnv*, const std::string&, const octave_value_list&)':
__java__.cc:1695: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In static member function 'static octave_value octave_java::do_java_invoke(JNIEnv*, const std::string&, const std::string&, const octave_
value_list&)':
__java__.cc:1720: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In static member function 'static octave_value octave_java::do_java_create(JNIEnv*, const std::string&, const octave_value_list&)':
__java__.cc:1745: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In member function 'octave_value octave_java::do_java_get(JNIEnv*, const std::string&)':
__java__.cc:1766: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In static member function 'static octave_value octave_java::do_java_get(JNIEnv*, const std::string&, const std::string&)':
__java__.cc:1786: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In member function 'octave_value octave_java::do_java_set(JNIEnv*, const std::string&, const octave_value&)':
__java__.cc:1812: warning: deprecated conversion from string constant to 'char*'
__java__.cc: In static member function 'static octave_value octave_java::do_java_set(JNIEnv*, const std::string&, const std::string&, const octave_val
ue&)':
__java__.cc:1834: warning: deprecated conversion from string constant to 'char*'
mingw32-g++-4.3.0-dw2: __java__.o: No such file or directory
make: *** [__java__.oct] Error 1
'make' returned the following error: make: Entering directory `/tmp/oct-2/java-1.2.6/src'
if [ "XX" = "XX" ]; then \
                mkoctfile -DHAVE_OCTAVE_32 -v -DJAVAPKG_BUILD -IC:/Program\ Files/java/include -IC:/Program\ Files/java/include/win32 -o __java__.oct
__java__.cc -ladvapi32; \
        else \
                mkoctfile -DHAVE_OCTAVE_32 -v -DJAVAPKG_BUILD -DJAVA_ARCH=\\\"\\\" -DJAVA_HOME=\\\"\\\" -IC:/Program\ Files/java/include -IC:/Program\
 Files/java/include/win32 -o __java__.oct __java__.cc -ladvapi32; \
        fi
mingw32-g++-4.3.0-dw2 -c -march=i686 -mtune=generic -O2   -Ic:\Octave\include\octave-3.2.0 -Ic:\Octave\include\octave-3.2.0\octave -Ic:\Octave\include
 -mieee-fp  -D_DLL -Wall   "-IC:/Program Files/java/include" "-IC:/Program Files/java/include/win32"  -DHAVE_OCTAVE_32 -DJAVAPKG_BUILD __java__.cc -o
__java__.o
mingw32-g++-4.3.0-dw2 -shared -Wl,--export-all-symbols -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc -shared-libgcc -Wl,--exclude-libs=-l
stdc++_s -Wl,--allow-multiple-definition  -o __java__.oct  __java__.o   -ladvapi32 -Lc:\Octave\lib\octave-3.2.0 -Lc:\Octave\lib -loctinterp -loctave
-lcruft -shared-libgcc -Wl,--exclude-libs=-lstdc++_s -Wl,--allow-multiple-definition -llapack -lblas -lfftw3 -lfftw3f -lreadline  -lncurses -liberty -
lblas -lhdf5 -lz -lm  -lgdi32 -lws2_32 -luser32 -lkernel32 -lgfortran -lstdc++_s
make: Leaving directory `/tmp/oct-2/java-1.2.6/src'
error: called from `pkg>configure_make' in file C:\Octave\share\octave\3.2.0\m\pkg\pkg.m near line 1255, column 2
error: called from:
error:   C:\Octave\share\octave\3.2.0\m\pkg\pkg.m at line 714, column 5
error:   C:\Octave\share\octave\3.2.0\m\pkg\pkg.m at line 287, column 7
octave:1:C:\
>

Thanks,

...Karl