amirnezameddin / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
0 stars 0 forks source link

Compile error #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I and a Mageia packager try build WebcamStudio from svn repository, but 
we have a fail. The compile output is:

[filipe@localhost trunk]$ ant clean jar
Buildfile: /home/filipe/webcamstudio-read-only/trunk/build.xml

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-macrodef-javac:

-init-macrodef-junit:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

init:

-deps-clean-init:

deps-clean:
    [mkdir] Created dir: /home/filipe/webcamstudio-read-only/trunk/build

-warn-already-built-clean:
[propertyfile] Updating property file: 
/home/filipe/webcamstudio-read-only/trunk/build/built-clean.properties

-do-clean:
   [delete] Deleting directory /home/filipe/webcamstudio-read-only/trunk/build

-post-clean:

clean:

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-macrodef-javac:

-init-macrodef-junit:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

init:

-deps-jar-init:

deps-jar:
    [mkdir] Created dir: /home/filipe/webcamstudio-read-only/trunk/build

-warn-already-built-jar:
[propertyfile] Updating property file: 
/home/filipe/webcamstudio-read-only/trunk/build/built-jar.properties

-check-automatic-build:

-clean-after-automatic-build:

-verify-automatic-build:

-pre-pre-compile:
    [mkdir] Created dir: /home/filipe/webcamstudio-read-only/trunk/build/classes

-pre-compile:

-compile-depend:

-do-compile:
    [mkdir] Created dir: /home/filipe/webcamstudio-read-only/trunk/build/empty
    [javac] Compiling 504 source files to /home/filipe/webcamstudio-read-only/trunk/build/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/WebcamStudio.java:201: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultComboBoxModel
    [javac]                 model.addElement(o);
    [javac]                                 ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultComboBoxModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/WebcamStudio.java:203: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
    [javac]             cboAnimations.setModel(model);
    [javac]                                   ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class JComboBox
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:136: error: package org.netbeans.lib.awtextra does not exist
    [javac]         setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
    [javac]                                                ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:145: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(panPreview, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 120, 101));
    [javac]                                                      ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:154: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinX, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 120, 60, -1));
    [javac]                                                 ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:163: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinY, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 140, 60, -1));
    [javac]                                                 ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:172: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinW, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 200, 60, -1));
    [javac]                                                 ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:181: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinH, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 220, 60, -1));
    [javac]                                                 ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:190: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinOpacity, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 240, 60, -1));
    [javac]                                                       ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:199: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinVolume, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 260, 60, -1));
    [javac]                                                      ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:210: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(tglActiveStream, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 310, 120, -1));
    [javac]                                                           ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:219: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinZOrder, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 280, 60, -1));
    [javac]                                                      ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:225: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelX, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 120, 60, -1));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:230: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelY, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 150, 50, -1));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:235: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelW, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 210, 52, -1));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:240: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelH, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 230, 40, -1));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:245: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelO, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 250, 40, -1));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:250: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelV, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 270, 40, 9));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:255: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelZ, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 290, 30, -1));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:260: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelCW, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 170, 50, -1));
    [javac]                                                   ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:269: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinW1, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 160, 60, -1));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:274: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelCH, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 190, 60, -1));
    [javac]                                                   ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:283: error: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinH1, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 180, 60, -1));
    [javac]                                                  ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/ChannelPanel.java:30: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
    [javac]         lstChannels.setModel(model);
    [javac]                             ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class JList
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/ChannelPanel.java:164: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultListModel
    [javac]             model.addElement(name);
    [javac]                             ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:32: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultListModel
    [javac]                     listModel.addElement(se);
    [javac]                                         ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:33: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultComboBoxModel
    [javac]                     model.addElement(se);
    [javac]                                     ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultComboBoxModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:39: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultComboBoxModel
    [javac]                 model.addElement(e);
    [javac]                                 ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultComboBoxModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:42: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
    [javac]         cboEffects.setModel(model);
    [javac]                            ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class JComboBox
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:43: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
    [javac]         lstEffects.setModel(listModel);
    [javac]                            ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class JList
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:154: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultListModel
    [javac]         listModel.addElement((Effect) cboEffects.getSelectedItem());
    [javac]                             ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:186: warning: [unchecked] unchecked call to setElementAt(E,int) as a member of the raw type DefaultListModel
    [javac]                 listModel.setElementAt(selected, indexPrevious);
    [javac]                                       ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:187: warning: [unchecked] unchecked call to setElementAt(E,int) as a member of the raw type DefaultListModel
    [javac]                 listModel.setElementAt(previous, indexSelected);
    [javac]                                       ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:203: warning: [unchecked] unchecked call to setElementAt(E,int) as a member of the raw type DefaultListModel
    [javac]                 listModel.setElementAt(selected, indexNext);
    [javac]                                       ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlEffects.java:204: warning: [unchecked] unchecked call to setElementAt(E,int) as a member of the raw type DefaultListModel
    [javac]                 listModel.setElementAt(next, indexSelected);
    [javac]                                       ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlTransitions.java:30: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultListModel
    [javac]             start.addElement(s);
    [javac]                             ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlTransitions.java:34: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultListModel
    [javac]             end.addElement(s);
    [javac]                           ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultListModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlTransitions.java:36: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
    [javac]         lstStartTransitions.setModel(start);
    [javac]                                     ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class JList
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlTransitions.java:37: warning: [unchecked] unchecked call to setModel(ListModel<E>) as a member of the raw type JList
    [javac]         lstEndTransitions.setModel(end);
    [javac]                                   ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class JList
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlTransitions.java:103: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]         Object[] list = lstStartTransitions.getSelectedValues();
    [javac]                                            ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/SourceControlTransitions.java:111: warning: [deprecation] getSelectedValues() in JList has been deprecated
    [javac]         Object[] list = lstEndTransitions.getSelectedValues();
    [javac]                                          ^
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanelText.java:46: warning: [unchecked] unchecked call to addElement(E) as a member of the raw type DefaultComboBoxModel
    [javac]             model.addElement(f.getName());
    [javac]                             ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class DefaultComboBoxModel
    [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanelText.java:48: warning: [unchecked] unchecked call to setModel(ComboBoxModel<E>) as a member of the raw type JComboBox
    [javac]         cboFonts.setModel(model);
    [javac]                          ^
    [javac]   where E is a type-variable:
    [javac]     E extends Object declared in class JComboBox
    [javac] 21 errors
    [javac] 23 warnings

BUILD FAILED
/home/filipe/webcamstudio-read-only/trunk/nbproject/build-impl.xml:416: The 
following error occurred while executing this line:
/home/filipe/webcamstudio-read-only/trunk/nbproject/build-impl.xml:199: Compile 
failed; see the compiler error output for details.

Total time: 27 seconds

Original issue reported on code.google.com by filip.sa...@gmail.com on 17 Nov 2012 at 2:18

GoogleCodeExporter commented 9 years ago
Hi, I'm trying to compile with the same result as Filip.
I'm on Ubuntu Studio 12.10. Atom Machine with Ion Graphics. 
Clean Installation.
Java version "1.7.0_10"
Thanks.

Original comment by soylent...@gmail.com on 26 Dec 2012 at 8:36

GoogleCodeExporter commented 9 years ago
Hi, I try to compile removing Java 7 and switching back to Java 6:

java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.5) (6b24-1.11.5-0ubuntu1~12.10.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)

Now i don't see the warnings anymore, but errors remains.
Googling around seems it's a problem with AbsoluteLayout library but it's the 
first time i see a Java code, and I'm a newbie in compiling stuff... :(
Here's my Output:

atari:~/Scaricati/webcamstudio-read-only/trunk$ ant clean jar

Buildfile: /home/atari/Scaricati/webcamstudio-read-only/trunk/build.xml

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-macrodef-javac:

-init-macrodef-junit:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

init:

-deps-clean-init:

deps-clean:

-warn-already-built-clean:
[propertyfile] Updating property file: 
/home/atari/Scaricati/webcamstudio-read-only/trunk/build/built-clean.properties

-do-clean:
   [delete] Deleting directory /home/atari/Scaricati/webcamstudio-read-only/trunk/build

-post-clean:

clean:

-pre-init:

-init-private:

-init-user:

-init-project:

-init-macrodef-property:

-do-init:

-post-init:

-init-check:

-init-macrodef-javac:

-init-macrodef-junit:

-init-debug-args:

-init-macrodef-nbjpda:

-init-macrodef-debug:

-init-macrodef-java:

-init-presetdef-jar:

init:

-deps-jar-init:

deps-jar:
    [mkdir] Created dir: /home/atari/Scaricati/webcamstudio-read-only/trunk/build

-warn-already-built-jar:
[propertyfile] Updating property file: 
/home/atari/Scaricati/webcamstudio-read-only/trunk/build/built-jar.properties

-check-automatic-build:

-clean-after-automatic-build:

-verify-automatic-build:

-pre-pre-compile:
    [mkdir] Created dir: /home/atari/Scaricati/webcamstudio-read-only/trunk/build/classes

-pre-compile:

-compile-depend:

-do-compile:
    [mkdir] Created dir: /home/atari/Scaricati/webcamstudio-read-only/trunk/build/empty
    [javac] Compiling 504 source files to /home/atari/Scaricati/webcamstudio-read-only/trunk/build/classes
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:136: package org.netbeans.lib.awtextra does not exist
    [javac]         setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
    [javac]                                                ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:145: package org.netbeans.lib.awtextra does not exist
    [javac]         add(panPreview, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 10, 120, 101));
    [javac]                                                      ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:154: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinX, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 120, 60, -1));
    [javac]                                                 ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:163: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinY, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 140, 60, -1));
    [javac]                                                 ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:172: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinW, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 200, 60, -1));
    [javac]                                                 ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:181: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinH, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 220, 60, -1));
    [javac]                                                 ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:190: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinOpacity, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 240, 60, -1));
    [javac]                                                       ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:199: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinVolume, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 260, 60, -1));
    [javac]                                                      ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:210: package org.netbeans.lib.awtextra does not exist
    [javac]         add(tglActiveStream, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 310, 120, -1));
    [javac]                                                           ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:219: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinZOrder, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 280, 60, -1));
    [javac]                                                      ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:225: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelX, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 120, 60, -1));
    [javac]                                                  ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:230: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelY, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 150, 50, -1));
    [javac]                                                  ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:235: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelW, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 210, 52, -1));
    [javac]                                                  ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:240: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelH, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 230, 40, -1));
    [javac]                                                  ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:245: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelO, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 250, 40, -1));
    [javac]                                                  ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:250: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelV, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 270, 40, 9));
    [javac]                                                  ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:255: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelZ, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 290, 30, -1));
    [javac]                                                  ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:260: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelCW, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 170, 50, -1));
    [javac]                                                   ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:269: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinW1, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 160, 60, -1));
    [javac]                                                  ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:274: package org.netbeans.lib.awtextra does not exist
    [javac]         add(labelCH, new org.netbeans.lib.awtextra.AbsoluteConstraints(10, 190, 60, -1));
    [javac]                                                   ^
    [javac] /home/atari/Scaricati/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:283: package org.netbeans.lib.awtextra does not exist
    [javac]         add(spinH1, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 180, 60, -1));
    [javac]                                                  ^
    [javac] 21 errors

BUILD FAILED
/home/atari/Scaricati/webcamstudio-read-only/trunk/nbproject/build-impl.xml:416:
 The following error occurred while executing this line:
/home/atari/Scaricati/webcamstudio-read-only/trunk/nbproject/build-impl.xml:199:
 Compile failed; see the compiler error output for details.

Original comment by soylent...@gmail.com on 27 Dec 2012 at 11:43

GoogleCodeExporter commented 9 years ago
Hi, I successfully compile under Windows with NetbeansIDE.
This what i made:
I install Java SDK, Subversion, NetBeansIDE.
Run svn with administration privileges to grab webcamstudio dir.
Run NetBeans with administration privileges, open the directory project "Trunk" 
and compile. :)

Original comment by soylent...@gmail.com on 27 Dec 2012 at 1:34

GoogleCodeExporter commented 9 years ago
Hi, i attach my compiling results, may be useful.
Have a nice day.

Original comment by soylent...@gmail.com on 29 Dec 2012 at 7:09

GoogleCodeExporter commented 9 years ago
Hi, Testing the compiled 0.60 Alpha2 r416, i see that all seems to work well 
only at 15 fps. 
I can run Video files, Text and pictures together.
If i switch up from 15fps to higher value the reproduction hangs.
I can see this error in the terminal:

Text unregistered
gen 13, 2013 6:17:08 AM webcamstudio.mixers.MasterFrameBuilder run
SEVERE: null
java.nio.BufferUnderflowException
    at java.nio.Buffer.nextGetIndex(Buffer.java:492)
    at java.nio.ByteBufferAsShortBufferB.get(ByteBufferAsShortBufferB.java:111)
    at webcamstudio.mixers.MasterFrameBuilder.mixAudio(MasterFrameBuilder.java:93)
    at webcamstudio.mixers.MasterFrameBuilder.run(MasterFrameBuilder.java:131)
    at java.lang.Thread.run(Thread.java:722)

I'm using Ubuntu 12.10 32bit - Atom 330 - Nvidia Ion.
The error occurs on other systems too.
Hope Someone with java knowledge can take a look for this Issue.
Thanks.

Original comment by soylent...@gmail.com on 13 Jan 2013 at 5:54

GoogleCodeExporter commented 9 years ago
Hi, i successfully compiled the last version of WebcamStudio available without 
warnings or errors.
The version is WebcamStudio 0.60 Build r416
-----------------------------------------------------------------
I compile it under Windows with NetbeansIDE.
This what i made:
Install Java SDK version 6 and NetBeansIDE.

Java 6 SDK:

http://www.oracle.com/technetwork/java/javase/downloads/jdk6u38-downloads-187740
6.html

The 32 Bit version is jdk-6u38-windows-i586.exe
The 64 Bit version is jdk-6u38-windows-x64.exe

NetBeans IDE:

http://netbeans.org/downloads/start.html?platform=windows&lang=en&option=javase

Next run Netbeans IDE as administrator ( Right click end select "Run as 
Administrator").

Go in the "Team" menu -> Subversion -> Checkout

In The Repository URL, put the link:

http://webcamstudio.googlecode.com/svn/trunk

... and wait the download process.
The Webcamstudio project will appear on the left column.
Then go in the Tools menu -> Java Platform -> "Add Platform" Button.
and point to the folder:

C:\Program Files\Java\jdk1.6.0_38

Click "Next" and then "Finish".

Right click on the webcamstudio project and select "proprieties".
Go to Libraries and in the first "Java Platform" field select "JDK 1.6"

Click OK button.

The final step is to compile the WebcamStudio program:

Right click on the project and select "Clean and Build".
After that you will find the Jar file ready to lunch in the folder:

Documents\NetBeansProjects\trunk\trunk\dist\WebcamStudio.jar

Close Netbeans.

Copy to the entire "dist" folder where webcamstudio.jar is and put it on a usb 
key.
Close windows.
Lunch Ubuntustudio ;).
Connect the usb key and open the copied "dist" folder.
Right click on WebcamStudio.jar and select proprieties.
Go in permission tab and select:
Execute: Allow executing file as program
Click close.
Right click on WebcamStudio.jar again and select:
Open with -> OpenJDK java 6 RunTime.

WebcamStudio 0.60 Alpha 2 will pups UP.

I have to say that this version plays the movie very well and smoothly.
The only thing is that if i select a text or a picture to mix with movies, the 
application hangs and i have this output:

25-gen-2013 20.13.05 webcamstudio.mixers.MasterFrameBuilder run
GRAVE: null
java.nio.BufferUnderflowException
    at java.nio.Buffer.nextGetIndex(Buffer.java:472)
    at java.nio.ByteBufferAsShortBufferB.get(ByteBufferAsShortBufferB.java:93)
    at webcamstudio.mixers.MasterFrameBuilder.mixAudio(MasterFrameBuilder.java:93)
    at webcamstudio.mixers.MasterFrameBuilder.run(MasterFrameBuilder.java:131)
    at java.lang.Thread.run(Thread.java:662)

I try to find something to solve this issue, but my knowledge of Java is very 
poor :(
Anyway i will search again and again, because this software for me is very 
important ;)

If anyone have an idea because of this, and have java knowledge, please contact 
me. Thanks.

Have a nice Day !!!

Original comment by soylent...@gmail.com on 26 Jan 2013 at 12:21

GoogleCodeExporter commented 9 years ago
Ok, I found the error in line:

 [javac] /home/filipe/webcamstudio-read-only/trunk/src/webcamstudio/components/StreamPanel.java:136: error: package org.netbeans.lib.awtextra does not exist
    [javac]         setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

So, webcamstudio requires specific netbeans libs.

Original comment by filip.sa...@gmail.com on 26 Jan 2013 at 1:12

GoogleCodeExporter commented 9 years ago
Hi filip.saraiva,
 i compile WCS under Netbeans and i think you are right. Check out Patrick Balleux video on WCS compiling 0.57 here:

https://www.youtube.com/watch?v=LC0frbVDfhY

Thanks for the comment. I'm too newbie to provide you an exhaustible answer ... 

Original comment by soylent...@gmail.com on 30 Jan 2013 at 5:09

GoogleCodeExporter commented 9 years ago
Hi to all, it seems i can get rid of the "java.nio.BufferUnderflowException".
Here you can test this release. Now at 25fps you can add text and pictures 
without having WCS stops. Please let me know how it runs.
Have a nice Day.

Original comment by soylent...@gmail.com on 7 Feb 2013 at 5:16

GoogleCodeExporter commented 9 years ago
Hi to all,
 for now you can find the latest Builds of WCS 0.60 Here:

https://docs.google.com/folder/d/0BxkZ_wh6t7jbRFZzalVpNG93YW8/edit?usp=sharing

Have a nice Day.

Original comment by soylent...@gmail.com on 11 Mar 2013 at 6:24

GoogleCodeExporter commented 9 years ago
This error is because of a missing AbsoluteLayout java lib.
This is fixed now in SVN.
Please test and if there are still problems, reopen the bug

Original comment by peter.u....@gmail.com on 3 Apr 2013 at 6:46