protux-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Protux-devel] Hardware Accelerated Canvas implemented (FastCanvas.j


From: Luciano Domenico Giordana
Subject: Re: [Protux-devel] Hardware Accelerated Canvas implemented (FastCanvas.java)
Date: Thu, 20 Oct 2005 11:14:31 -0200

found it :
window - preferences - java - compiler

Compiler compliance level, change to 5.0

if 5.0 does not show, then you have to use eclipse 3.1


On 10/20/05, Luciano Domenico Giordana <address@hidden> wrote:
... and ... (hehe) to change to 1.5 .. .follow (more or less) this :

first, download 1.5 jsdk onto your machine

then go to window -> preference - > java - >installed JRE
remove any < 1.5 jre installed and add the new 1.5 downloaded
rebuild the project. the problem might solve
I remember when I started migration that I had to make something like "make workspace 1.5 compliant.." but I dont remember where... maybe clickin on one of the red balls (compilation errors) at left, that will suggest it to you (the compliance).. just select and see what happens

maybe you have to use eclipse 3.11... not sure...



On 10/20/05, Luciano Domenico Giordana < address@hidden> wrote:
are you using  1.5 ???? it is required

these erros are happening bacause I use import static clausules, which are something introduced in Java 1.5..

change to 1.5 then it will work



On 10/20/05, Reinhard Amersberger <address@hidden > wrote:
On Thu, 2005-10-20 at 09:25 -0200, Luciano Domenico Giordana wrote:
> Reinhard, I think you forgot to indicate org.protux.Main as the main
> class.
>
> Follow this
>
> Open "Run"
> select "Run ..."


ok

>
> in the dialog, at left, create a new Run configuration by clicking on
> "New". Be sure it will be created under Java Application  and not Java
> Applet or something like that

ok


>
> On the top, put a name for the configuration.. for example "Protux"
> in the middle, indicate the main class : org.protux.Main

ok

>
> leave the other tabs in standard

ok

>
> then click Run


just lots of errors:

Exception in thread "main" java.lang.Error: Unresolved compilation
problems:
        Syntax error on token "static", delete this token
        The method PMESG(int, String) is undefined for the type Protux
        The method PERROR(String) is undefined for the type Protux
        The method PERROR(String) is undefined for the type Protux
        The method PERROR(String) is undefined for the type Protux
        Syntax error on tokens, delete these tokens
        The method PMESG(int, String) is undefined for the type Protux
        The method PWARN(String) is undefined for the type Protux
        The method PWARN(String) is undefined for the type Protux
        Syntax error on tokens, delete these tokens
        The method PMESG(int, String) is undefined for the type Protux

        at org.protux.core.Protux .<init>(Protux.java:8)
        at org.protux.Main.main(Main.java:82)



> ps2 - I am using eclipse 3.11


it's 3.0.1 here

greetings
reinhard



>
>
> try
>
> On 10/20/05, Reinhard Amersberger <address@hidden> wrote:
>         hi,
>
>         don't work so far here on suse 9.3.
>
>         a pop-up window shows this message :
>         "the selction does not contain a main type"
>
>         When I choose Run/Run... via right click the Eclipse console
>         prompt this
>         error:
>         "Exception in thread "main" java.lang.NoSuchMethodError: main"
>
>         greetings
>         reinhard
>
>
>         On Wed, 2005-10-19 at 12:53 -0200, Luciano Domenico Giordana
>         wrote:
>         > Today I was able to make Lcd draw upon a hardware
>         accelerated paiting
>         > device called VolatileImage.
>         > Things became hugely faster, athought some flicks occur when
>         moving
>         > the window (which is not supposed to happen since Protux
>         aims to be
>         > run in full screen)
>         > This way I can say that one of the most critical points are
>         surpassed,
>         > find a high-performance graphic device to be used for
>         audioclips and
>         > peaks
>         > more tests are being done.
>         >
>         > Regards
>         >
>         >
>         > --
>         > Luciano Domenico Giordana
>         > Software Engineer / Java/C++ Senior Developer
>         > Project Protux : http://www.nongnu.org/protux
>         > _______________________________________________
>         > Protux-devel mailing list
>         > address@hidden
>         > http://lists.nongnu.org/mailman/listinfo/protux-devel
>
>
>
>         _______________________________________________
>         Protux-devel mailing list
>         address@hidden
>         http://lists.nongnu.org/mailman/listinfo/protux-devel
>
>
>
> --
> Luciano Domenico Giordana
> Software Engineer / Java/C++ Senior Developer
> Project Protux : http://www.nongnu.org/protux




--

Luciano Domenico Giordana
Software Engineer / Java/C++ Senior Developer
Project Protux : http://www.nongnu.org/protux



--
Luciano Domenico Giordana
Software Engineer / Java/C++ Senior Developer
Project Protux : http://www.nongnu.org/protux



--
Luciano Domenico Giordana
Software Engineer / Java/C++ Senior Developer
Project Protux : http://www.nongnu.org/protux

reply via email to

[Prev in Thread] Current Thread [Next in Thread]