Trouble compiling OpenSceneGraph

Hi there!
In order to compile the latest FlightGear, I need to compile OpenSceneGraph. I know, it's in the repos, but that's how it goes. Now it always stops compiling after complaining during configuration:
CMake Warning at /usr/share/cmake-2.8/Modules/FindITK.cmake:48 (find_package):
Could not find a package configuration file named "ITKConfig.cmake"
provided by package "ITK".
Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
to a directory containing one of the above files. If "ITK" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:465 (FIND_PACKAGE)
I've been looking and searching all over the web, but I can't find any "itk"-package! (Or sdk for that matter!)
What is it and where can I find it?
Very grateful for any hints!
Edit:
Maybe this is useful info too:
[ 61%] Building CXX object src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/ReaderWriterGIF.o
/media/FG/git/OpenSceneGraph/src/osgPlugins/gif/ReaderWriterGIF.cpp: In Funktion »unsigned char* simage_gif_load(std::istream&, int*, int*, int*, GifImageStream**)«:
/media/FG/git/OpenSceneGraph/src/osgPlugins/gif/ReaderWriterGIF.cpp:373:44: Fehler: zu wenige Argumente für Funktion »GifFileType* DGifOpen(void*, InputFunc, int*)«
giffile = DGifOpen(&fin,gif_read_stream);
^
In file included from /media/FG/git/OpenSceneGraph/src/osgPlugins/gif/ReaderWriterGIF.cpp:53:0:
/usr/include/gif_lib.h:181:14: Anmerkung: hier deklariert
GifFileType *DGifOpen(void *userPtr, InputFunc readFunc, int *Error); /* new one (TVT) */
^
src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/build.make:57: recipe for target 'src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/ReaderWriterGIF.o' failed
make[2]: *** [src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/ReaderWriterGIF.o] Error 1
CMakeFiles/Makefile2:3846: recipe for target 'src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/all' failed
make[1]: *** [src/osgPlugins/gif/CMakeFiles/osgdb_gif.dir/all] Error 2
Last edited by chris_blues (2013-10-23 13:45:47)

Still no luck! AUR/openscenegraph-svn also doesn't compile...
It throws thousands of errors:
[ 13%] Building CXX object src/osgUtil/CMakeFiles/osgUtil.dir/tristripper/src/tri_stripper.o
In file included from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h:41:0,
from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:10:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/public_types.h:21:10: Fehler: »size_t« bezeichnet keinen Typ
typedef size_t index;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/public_types.h:22:22: Fehler: »index« wurde in diesem Gültigkeitsbereich nicht definiert
typedef std::vector<index> indices;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/public_types.h:22:27: Fehler: Templateargument 1 ist ungültig
typedef std::vector<index> indices;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/public_types.h:22:27: Fehler: Templateargument 2 ist ungültig
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/public_types.h:22:36: Fehler: invalid type in declaration before »;« token
typedef std::vector<index> indices;
^
In file included from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h:43:0,
from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:10:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:38:12: Fehler: »index« wurde nicht deklariert
void push(index i, bool CountCacheHit = false);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:45:21: Fehler: »index« wurde in diesem Gültigkeitsbereich nicht definiert
typedef std::deque<index> indices_deque;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:45:26: Fehler: Templateargument 1 ist ungültig
typedef std::deque<index> indices_deque;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:45:26: Fehler: Templateargument 2 ist ungültig
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h: In Elementfunktion »void triangle_stripper::detail::cache_simulator::clear()«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:71:10: Fehler: Abfrage des Elementes »clear« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
m_Cache.clear();
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h: In Elementfunktion »void triangle_stripper::detail::cache_simulator::resize(size_t)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:77:10: Fehler: Abfrage des Elementes »resize« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
m_Cache.resize(Size, (std::numeric_limits<index>::max)());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:77:44: Fehler: »index« wurde in diesem Gültigkeitsbereich nicht definiert
m_Cache.resize(Size, (std::numeric_limits<index>::max)());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:77:49: Fehler: Templateargument 1 ist ungültig
m_Cache.resize(Size, (std::numeric_limits<index>::max)());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h: In Elementfunktion »void triangle_stripper::detail::cache_simulator::reset()«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:83:20: Fehler: Abfrage des Elementes »begin« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
std::fill(m_Cache.begin(), m_Cache.end(), (std::numeric_limits<index>::max)());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:83:37: Fehler: Abfrage des Elementes »end« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
std::fill(m_Cache.begin(), m_Cache.end(), (std::numeric_limits<index>::max)());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:83:65: Fehler: »index« wurde in diesem Gültigkeitsbereich nicht definiert
std::fill(m_Cache.begin(), m_Cache.end(), (std::numeric_limits<index>::max)());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:83:70: Fehler: Templateargument 1 ist ungültig
std::fill(m_Cache.begin(), m_Cache.end(), (std::numeric_limits<index>::max)());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h: In Elementfunktion »size_t triangle_stripper::detail::cache_simulator::size() const«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:96:17: Fehler: Abfrage des Elementes »size« in »((const triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »const indices_deque {aka const int}« ist
return m_Cache.size();
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h: Im globalen Gültigkeitsbereich:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:100:41: Fehler: »index« bezeichnet keinen Typ
inline void cache_simulator::push(const index i, const bool CountCacheHit)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:100:47: Warnung: ISO-C++ verbietet Deklaration von »i« ohne Typ [-fpermissive]
inline void cache_simulator::push(const index i, const bool CountCacheHit)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h: In Elementfunktion »void triangle_stripper::detail::cache_simulator::push(int, bool)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:104:25: Fehler: Abfrage des Elementes »begin« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
if (std::find(m_Cache.begin(), m_Cache.end(), i) != m_Cache.end()) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:104:42: Fehler: Abfrage des Elementes »end« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
if (std::find(m_Cache.begin(), m_Cache.end(), i) != m_Cache.end()) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:104:63: Fehler: Abfrage des Elementes »end« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
if (std::find(m_Cache.begin(), m_Cache.end(), i) != m_Cache.end()) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:117:10: Fehler: Abfrage des Elementes »push_front« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
m_Cache.push_front(i);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:118:10: Fehler: Abfrage des Elementes »pop_back« in »((triangle_stripper::detail::cache_simulator*)this)->triangle_stripper::detail::cache_simulator::m_Cache«, das vom Nicht-Klassentyp »triangle_stripper::detail::cache_simulator::indices_deque {aka int}« ist
m_Cache.pop_back();
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h: In Elementfunktion »void triangle_stripper::detail::cache_simulator::merge(const triangle_stripper::detail::cache_simulator&, size_t)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:127:26: Fehler: ungültige Typen »const indices_deque {aka const int}[size_t {aka long unsigned int}]« für Feldindex
push(Backward.m_Cache[i], true);
^
In file included from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h:46:0,
from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:10:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h: Im globalen Gültigkeitsbereich:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:27:17: Fehler: expected »)« before »A«
triangle(index A, index B, index C)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:34:2: Fehler: »index« bezeichnet keinen Typ
index A() const { return m_A; }
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:35:2: Fehler: »index« bezeichnet keinen Typ
index B() const { return m_B; }
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:36:2: Fehler: »index« bezeichnet keinen Typ
index C() const { return m_C; }
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:39:2: Fehler: »index« bezeichnet keinen Typ
index m_A;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:40:2: Fehler: »index« bezeichnet keinen Typ
index m_B;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:41:2: Fehler: »index« bezeichnet keinen Typ
index m_C;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:51:22: Fehler: expected »)« before »A«
triangle_edge(index A, index B)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:54:2: Fehler: »index« bezeichnet keinen Typ
index A() const { return m_A; }
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:55:2: Fehler: »index« bezeichnet keinen Typ
index B() const { return m_B; }
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:62:2: Fehler: »index« bezeichnet keinen Typ
index m_A;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:63:2: Fehler: »index« bezeichnet keinen Typ
index m_B;
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h: In Elementfunktion »bool triangle_stripper::detail::triangle_edge::operator==(const triangle_stripper::detail::triangle_edge&) const«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:58:14: Fehler: »A« wurde in diesem Gültigkeitsbereich nicht definiert
return ((A() == Right.A()) && (B() == Right.B()));
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:58:25: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »A«
return ((A() == Right.A()) && (B() == Right.B()));
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:58:36: Fehler: »B« wurde in diesem Gültigkeitsbereich nicht definiert
return ((A() == Right.A()) && (B() == Right.B()));
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:58:47: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »B«
return ((A() == Right.A()) && (B() == Right.B()));
^
In file included from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:10:0:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h: Im globalen Gültigkeitsbereich:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h:111:16: Fehler: »index« wurde nicht deklariert
void AddIndex(index i, bool NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h:112:20: Fehler: »index« wurde nicht deklariert
void BackAddIndex(index i);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In Konstruktor »triangle_stripper::tri_stripper::tri_stripper(const indices&)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:28:27: Fehler: Abfrage des Elementes »size« in »TriIndices«, das vom Nicht-Klassentyp »const indices {aka const int}« ist
: m_Triangles(TriIndices.size() / 3), // Silently ignore extra indices if (Indices.size() % 3 != 0)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In Elementfunktion »triangle_stripper::detail::strip triangle_stripper::tri_stripper::BackExtendToStrip(size_t, triangle_stripper::detail::triangle_order, bool)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:219:53: Fehler: »class triangle_stripper::detail::triangle_edge« hat kein Element namens »B«
BackAddIndex(LastEdge(* m_Triangles[Start], Order).B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In Elementfunktion »triangle_stripper::tri_stripper::const_link_iterator triangle_stripper::tri_stripper::LinkToNeighbour(triangle_stripper::tri_stripper::const_tri_iterator, bool, triangle_stripper::detail::triangle_order&, bool)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:306:15: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »B«
if ((Edge.B() == Tri.A()) && (Edge.A() == Tri.B())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:306:26: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
if ((Edge.B() == Tri.A()) && (Edge.A() == Tri.B())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:306:40: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »A«
if ((Edge.B() == Tri.A()) && (Edge.A() == Tri.B())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:306:51: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
if ((Edge.B() == Tri.A()) && (Edge.A() == Tri.B())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:308:19: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
AddIndex(Tri.C(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:312:20: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »B«
else if ((Edge.B() == Tri.B()) && (Edge.A() == Tri.C())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:312:31: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
else if ((Edge.B() == Tri.B()) && (Edge.A() == Tri.C())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:312:45: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »A«
else if ((Edge.B() == Tri.B()) && (Edge.A() == Tri.C())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:312:56: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
else if ((Edge.B() == Tri.B()) && (Edge.A() == Tri.C())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:314:19: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
AddIndex(Tri.A(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:318:20: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »B«
else if ((Edge.B() == Tri.C()) && (Edge.A() == Tri.A())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:318:31: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
else if ((Edge.B() == Tri.C()) && (Edge.A() == Tri.A())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:318:45: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »A«
else if ((Edge.B() == Tri.C()) && (Edge.A() == Tri.A())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:318:56: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
else if ((Edge.B() == Tri.C()) && (Edge.A() == Tri.A())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:320:19: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
AddIndex(Tri.B(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In Elementfunktion »triangle_stripper::tri_stripper::const_link_iterator triangle_stripper::tri_stripper::BackLinkToNeighbour(triangle_stripper::tri_stripper::const_tri_iterator, bool, triangle_stripper::detail::triangle_order&)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:347:14: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »B«
if ((Edge.B() == Tri.A()) && (Edge.A() == Tri.B())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:347:25: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
if ((Edge.B() == Tri.A()) && (Edge.A() == Tri.B())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:347:39: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »A«
if ((Edge.B() == Tri.A()) && (Edge.A() == Tri.B())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:347:50: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
if ((Edge.B() == Tri.A()) && (Edge.A() == Tri.B())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:349:22: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
BackAddIndex(Tri.C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:353:19: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »B«
else if ((Edge.B() == Tri.B()) && (Edge.A() == Tri.C())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:353:30: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
else if ((Edge.B() == Tri.B()) && (Edge.A() == Tri.C())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:353:44: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »A«
else if ((Edge.B() == Tri.B()) && (Edge.A() == Tri.C())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:353:55: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
else if ((Edge.B() == Tri.B()) && (Edge.A() == Tri.C())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:355:22: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
BackAddIndex(Tri.A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:359:19: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »B«
else if ((Edge.B() == Tri.C()) && (Edge.A() == Tri.A())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:359:30: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
else if ((Edge.B() == Tri.C()) && (Edge.A() == Tri.A())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:359:44: Fehler: »const class triangle_stripper::detail::triangle_edge« hat kein Element namens »A«
else if ((Edge.B() == Tri.C()) && (Edge.A() == Tri.A())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:359:55: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
else if ((Edge.B() == Tri.C()) && (Edge.A() == Tri.A())) {
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:361:22: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
BackAddIndex(Tri.B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In statischer Elementfunktion »static triangle_stripper::detail::triangle_edge triangle_stripper::tri_stripper::FirstEdge(const triangle_stripper::detail::triangle&, triangle_stripper::detail::triangle_order)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:409:33: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
return triangle_edge(Triangle.A(), Triangle.B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:409:47: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
return triangle_edge(Triangle.A(), Triangle.B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:412:33: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
return triangle_edge(Triangle.B(), Triangle.C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:412:47: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
return triangle_edge(Triangle.B(), Triangle.C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:415:33: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
return triangle_edge(Triangle.C(), Triangle.A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:415:47: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
return triangle_edge(Triangle.C(), Triangle.A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:419:28: Fehler: keine passende Funktion für Aufruf von »triangle_stripper::detail::triangle_edge::triangle_edge(int, int)«
return triangle_edge(0, 0);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:419:28: Anmerkung: Kandidaten sind:
In file included from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h:46:0,
from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:10:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:48:7: Anmerkung: triangle_stripper::detail::triangle_edge::triangle_edge()
class triangle_edge
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:48:7: Anmerkung: Kandidat erwartet 0 Argumente, 2 angegeben
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:48:7: Anmerkung: triangle_stripper::detail::triangle_edge::triangle_edge(const triangle_stripper::detail::triangle_edge&)
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:48:7: Anmerkung: Kandidat erwartet 1 Argument, 2 angegeben
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In statischer Elementfunktion »static triangle_stripper::detail::triangle_edge triangle_stripper::tri_stripper::LastEdge(const triangle_stripper::detail::triangle&, triangle_stripper::detail::triangle_order)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:430:33: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
return triangle_edge(Triangle.B(), Triangle.C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:430:47: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
return triangle_edge(Triangle.B(), Triangle.C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:433:33: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
return triangle_edge(Triangle.C(), Triangle.A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:433:47: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
return triangle_edge(Triangle.C(), Triangle.A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:436:33: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
return triangle_edge(Triangle.A(), Triangle.B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:436:47: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
return triangle_edge(Triangle.A(), Triangle.B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:440:28: Fehler: keine passende Funktion für Aufruf von »triangle_stripper::detail::triangle_edge::triangle_edge(int, int)«
return triangle_edge(0, 0);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:440:28: Anmerkung: Kandidaten sind:
In file included from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h:46:0,
from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:10:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:48:7: Anmerkung: triangle_stripper::detail::triangle_edge::triangle_edge()
class triangle_edge
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:48:7: Anmerkung: Kandidat erwartet 0 Argumente, 2 angegeben
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:48:7: Anmerkung: triangle_stripper::detail::triangle_edge::triangle_edge(const triangle_stripper::detail::triangle_edge&)
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/types.h:48:7: Anmerkung: Kandidat erwartet 1 Argument, 2 angegeben
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: Im globalen Gültigkeitsbereich:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:446:42: Fehler: »index« bezeichnet keinen Typ
inline void tri_stripper::AddIndex(const index i, const bool NotSimulation)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:446:48: Warnung: ISO-C++ verbietet Deklaration von »i« ohne Typ [-fpermissive]
inline void tri_stripper::AddIndex(const index i, const bool NotSimulation)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In Elementfunktion »void triangle_stripper::tri_stripper::AddIndex(int, bool)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:452:37: Fehler: Abfrage des Elementes »push_back« in »((triangle_stripper::tri_stripper*)this)->triangle_stripper::tri_stripper::m_PrimitivesVector.std::vector<_Tp, _Alloc>::back<triangle_stripper::primitive_group, std::allocator<triangle_stripper::primitive_group> >().triangle_stripper::primitive_group::Indices«, das vom Nicht-Klassentyp »triangle_stripper::indices {aka int}« ist
m_PrimitivesVector.back().Indices.push_back(i);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: Im globalen Gültigkeitsbereich:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:457:46: Fehler: »index« bezeichnet keinen Typ
inline void tri_stripper::BackAddIndex(const index i)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:457:52: Warnung: ISO-C++ verbietet Deklaration von »i« ohne Typ [-fpermissive]
inline void tri_stripper::BackAddIndex(const index i)
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In Elementfunktion »void triangle_stripper::tri_stripper::AddTriangle(const triangle_stripper::detail::triangle&, triangle_stripper::detail::triangle_order, bool)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:470:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
AddIndex(Tri.A(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:471:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
AddIndex(Tri.B(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:472:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
AddIndex(Tri.C(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:476:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
AddIndex(Tri.B(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:477:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
AddIndex(Tri.C(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:478:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
AddIndex(Tri.A(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:482:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
AddIndex(Tri.C(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:483:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
AddIndex(Tri.A(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:484:16: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
AddIndex(Tri.B(), NotSimulation);
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In Elementfunktion »void triangle_stripper::tri_stripper::BackAddTriangle(const triangle_stripper::detail::triangle&, triangle_stripper::detail::triangle_order)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:496:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
BackAddIndex(Tri.C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:497:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
BackAddIndex(Tri.B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:498:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
BackAddIndex(Tri.A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:502:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
BackAddIndex(Tri.A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:503:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
BackAddIndex(Tri.C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:504:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
BackAddIndex(Tri.B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:508:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »B«
BackAddIndex(Tri.B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:509:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »A«
BackAddIndex(Tri.A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:510:20: Fehler: »const class triangle_stripper::detail::triangle« hat kein Element namens »C«
BackAddIndex(Tri.C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In Elementfunktion »void triangle_stripper::tri_stripper::AddLeftTriangles()«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:527:12: Fehler: Abfrage des Elementes »push_back« in »Indices«, das vom Nicht-Klassentyp »triangle_stripper::indices {aka int}« ist
Indices.push_back(m_Triangles[i]->A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:527:38: Fehler: »class triangle_stripper::detail::triangle« hat kein Element namens »A«
Indices.push_back(m_Triangles[i]->A());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:528:12: Fehler: Abfrage des Elementes »push_back« in »Indices«, das vom Nicht-Klassentyp »triangle_stripper::indices {aka int}« ist
Indices.push_back(m_Triangles[i]->B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:528:38: Fehler: »class triangle_stripper::detail::triangle« hat kein Element namens »B«
Indices.push_back(m_Triangles[i]->B());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:529:12: Fehler: Abfrage des Elementes »push_back« in »Indices«, das vom Nicht-Klassentyp »triangle_stripper::indices {aka int}« ist
Indices.push_back(m_Triangles[i]->C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:529:38: Fehler: »class triangle_stripper::detail::triangle« hat kein Element namens »C«
Indices.push_back(m_Triangles[i]->C());
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:533:14: Fehler: Abfrage des Elementes »size« in »Indices«, das vom Nicht-Klassentyp »triangle_stripper::indices {aka int}« ist
if (Indices.size() == 0)
^
In file included from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/tri_stripper.h:43:0,
from /tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:10:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h: In Elementfunktion »size_t triangle_stripper::detail::cache_simulator::size() const«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/include/detail/cache_simulator.h:97:1: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In statischer Elementfunktion »static triangle_stripper::detail::triangle_edge triangle_stripper::tri_stripper::LastEdge(const triangle_stripper::detail::triangle&, triangle_stripper::detail::triangle_order)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:442:1: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
^
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp: In statischer Elementfunktion »static triangle_stripper::detail::triangle_edge triangle_stripper::tri_stripper::FirstEdge(const triangle_stripper::detail::triangle&, triangle_stripper::detail::triangle_order)«:
/tmp/yaourt-tmp-chris/aur-openscenegraph-svn/src/trunk/src/osgUtil/tristripper/src/tri_stripper.cpp:421:1: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
^
src/osgUtil/CMakeFiles/osgUtil.dir/build.make:839: recipe for target 'src/osgUtil/CMakeFiles/osgUtil.dir/tristripper/src/tri_stripper.o' failed
make[2]: *** [src/osgUtil/CMakeFiles/osgUtil.dir/tristripper/src/tri_stripper.o] Error 1
make[2]: *** Warte auf noch nicht beendete Prozesse...
CMakeFiles/Makefile2:352: recipe for target 'src/osgUtil/CMakeFiles/osgUtil.dir/all' failed
make[1]: *** [src/osgUtil/CMakeFiles/osgUtil.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
==> FEHLER: Ein Fehler geschah in build().
Breche ab ...
==> ERROR: Makepkg was unable to build openscenegraph-svn.
...I'm getting desperate...
Edit:
gotta go now. I'll be back later tonight.
Thanks for all your help so far! Greatly appreciated!
Last edited by chris_blues (2013-10-23 14:18:01)

Similar Messages

  • Trouble Compiling my Email-client

    Hi
    I have written this email -client, but have some trouble compiling it !
    Then I try to compile it the following errors:
    MailClient.java:350: <identifier> expected
    public syncronize void mails(String t){
    ^
    MailClient.java:727: ';' expected
    private class myWindowListener extends WindowAdapter{
    ^
    MailClient.java:747: '}' expected
    3 errors.
    What do I need to change to correct these errors ?
    I hope that there is somebody out there who can help me get my program to work.
    Thanks in advance.
    Sincrely Yours
    Fred
    import java.io.*;
    import java.awt.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    public class MailClient extends JFrame implements ActionListener{ 
    private Sendman mySendman;
    private Letterman myLetterman;
    public Writer myWrite;
    public Reader myReader;
    public Composer myComposer;
    private Setup mySetup;
    public Addressbook myAdressbook;
    private FixTask myFixTask;
    private Filter myFilter;
    private Info myInfo;
    public Vector mailIndexVector = new Vector();
    public Vector filterIndexVector = new Vector();
    public Vector folderVector = new Vector();
    private JPanel tArea, trae, icon, tField;
    private JTextArea ta;
    private JScrollPane view, treeScroll;
    private JTree tree;
    public JTextField tf;
    private JSplitPane split;
    private Dimension Size;
    private MailClient myMailClient;
    private String mailBody, subject, from;
    public boolean fromOutbox = false;
    public boolean viewSource = false;
    public static void main (String[] args) {
         MailClient myMailClient = new MailClient();
    public MailClient() {
         super("Mail-Client");
         ImageIcon linux = new ImageIcon("linux.gif");
         this.setIconImage(linux.getImage());
         icon = new JPanel();
         icon.setLayout(new FlowLayout(FlowLayout.LEFT));
         ImageIcon neu = new ImageIcon("getmail.gif");
         JButton neueMails = new JButton(neu);
         newMails.setActionCommand("Getting new Mails");
         newMails.addActionListener(this);
         newMails.setBorderPainted(false);
         newMails.setToolTipText("Getting new Mails");
         ImageIcon cr = new ImageIcon("creator.gif");
         JButton creator = new JButton(cr);
         creator.setActionCommand("Creator open");
         creator.addActionListener(this);
         creator.setBorderPainted(false);
         creator.setToolTipText("Creator open");
         JButton rep = new JButton(new ImageIcon("reply.gif"));
         rep.setActionCommand("rep");
         rep.addActionListener(this);
         rep.setBorderPainted(false);
         rep.setToolTipText("Reply");
         JButton fwd = new JButton(new ImageIcon("fwd.gif"));
         fwd.setActionCommand("fwd");
         fwd.addActionListener(this);
         fwd.setBorderPainted(false);
         fwd.setToolTipText("Forward");
         JButton ein = new JButton(new ImageIcon("settings.gif"));
         ein.setActionCommand("settings open");
         ein.addActionListener(this);
         ein.setBorderPainted(false);
    ein.setToolTipText("Setting open");
    JButton adr = new JButton(new ImageIcon("adressbook.gif"));
    adr.setActionCommand("adr");
    adr.addActionListener(this);
    adr.setBorderPainted(false);
    adr.setToolTipText("Addressbook");
    JButton lo = new JButton(new ImageIcon("trash.gif"));
    lo.setActionCommand("trash");
    lo.addActionListener(this);
    lo.setBorderPainted(false);
    lo.setToolTipText("trash");
    JButton in = new JButton(new ImageIcon("info.gif"));
    in.setActionCommand("Information");
    in.addActionListener(this);
    in.setBorderPainted(false);
    in.setToolTipText("Information");
    icon.add(newMails);
    icon.add(creator);
    icon.add(rep);
    icon.add(fwd);
    icon.add(set);
    icon.add(adr);
    icon.add(lo);
    icon.add(in);
    Vector h1 = myLeser.lese("Summary.4on");
    for(int i=0; i<h1.size(); i+=7){
    String id = h1.elementAt(i).toString();
    String fo = h1.elementAt(i+1).toString();
    String su = h1.elementAt(i+2).toString();
    String fr = h1.elementAt(i+3).toString();
    String to = h1.elementAt(i+4).toString();
    String da = h1.elementAt(i+5).toString();
    String re = h1.elementAt(i+6).toString();
    MailIndex index = new MailIndex(id, fo, su, fr, to, da, re);
    mailIndexVector.addElement(index);
    Vector h2 = myReader.read("Filter.4on");
    for(int j=0; j<h2.size(); j+=3){
    String fo = h2.elementAt(j).toString();
    String from = h2.elementAt(j+1).toString();
    String te = h2.elementAt(j+2).toString();
    FilterIndex index = new FilterIndex(fo, from, te);
    filterIndexVector.addElement(index);
    folderVector = myReader.read("Folder.4on");
    DefaultMutableTreeNode top, inbox, outbox, sentbox, trash;
    top = new DefaultMutableTreeNode("mails");
    top.add(inbox = new DefaultMutableTreeNode("Inbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Inbox"))
         inbox.add(new DefaultMutableTreeNode(m));
    top.add(outbox = new DefaultMutableTreeNode("Outbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Outbox")){
         outbox.add(new DefaultMutableTreeNode(m));
    top.add(sentbox = new DefaultMutableTreeNode("Sentbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Sentbox"))
         sentbox.add(new DefaultMutableTreeNode(m));
    for(int j=0; j<folderVector.size(); j++){
    top.add(trash =
         new DefaultMutableTreeNode(folderVector.elementAt(j).toString()));
    for(int i=0; i<mailIndexVector.size(); i++){
         MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
         if (m.folder.equals(folderVector.elementAt(j).toString()))
         trash.add(new DefaultMutableTreeNode(m));
    tree = new JTree(top);
    tree.getSelectionModel().setSelectionMode
    (TreeSelectionModel.SINGLE_TREE_SELECTION);
    tree.addTreeSelectionListener(new myTreeSelectionListener());
    treeScroll = new JScrollPane(tree);
    treeScroll.setFont(new Font("Monospaced",Font.PLAIN,6));
    baum.add("Center", treeScroll);
    MainMenu menuBar = new MainMenu(this, this);
    setJMenuBar(menuBar);
    setVisible(true);
    public void mailsFetcher() {
    myLetterman = new Letterman(this, mySetup);
    myLetterman.start();
    public void treeNewSign(){
    trae.remove(treeScroll);     
    DefaultMutableTreeNode top, inbox, outbox, sentbox, trash;
    top = new DefaultMutableTreeNode("mails");
    top.add(inbox = new DefaultMutableTreeNode("Inbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Inbox"))
         inbox.add(new DefaultMutableTreeNode(m));
    top.add(outbox = new DefaultMutableTreeNode("Outbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Outbox"))
         outbox.add(new DefaultMutableTreeNode(m));
    top.add(sentbox = new DefaultMutableTreeNode("Sentbox"));
    for(int i=0; i<mailIndexVector.size(); i++){
    MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
    if (m.folder.equals("Sentbox"))
         sentbox.add(new DefaultMutableTreeNode(m));
    for(int j=0; j<folderVector.size(); j++){
    top.add(trash =
         new DefaultMutableTreeNode(folderVector.elementAt(j).toString()));
    for(int i=0; i<mailIndexVector.size(); i++){
         MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
         if (m.folder.equals(folderVector.elementAt(j).toString()))
         trash.add(new DefaultMutableTreeNode(m));
    tree = new JTree(top);
    tree.getSelectionModel().setSelectionMode
    (TreeSelectionModel.SINGLE_TREE_SELECTION);
    tree.addTreeSelectionListener(new myTreeSelectionListener());
    treeScroll = new JScrollPane(tree);
    trae.add("Center", treeScroll);
    trae.repaint();
    setVisible(true);
    public void menuNewSign(){
    setJMenuBar(new MainMenu(this, this));
    setVisible(true);
    public String fromFilter (String t){
    String myFrom = "";
    int start, end;
    int a = t.indexOf("From:");
    if (a != -1){
    start = a + 6;
    ende = t.indexOf("\n",start);
    myFrom = t.substring(start,end);
    return myFrom;
    public String toFilter (String t){
    String myTo = "";
    int start, e1, e2, end;
    int a = t.indexOf("To:");
    if (a != -1){
    start = a + 4;
    end = t.indexOf("\n",start);
    myTo = t.substring(start,end);
    e1 = end + 1;
    if(t.substring(e1,e1+1).equals(" ")){
         while(t.substring(e1,e1+1).equals(" ")){
         while(t.substring(e1,e1+1).equals(" "))
         e1++;
         e2 = t.indexOf("\n",e1);
         myTo += " " + t.substring(e1,e2);
         e1 = e2 + 1;
    return myTo;
    public String dateFilter (String t){
    String myDate = "";
    int start, end;
    int a = t.indexOf("Date:");
    if (a != -1){
    start = a + 6;
    end = t.indexOf("\n",start);
    myDate = t.substring(start,end);
    return myDate;
    public String subjectFilter (String t){
    String mySubject = "";
    int start, end;
    int a = t.indexOf("Subject:");
    if (a != -1){
    start = a + 9;
    end = t.indexOf("\n",start);
    mySubject = t.substring(start,end);
    return mySubject;
    public String mailFilter (String t){ 
    String myMail = "";
    int start = 0, end = t.length();
    start = t.indexOf("\n\n") + 2;
    if (start != 1){
    int a = t.indexOf("\n\n" ,start);
    if (a != -1){
         if (t.indexOf(".",a+2) == a+2)
         if (t.indexOf("\n",a+3) == a+3)
         start = a;
    myMail = t.substring(start,end);
    return myMail;
    public void mailsRemark(String file){
    String mail = "", t = "";
    Vector mailVector = myReader.read(file);
    for (int i=0; i<mailVector.size(); i++)
    t += (String)mailVector.elementAt(i) + "\n";
    from = fromFilter(t);
    subject = subjectFilter(t);
    mailBody = mailFilter(t);
    mail += "Subject: " + subject + "\n";
    mail += "Date: " + dateFilter(t) + "\n";
    mail += "From: " + from + "\n";
    mail += "To: " + toFilter(t) + "\n";
    mail += "\n" + mailBody;
    if(viewSource == true)
    ta.setText(t);
    else
    ta.setText(mail);
    public syncronize void mails(String t){
    Status myStatus = new Status(this,t);
    myStatus.start();
    public void delete(){
    if(tree.getLastSelectedPathComponent() != null){
    DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
    if(node.isLeaf()){
         Object nodeInfo = node.getUserObject();
         if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         mailIndexVector.removeElement(index);
         int count = 0;
         for(int j=0; j<mailIndexVector.size(); j++){
         MailIndex index1 = (MailIndex)mailIndexVector.elementAt(j);
         String id = index1.mailId;
         if(id.equals(index.mailId))
         count++;
         if(count == 0){
         File home = new File(".");
         String mailsRemark = "." + home.separator + "data";
         File datei = new File(mailsRemark, index.mailId);
         datei.delete();
         treeNewSign();
         menuNewSign();
         else{
         String t = (String)nodeInfo;
         boolean toDelete = false;
         for (int i=0; i<folderVector.size(); i++){
         if(folderVector.elementAt(i).equals(t)){
         folderVector.removeElement(t);
         konnteLoeschen = true;
         if(toDelete == false){
         message("This folder can not be deleted!");
         treeNewSign();
    else
         message("Folder is not Empty! Please delete Your mails.");
    else
    message("No Mails where selected to be deleted!");
    public void forward(){
    if(from != null){
    creatorOeffnen();
    myCreator.tfSb.setText("Fwd to: " + subject);
    myCreator.ta.setText("<" + from + ">" + " wrote:\n\n" + mailBody +
                   "\n\n>\n>\n\n");
    public void reply(){
    if(from != null){
    creatorOeffnen();
    myCreator.tfTo.setText(from);
    myCreator.tfSb.setText("Reply to: " + subject);
    myCreator.ta.setText("<" + from + ">" + " wrote:\n\n" + mailBody +
                   "\n\n>\n>\n\n");
    public void end(){
    String h = "";
    for (int i=0; i<mailIndexVector.size(); i++){
    MailIndex index = (MailIndex)mailIndexVector.elementAt(i);
    h += index.mailId + "\n";
    h += index.folder + "\n";
    h += index.subject + "\n";
    h += index.from + "\n";
    h += index.to + "\n";
    h += index.date + "\n";
    h += index.read + "\n";
    myWriter.writer(h,"Summary.4on");
    String w = "";
    for (int l=0; l<filterIndexVector.size(); l++){
    FilterIndex index = (FilterIndex)filterIndexVector.elementAt(l);
    w += index.folder + "\n";
    w += index.from + "\n";
    w += index.text + "\n";
    myWriter.write(w,"Filter.4on");
    String k = "";
    for(int j=0; j<folderVector.size(); j++)
    k += folderVector.elementAt(j).toString() + "\n";
    myWriter.writer(k,"Folder.4on");
    String t = "";
    for (int l=0; l<myAddressBook.addressIndexVector.size(); l++){
    AddressIndex aindex =
         (AddressIndex)myAdressBook.adressIndexVector.elementAt(l);
    t += aindex.alias + "\n";
    t += aindex.email + "\n";
    myWriter.write(t,"Address.4on");
    setVisible(false);
    dispose();
    System.exit(0);
    public void filterOpen(){
    boolean test = false;
    if(tree.getLastSelectedPathComponent() != null){
    DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
    Object nodeInfo = node.getUserObject();
    if(nodeInfo instanceof String){
         myFilter.folder = (String)nodeInfo;
         for(int i=0; i<filterIndexVector.size(); i++){
         FilterIndex h = (FilterIndex)filterIndexVector.elementAt(i);
         if(h.folder.equals(nodeInfo)){
         myFilter.index = h;
         test = true;
         if(h.from.equals("")){
         myFilter.box1 = false;
         myFilter.fTf.setText("");
         myFilter.fBox.setSelected(false);
         myFilter.fTf.setEditable(false);
         else{
         myFilter.box1 = true;
         myFilter.fTf.setText(h.from);
         myFilter.fBox.setSelected(true);
         myFilter.fTf.setEditable(true);
         if(h.text.equals("")){
         myFilter.box2 = false;
         myFilter.tTf.setText("");
         myFilter.tBox.setSelected(false);
         myFilter.tTf.setEditable(false);
         else{
         myFilter.box2 = true;
         myFilter.tTf.setText(h.text);
         myFilter.tBox.setSelected(true);
         myFilter.tTf.setEditable(true);
         break;
    myFilter.setVisible(true);
    myFilter.fBox.requestFocus();
    else
    meldung("No selection");
    public void sendOutbox(){
    fromOutbox = true;
    int i;
    Block1:
    for(i=0; i<mailIndexVector.size(); i++){
    MailIndex index = (MailIndex)mailIndexVector.elementAt(i);
    if(index.folder.equals("Outbox")){
         Vector mailVector = myReader.read(index.mailId);
    Block2:
         for(int j=0; j<mailVector.size(); j++){
         String m = (String)mailVector.elementAt(j);
         if(m.indexOf("Subject:") != -1){
         for(int k=0; k<=j+1; k++){
         mailVector.removeElementAt(0);
         break Block2;
         Vector toVector = new Vector();
         int tEnd = 1;
         String line = "";
         String t = index.to;
         while (tEnd != -1){
         tEnd = t.indexOf(", ");
         if (tEnd == -1)
         line = t;
         else
         line = t.substring(0,tEnd);
         t = t.substring(tEnd + 1);
         toVector.addElement(line);
         File home = new File(".");
         String mailsVerzeichnis = "." + home.separator + "data";
         File datei = new File(mailsRemark, index.mailId);
         datei.delete();
         mySendman = new Sendman(mailVector, toVector, index.subject,
         ailsAnzeig               mySetup, this);
         mySendman.start();
         mailIndexVector.removeElement(index);
         break Block1;
    if(i == mailIndexVector.size())
    fromOutbox = false;
    treeNewSign();
    public void partion(String cmd){
    if(tree.getLastSelectedPathComponent() != null){
    DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
    Object nodeInfo = node.getUserObject();
    if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         index.folder = cmd.substring(13).toString();
         treeNewSign();
    else
    meldung("No mails to partion!");
    public void SetupOpen(){
    if (mySetup.savePassword == false)
    mySetup.pTf.setText("");
    mySetup.setVisible(true);
    mySetup.aTf.requestFocus();
    public void addressbookOpen(){
    myAddressBook.setVisible(true);
    myAdressBook.tree.requestFocus();
    public void creatorOpen(){
    myCreator.setVisible(true);
    myCreator.tfTo.requestFocus();
    public void actionPerformed(ActionEvent event){
    Object obj = event.getSource();
    if (obj instanceof JMenuItem){
    String cmd = event.getActionCommand();
    if (cmd.equals("New fetched")){
         mailsfetch();
    else if (cmd.equals("Written new mails")) {
         creatorOpen();
    else if (cmd.equals("Reply")) {
         reply();
    else if (cmd.equals("Forward")) {
         forward();
    else if (cmd.equals("Outbox")) {
         sendOutbox();
    else if (cmd.equals("Delete")) {
         delete();
    else if ((cmd.length() >13) &&
         (cmd.substring(0,13).equals("Sorting-"))){
         sorting(cmd);
    else if (cmd.equals("Using Addressbook")){
         addressbookOpen();
    else if (cmd.equals("Filter working")){
         filterOpen();
    else if (cmd.equals("New Order")){
         myFixTask.tf.setText("");
         myFixTask.setVisible(true);
         myFixTask.tf.requestFocus();
    else if (cmd.equals("delete")){
         delete();
    else if ((cmd.length() >7) &&
         (cmd.substring(0,7).equals("nobody"))){
         if(viewSource == false){
         viewSource = true;
         menuNewSign();
         if(tree.getLastSelectedPathComponent() != null){
         DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
         Object nodeInfo = node.getUserObject();
         if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         mailsRemark(index.mailId);
         else{
         viewSource = false;
         menuNeuZeichnen();
         if(tree.getLastSelectedPathComponent() != null){
         DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
         Object nodeInfo = node.getUserObject();
         if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         mailsRemark(index.mailId);
    else if (cmd.equals("Setup")){
         SetupOpen();
    else if (obj instanceof JButton){
    String cmd = event.getActionCommand();
    if (cmd.equals("aga")){
         mailsHolen();
    else if (cmd.equals("Creator Open")){
         creatorOpem();
    else if(cmd.equals("rep")){
         reply();
    else if(cmd.equals("fwd")){
         forward();
    else if(cmd.equals("Setup Open")){
    SetupOpen();
    else if(cmd.equals("adr")){
         addressbookOpen();
    else if(cmd.equals("delete")){
         delete();
    else if(cmd.equals("Information")){
         myInfo.setVisible(true);
         myInfo.b.requestFocus();
    private class myWindowListener extends WindowAdapter{
    public void windowClosing(WindowEvent event){
    end();
    private class myTreeSelectionListener implements TreeSelectionListener{
    public void valueChanged(TreeSelectionEvent e) {
    DefaultMutableTreeNode node =
         (DefaultMutableTreeNode)(e.getPath().getLastPathComponent());
    Object nodeInfo = node.getUserObject();
    if(nodeInfo instanceof MailIndex){
         MailIndex index = (MailIndex)nodeInfo;
         mailsAnzeigen(index.mailId);
         index.read = "Yes";

    Some suggestions:
    1. as the others stated- you should really post specific questions rather than 1 huge ugly class!
    2. use code tags
    3. get a decent IDE- it would take about 1 minute to then see where the error is-
    4. the rrors were just misspelled 'synchronized' and missing argument ','
    5. Try not to make such huge classes!!- Try to follow certain coding "patterns"- like MVC- and not stick everything in 1 class- separate the functionality- it makes coding much easier!
    here is fixed code (at least gets rid of those last errors):
    import java.io.*;
    import java.awt.*;
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.tree.*;
    import javax.swing.event.*;
    public class MailClient extends JFrame implements ActionListener{
      private Sendman mySendman;
      private Letterman myLetterman;
      public Writer myWrite;
      public Reader myReader;
      public Composer myComposer;
      private Setup mySetup;
      public Addressbook myAdressbook;
      private FixTask myFixTask;
      private Filter myFilter;
      private Info myInfo;
      public Vector mailIndexVector = new Vector();
      public Vector filterIndexVector = new Vector();
      public Vector folderVector = new Vector();
      private JPanel tArea, trae, icon, tField;
      private JTextArea ta;
      private JScrollPane view, treeScroll;
      private JTree tree;
      public JTextField tf;
      private JSplitPane split;
      private Dimension Size;
      private MailClient myMailClient;
      private String mailBody, subject, from;
      public boolean fromOutbox = false;
      public boolean viewSource = false;
      public static void main (String[] args) {
        MailClient myMailClient = new MailClient();
      public MailClient() {
        super("Mail-Client");
        ImageIcon linux = new ImageIcon("linux.gif");
        this.setIconImage(linux.getImage());
        icon = new JPanel();
        icon.setLayout(new FlowLayout(FlowLayout.LEFT));
        ImageIcon neu = new ImageIcon("getmail.gif");
        JButton neueMails = new JButton(neu);
        newMails.setActionCommand("Getting new Mails");
        newMails.addActionListener(this);
        newMails.setBorderPainted(false);
        newMails.setToolTipText("Getting new Mails");
        ImageIcon cr = new ImageIcon("creator.gif");
        JButton creator = new JButton(cr);
        creator.setActionCommand("Creator open");
        creator.addActionListener(this);
        creator.setBorderPainted(false);
        creator.setToolTipText("Creator open");
        JButton rep = new JButton(new ImageIcon("reply.gif"));
        rep.setActionCommand("rep");
        rep.addActionListener(this);
        rep.setBorderPainted(false);
        rep.setToolTipText("Reply");
        JButton fwd = new JButton(new ImageIcon("fwd.gif"));
        fwd.setActionCommand("fwd");
        fwd.addActionListener(this);
        fwd.setBorderPainted(false);
        fwd.setToolTipText("Forward");
        JButton ein = new JButton(new ImageIcon("settings.gif"));
        ein.setActionCommand("settings open");
        ein.addActionListener(this);
        ein.setBorderPainted(false);
        ein.setToolTipText("Setting open");
        JButton adr = new JButton(new ImageIcon("adressbook.gif"));
        adr.setActionCommand("adr");
        adr.addActionListener(this);
        adr.setBorderPainted(false);
        adr.setToolTipText("Addressbook");
        JButton lo = new JButton(new ImageIcon("trash.gif"));
        lo.setActionCommand("trash");
        lo.addActionListener(this);
        lo.setBorderPainted(false);
        lo.setToolTipText("trash");
        JButton in = new JButton(new ImageIcon("info.gif"));
        in.setActionCommand("Information");
        in.addActionListener(this);
        in.setBorderPainted(false);
        in.setToolTipText("Information");
        icon.add(newMails);
        icon.add(creator);
        icon.add(rep);
        icon.add(fwd);
        icon.add(set);
        icon.add(adr);
        icon.add(lo);
        icon.add(in);
        Vector h1 = myLeser.lese("Summary.4on");
        for(int i=0; i<h1.size(); i+=7){
          String id = h1.elementAt(i).toString();
          String fo = h1.elementAt(i+1).toString();
          String su = h1.elementAt(i+2).toString();
          String fr = h1.elementAt(i+3).toString();
          String to = h1.elementAt(i+4).toString();
          String da = h1.elementAt(i+5).toString();
          String re = h1.elementAt(i+6).toString();
          MailIndex index = new MailIndex(id, fo, su, fr, to, da, re);
          mailIndexVector.addElement(index);
        Vector h2 = myReader.read("Filter.4on");
        for(int j=0; j<h2.size(); j+=3){
          String fo = h2.elementAt(j).toString();
          String from = h2.elementAt(j+1).toString();
          String te = h2.elementAt(j+2).toString();
          FilterIndex index = new FilterIndex(fo, from, te);
          filterIndexVector.addElement(index);
        folderVector = myReader.read("Folder.4on");
        DefaultMutableTreeNode top, inbox, outbox, sentbox, trash;
        top = new DefaultMutableTreeNode("mails");
        top.add(inbox = new DefaultMutableTreeNode("Inbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Inbox"))
            inbox.add(new DefaultMutableTreeNode(m));
        top.add(outbox = new DefaultMutableTreeNode("Outbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Outbox")){
            outbox.add(new DefaultMutableTreeNode(m));
        top.add(sentbox = new DefaultMutableTreeNode("Sentbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Sentbox"))
            sentbox.add(new DefaultMutableTreeNode(m));
        for(int j=0; j<folderVector.size(); j++){
          top.add(trash =
          new DefaultMutableTreeNode(folderVector.elementAt(j).toString()));
          for(int i=0; i<mailIndexVector.size(); i++){
            MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
            if (m.folder.equals(folderVector.elementAt(j).toString()))
              trash.add(new DefaultMutableTreeNode(m));
        tree = new JTree(top);
        tree.getSelectionModel().setSelectionMode
        (TreeSelectionModel.SINGLE_TREE_SELECTION);
        tree.addTreeSelectionListener(new myTreeSelectionListener());
        treeScroll = new JScrollPane(tree);
        treeScroll.setFont(new Font("Monospaced",Font.PLAIN,6));
        baum.add("Center", treeScroll);
        MainMenu menuBar = new MainMenu(this, this);
        setJMenuBar(menuBar);
        setVisible(true);
      public void mailsFetcher() {
        myLetterman = new Letterman(this, mySetup);
        myLetterman.start();
      public void treeNewSign(){
        trae.remove(treeScroll);
        DefaultMutableTreeNode top, inbox, outbox, sentbox, trash;
        top = new DefaultMutableTreeNode("mails");
        top.add(inbox = new DefaultMutableTreeNode("Inbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Inbox"))
            inbox.add(new DefaultMutableTreeNode(m));
        top.add(outbox = new DefaultMutableTreeNode("Outbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Outbox"))
            outbox.add(new DefaultMutableTreeNode(m));
        top.add(sentbox = new DefaultMutableTreeNode("Sentbox"));
        for(int i=0; i<mailIndexVector.size(); i++){
          MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
          if (m.folder.equals("Sentbox"))
            sentbox.add(new DefaultMutableTreeNode(m));
        for(int j=0; j<folderVector.size(); j++){
          top.add(trash =
          new DefaultMutableTreeNode(folderVector.elementAt(j).toString()));
          for(int i=0; i<mailIndexVector.size(); i++){
            MailIndex m = (MailIndex)mailIndexVector.elementAt(i);
            if (m.folder.equals(folderVector.elementAt(j).toString()))
              trash.add(new DefaultMutableTreeNode(m));
        tree = new JTree(top);
        tree.getSelectionModel().setSelectionMode
        (TreeSelectionModel.SINGLE_TREE_SELECTION);
        tree.addTreeSelectionListener(new myTreeSelectionListener());
        treeScroll = new JScrollPane(tree);
        trae.add("Center", treeScroll);
        trae.repaint();
        setVisible(true);
      public void menuNewSign(){
        setJMenuBar(new MainMenu(this, this));
        setVisible(true);
      public String fromFilter (String t){
        String myFrom = "";
        int start, end;
        int a = t.indexOf("From:");
        if (a != -1){
          start = a + 6;
          ende = t.indexOf("\n",start);
          myFrom = t.substring(start,end);
        return myFrom;
      public String toFilter (String t){
        String myTo = "";
        int start, e1, e2, end;
        int a = t.indexOf("To:");
        if (a != -1){
          start = a + 4;
          end = t.indexOf("\n",start);
          myTo = t.substring(start,end);
          e1 = end + 1;
          if(t.substring(e1,e1+1).equals(" ")){
            while(t.substring(e1,e1+1).equals(" ")){
              while(t.substring(e1,e1+1).equals(" "))
                e1++;
              e2 = t.indexOf("\n",e1);
              myTo += " " + t.substring(e1,e2);
              e1 = e2 + 1;
        return myTo;
      public String dateFilter (String t){
        String myDate = "";
        int start, end;
        int a = t.indexOf("Date:");
        if (a != -1){
          start = a + 6;
          end = t.indexOf("\n",start);
          myDate = t.substring(start,end);
        return myDate;
      public String subjectFilter (String t){
        String mySubject = "";
        int start, end;
        int a = t.indexOf("Subject:");
        if (a != -1){
          start = a + 9;
          end = t.indexOf("\n",start);
          mySubject = t.substring(start,end);
        return mySubject;
      public String mailFilter (String t){
        String myMail = "";
        int start = 0, end = t.length();
        start = t.indexOf("\n\n") + 2;
        if (start != 1){
          int a = t.indexOf("\n\n" ,start);
          if (a != -1){
            if (t.indexOf(".",a+2) == a+2)
              if (t.indexOf("\n",a+3) == a+3)
                start = a;
          myMail = t.substring(start,end);
        return myMail;
      public void mailsRemark(String file){
        String mail = "", t = "";
        Vector mailVector = myReader.read(file);
        for (int i=0; i<mailVector.size(); i++)
          t += (String)mailVector.elementAt(i) + "\n";
        from = fromFilter(t);
        subject = subjectFilter(t);
        mailBody = mailFilter(t);
        mail += "Subject: " + subject + "\n";
        mail += "Date: " + dateFilter(t) + "\n";
        mail += "From: " + from + "\n";
        mail += "To: " + toFilter(t) + "\n";
        mail += "\n" + mailBody;
        if(viewSource == true)
          ta.setText(t);
        else
          ta.setText(mail);
      public synchronized void mails(String t){
        Status myStatus = new Status(this,t);
        myStatus.start();
      public void delete(){
        if(tree.getLastSelectedPathComponent() != null){
          DefaultMutableTreeNode node =
              (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
          if(node.isLeaf()){
            Object nodeInfo = node.getUserObject();
            if(nodeInfo instanceof MailIndex){
              MailIndex index = (MailIndex)nodeInfo;
              mailIndexVector.removeElement(index);
              int count = 0;
              for(int j=0; j<mailIndexVector.size(); j++){
                MailIndex index1 = (MailIndex)mailIndexVector.elementAt(j);
                String id = index1.mailId;
                if(id.equals(index.mailId))
                  count++;
              if(count == 0){
                File home = new File(".");
                String mailsRemark = "." + home.separator + "data";
                File datei = new File(mailsRemark, index.mailId);
                datei.delete();
              treeNewSign();
              menuNewSign();
            else{
              String t = (String)nodeInfo;
              boolean toDelete = false;
              for (int i=0; i<folderVector.size(); i++){
                if(folderVector.elementAt(i).equals(t)){
                  folderVector.removeElement(t);
                  konnteLoeschen = true;
              if(toDelete == false){
                message("This folder can not be deleted!");
              treeNewSign();
          else
            message("Folder is not Empty! Please delete Your mails.");
        else
          message("No Mails where selected to be deleted!");
      public void forward(){
        if(from != null){
          creatorOeffnen();
          myCreator.tfSb.setText("Fwd to: " + subject);
          myCreator.ta.setText("<" + from + ">" + " wrote:\n\n" + mailBody +
                               "\n\n>\n>\n\n");
      public void reply(){
        if(from != null){
          creatorOeffnen();
          myCreator.tfTo.setText(from);
          myCreator.tfSb.setText("Reply to: " + subject);
          myCreator.ta.setText("<" + from + ">" + " wrote:\n\n" + mailBody +
                               "\n\n>\n>\n\n");
      public void end(){
        String h = "";
        for (int i=0; i<mailIndexVector.size(); i++){
          MailIndex index = (MailIndex)mailIndexVector.elementAt(i);
          h += index.mailId + "\n";
          h += index.folder + "\n";
          h += index.subject + "\n";
          h += index.from + "\n";
          h += index.to + "\n";
          h += index.date + "\n";
          h += index.read + "\n";
        myWriter.writer(h,"Summary.4on");
        String w = "";
        for (int l=0; l<filterIndexVector.size(); l++){
          FilterIndex index = (FilterIndex)filterIndexVector.elementAt(l);
          w += index.folder + "\n";
          w += index.from + "\n";
          w += index.text + "\n";
        myWriter.write(w,"Filter.4on");
        String k = "";
        for(int j=0; j<folderVector.size(); j++)
          k += folderVector.elementAt(j).toString() + "\n";
        myWriter.writer(k,"Folder.4on");
        String t = "";
        for (int l=0; l<myAddressBook.addressIndexVector.size(); l++){
          AddressIndex aindex =
                   (AddressIndex)myAdressBook.adressIndexVector.elementAt(l);
          t += aindex.alias + "\n";
          t += aindex.email + "\n";
        myWriter.write(t,"Address.4on");
        setVisible(false);
        dispose();
        System.exit(0);
      public void filterOpen(){
        boolean test = false;
        if(tree.getLastSelectedPathComponent() != null){
          DefaultMutableTreeNode node =
              (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
          Object nodeInfo = node.getUserObject();
          if(nodeInfo instanceof String){
            myFilter.folder = (String)nodeInfo;
            for(int i=0; i<filterIndexVector.size(); i++){
              FilterIndex h = (FilterIndex)filterIndexVector.elementAt(i);
              if(h.folder.equals(nodeInfo)){
                myFilter.index = h;
                test = true;
                if(h.from.equals("")){
                  myFilter.box1 = false;
                  myFilter.fTf.setText("");
                  myFilter.fBox.setSelected(false);
                  myFilter.fTf.setEditable(false);
                else{
                  myFilter.box1 = true;
                  myFilter.fTf.setText(h.from);
                  myFilter.fBox.setSelected(true);
                  myFilter.fTf.setEditable(true);
                if(h.text.equals("")){
                  myFilter.box2 = false;
                  myFilter.tTf.setText("");
                  myFilter.tBox.setSelected(false);
                  myFilter.tTf.setEditable(false);
                else{
                  myFilter.box2 = true;
                  myFilter.tTf.setText(h.text);
                  myFilter.tBox.setSelected(true);
                  myFilter.tTf.setEditable(true);
                break;
          myFilter.setVisible(true);
          myFilter.fBox.requestFocus();
        else
          meldung("No selection");
      public void sendOutbox(){
        fromOutbox = true;
        int i;
        Block1:
        for(i=0; i<mailIndexVector.size(); i++){
          MailIndex index = (MailIndex)mailIndexVector.elementAt(i);
          if(index.folder.equals("Outbox")){
            Vector mailVector = myReader.read(index.mailId);
            Block2:
            for(int j=0; j<mailVector.size(); j++){
              String m = (String)mailVector.elementAt(j);
              if(m.indexOf("Subject:") != -1){
                for(int k=0; k<=j+1; k++){
                  mailVector.removeElementAt(0);
                break Block2;
            Vector toVector = new Vector();
            int tEnd = 1;
            String line = "";
            String t = index.to;
            while (tEnd != -1){
              tEnd = t.indexOf(", ");
              if (tEnd == -1)
                line = t;
              else
                line = t.substring(0,tEnd);
              t = t.substring(tEnd + 1);
              toVector.addElement(line);
            File home = new File(".");
            String mailsVerzeichnis = "." + home.separator + "data";
            File datei = new File(mailsRemark, index.mailId);
            datei.delete();
            mySendman = new Sendman(mailVector, toVector, index.subject,ailsAnzeig, mySetup, this);
            mySendman.start();
            mailIndexVector.removeElement(index);
            break Block1;
        if(i == mailIndexVector.size())
          fromOutbox = false;
        treeNewSign();
      public void partion(String cmd){
        if(tree.getLastSelectedPathComponent() != null){
          DefaultMutableTreeNode node =
              (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
          Object nodeInfo = node.getUserObject();
          if(nodeInfo instanceof MailIndex){
            MailIndex index = (MailIndex)nodeInfo;
            index.folder = cmd.substring(13).toString();
            treeNewSign();
        else
          meldung("No mails to partion!");
      public void SetupOpen(){
        if (mySetup.savePassword == false)
          mySetup.pTf.setText("");
        mySetup.setVisible(true);
        mySetup.aTf.requestFocus();
      public void addressbookOpen(){
        myAddressBook.setVisible(true);
        myAdressBook.tree.requestFocus();
      public void creatorOpen(){
        myCreator.setVisible(true);
        myCreator.tfTo.requestFocus();
      public void actionPerformed(ActionEvent event){
        Object obj = event.getSource();
        if (obj instanceof JMenuItem){
          String cmd = event.getActionCommand();
          if (cmd.equals("New fetched")){
            mailsfetch();
          else if (cmd.equals("Written new mails")) {
            creatorOpen();
          else if (cmd.equals("Reply")) {
            reply();
          else if (cmd.equals("Forward")) {
            forward();
          else if (cmd.equals("Outbox")) {
            sendOutbox();
          else if (cmd.equals("Delete")) {
            delete();
          else if ((cmd.length() >13) &&
                   (cmd.substring(0,13).equals("Sorting-"))){
            sorting(cmd);
          else if (cmd.equals("Using Addressbook")){
            addressbookOpen();
          else if (cmd.equals("Filter working")){
            filterOpen();
          else if (cmd.equals("New Order")){
            myFixTask.tf.setText("");
            myFixTask.setVisible(true);
            myFixTask.tf.requestFocus();
          else if (cmd.equals("delete")){
            delete();
          else if ((cmd.length() >7) &&
                   (cmd.substring(0,7).equals("nobody"))){
            if(viewSource == false){
              viewSource = true;
              menuNewSign();
              if(tree.getLastSelectedPathComponent() != null){
                DefaultMutableTreeNode node =
                    (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
                Object nodeInfo = node.getUserObject();
                if(nodeInfo instanceof MailIndex){
                  MailIndex index = (MailIndex)nodeInfo;
                  mailsRemark(index.mailId);
            else{
              viewSource = false;
              menuNeuZeichnen();
              if(tree.getLastSelectedPathComponent() != null){
                DefaultMutableTreeNode node =
                    (DefaultMutableTreeNode)tree.getLastSelectedPathComponent();
                Object nodeInfo = node.getUserObject();
                if(nodeInfo instanceof MailIndex){
                  MailIndex index = (MailIndex)nodeInfo;
                  mailsRemark(index.mailId);
          else if (cmd.equals("Setup")){
            SetupOpen();
        else if (obj instanceof JButton){
          String cmd = event.getActionCommand();
          if (cmd.equals("aga")){
            mailsHolen();
          else if (cmd.equals("Creator Open")){
            creatorOpem();
          else if(cmd.equals("rep")){
            reply();
          else if(cmd.equals("fwd")){
            forward();
          else if(cmd.equals("Setup Open")){
            SetupOpen();
          else if(cmd.equals("adr")){
            addressbookOpen();
          else if(cmd.equals("delete")){
            delete();
          else if(cmd.equals("Information")){
            myInfo.setVisible(true);
            myInfo.b.requestFocus();
      private class myWindowListener extends WindowAdapter{
        public void windowClosing(WindowEvent event){
          end();
      private class myTreeSelectionListener implements TreeSelectionListener{
        public void valueChanged(TreeSelectionEvent e) {
          DefaultMutableTreeNode node =
              (DefaultMutableTreeNode)(e.getPath().getLastPathComponent());
          Object nodeInfo = node.getUserObject();
          if(nodeInfo instanceof MailIndex){
            MailIndex index = (MailIndex)nodeInfo;
            mailsAnzeigen(index.mailId);
            index.read = "Yes";
    }

  • Trouble compiling for printed documentation

    hello, i am having trouble compiling a new document layout i
    have created, i have followed peter grainges instructions on his
    website but it always fails to generate straight away. Im using
    Robohelp x5 with word 2000, does anyone have any ideas?
    thanks steve

    Steve
    Was RH installed on the PC you are using with you logon or
    that of the person whose job you have taken over? It sounds very
    much like the latter and this is exactly what I would expect to
    happen.
    Try creating a new project with just a couple of topics and
    printing from that. It will likely also fail. If it does that
    pretty much confirms my theory. Uninstall and reinstall RH with
    your logon and with admin rights attached and the problem will
    likely go away.

  • Trouble compiling a stored procedure

    Hello, I have trouble compiling a stored procedure. I include part of the code because I think the key problem is illustrated in these lines:
    date1 is declared as a DATE.
    index_value2 NUMBER;
    BEGIN
    date1 := (select sysdate from dual);
    index_value2 := (select index_value from tmsdat.a_index_values where price_date < (SELECT sysdate -180
       FROM dual) and price_date > (SELECT sysdate -210
       FROM dual));
    [\code]
    The problem seems to be that a more complex syntax is included in the allocation statement (:=), can that be the case? That is, no select etc??
    How is this solved?
    Any help much appreciated!
    best regards
    Harald                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Well, actually WhiteHat´s magic did the trick, but two errors:
    temp := (select (to_number(to_char(sysdate, 'DD'))-1)/(decode(to_char(sysdate,'MM'),'02',28,30)) as result
       from dual);
    [\code]
    this line generates problems but I think the approach is the same maybe, that is:
    select to_number(to_char(sysdate, 'DD'))-1)/(decode(to_char(sysdate,'MM'),'02',28,30)) into temp as result frmo dual
    Further, some error about encountering end of line?
    END CONVERT_MARKET_INDEX;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Trouble compiling servlet example

    Hi All, I am trying out an example for servlets and I ran into trouble compiling the the file called "FormProcessingServlet.java" in tutorial located here: http://developer.java.sun.com/developer/onlineTraining/Servlets/Fundamentals/magercises/FormPostingAndProcessing/index.html
    The exact problem happens in this line:
    isStructure = context.getResourceAsStream(paramStructureFile[0]);
    The error says:
    FormProcessingServlet.java:127: cannot resolve symbol
    symbol : method getResourceAsStream (java.lang.String)
    location: interface javax.servlet.ServletContext
    isStructure = context.getResourceAsStream(paramStructureFile[0]);
    anyone else ran into this problem? How do I fix this? Thanks.

    "cannot resolve symbol" means that the JVM can't find a particular class.
    Adjust your systems classpath variable to include all the jar files that you use, I also add "." to include files in the current directory I'm working from.

  • Having trouble compiling

    I am a total newbie at programming and I am having trouble compiling. In the MS-DOS prompt, I located the folder where my .java file is located and typed the following:
    javac SampleProgram.java
    I received a "Bad command or file name" error. I am typing the names correctly. I am using Java 2 SDK, Standard Edition Version 1.3.1. Am I doing something wrong?
    Thanks for any help.

    That should fix it. The problem is that DOS needs to know where to find the executable files like javac.exe
    You can either set the path temporarily by typing
    SET PATH=.;c:\jdk1.3.1\bin
    at the command prompt each time you open a command window, or you can set it more permanently by adding it to your startup config. This will depend on your OS. On win 98 for example, there is an AUTOEXEC.BAT (usually with a SET PATH command already present). You could open this in notepad to add/change:
    SET PATH=C:\WINDOWS
    to
    SET PATH=C:\WINDOWS;.;C:\JDK1.3.1\BIN
    Reboot to make the changes take effect. Other OS's may have a special dialog to set this kind of command.
    Hope this helps some.

  • Trouble compiling package with JDK 1.4

    Hi,
    I just installed JDK 1.4 on a new machine, now I have trouble running compile scripts that used to work on my old machine. The old an new are configured with Win 2000. The following compiles without problem:
    javac -classpath "..." -d "..." "c:\.....\com\...\some package\MyClass.java"
    Changing this statemetn to:
    javac -classpath "..." -d "..." "c:\.....\com\...\some package\*.java"
    should compile all Java files in 'some package', instead what I get is the following error message:
    error: cannot read: c:\.....\com\...\some package\*.java
    The documentation says that this should still work. Anyone aware of changes in 1.4 that could cause this problem?
    Thanks for responding

    As a work-around, you can use some Unix-styled shell (that is, command processor) which expands the *.expression into the list of the matching file names, thus releaving javac from this task. (Caveat: directory names with a space inside will cause problems.)
    I can recommend the Cygnus package (including the command processor "bash") or "MinGW", the Minimalist GNU For Windows with its simpler sh:
    http://www.mingw.org/
    ftp://ftp.franken.de/pub/win32/develop/gnuwin32/mingw32/porters/Mikey/

  • Trouble compiling code

    I'm trying to write a rock, paper, scissors program but am having trouble converting an integer to its appropriate string. Here is the code I have:
    // Rock.java
    // Play Rock, Paper, Scissors with the user
    import java.util.Scanner;
    import java.util.Random;
    public class Rock
    public static void main(String[] args)
         String personPlay; //User's play -- "R", "P", or "S"
         String computerPlay; //Computer's play -- "R", "P", or "S"
         int computerInt; //Randomly generated number used to determine
         //computer's play
    Scanner scan = new Scanner(System.in);
         Random generator = new Random();
         computerInt = generator.nextInt(3);//Generate computer's play (0,1,2)
         //Translate computer's randomly generated play to string
         switch (computerInt)
         case 0:
              System.out.println ("R");
              break;
         case 1:
              System.out.println ("P");
              break;
         case 2:
              System.out.println ("S");
              break;
    System.out.println ("Enter your play: R, P, or S");//Get player's play from input-- note that this is stored as a string
    personPlay = scan.nextLine();
    personPlay = personPlay.toUpperCase();     //Make player's play uppercase for ease of comparison
    System.out.println ("Computer play is " + computerPlay);     //Print computer's play
         //See who won. Use nested ifs instead of &&.
         if (personPlay.equals(computerPlay))
         System.out.println("It's a tie!");
         else
              if (personPlay.equals("R"))
                   if (computerPlay.equals("S"))
                   System.out.println("Rock crushes scissors. You win!!");
              if (computerPlay.equals("P"));
                   System.out.println("Paper covers rock. You lose");
                   if (personPlay.equals("P"))
                        if (computerPlay.equals("R"))
                        System.out.println("Paper covers rock. You win!!");
                        if (computerPlay.equals("S"))
                                  System.out.println("Scissors cuts paper. You lose");
                   if (personPlay.equals("S"))
                             if (computerPlay.equals("R"));
                                       System.out.println("Rock crushes scissors. You lose");
                             if (computerPlay.equals("P"))
                             System.out.println("Scissors cuts paper. You win!!");
              //... Fill in rest of code
    My compiling error is that the string computerPlay was not initialized.. I think I need to do something more in the switch section of the code but can't figure out what. Thanks ahead of time for any advice!

    soccer89 wrote:
    My compiling error is that the string computerPlay was not initialized.. I think I need to do something more in the switch section of the code but can't figure out what. Thanks ahead of time for any advice!Instead of running System.out.println() set the value in your switch statementl then run
    System.out.println(computerPlay);after it's properly set.
    BTW, rather than a switch statement, you could use
    computerPlay = "RPS".substring(computerInt, computerInt + 1);I'll leave you to work out why.
    Winston

  • Trouble compiling a library

    Hi folks, I'm experiencing a trouble using forms & reports on two different platforms: Win XP Prof. SP2 for development and SuSe Ent. 9 Linux for deployment.
    I've inherited from another person an application with some forms, some reports and two libraries (one attached to the forms annd the other attacched to the reports).
    I've modified a function in the library attacched to the reports. It compiles ok on XP.
    Moved the library (.pll file) to Suse I tried to compile with:
    #!/bin/sh
    PATH_SAVE=$PWD
    ORACLE_HOME=/opt/oracle/app/oracle/product/frs10.1.2
    export ORACLE_HOME
    FORMS_PATH=/opt/csa/sw/webapp/FORMS:/opt/csa/sw/webapp/CSA_LIBS
    export FORMS_PATH
    REPORTS_PATH=/opt/csa/sw/webapp/REPORTS:/opt/csa/sw/webapp/CSA_LIBS
    export REPORTS_PATH
    TNS_ADMIN=$ORACLE_HOME/network/admin
    export TNS_ADMIN
    TWO_TASK=csa_v30/csa_v30@csa5i009
    export TWO_TASK
    ORACLE_SID=csa5i009
    export ORACLE_SID
    LD_LIBRARY_PATH=$ORACLE_HOME/jdk/jre/lib/i386/server:$ORACLE_HOME/jdk/jre/lib/i386/native_threads:$ORACLE_HOME/jdk/jre/lib/i386:$ORACLE_HOME/lib
    export LD_LIBRARY_PATH
    ORACLE_TERM=vt220
    export ORACLE_TERM
    # COMPILE LIBRARIES
    cd /opt/csa/sw/webapp/CSA_LIBS
    $ORACLE_HOME/bin/frmcmp_batch module=LIB_CSA_FORMS.pll userid=csa_v30/csa_v30@csa5i009 module_type=LIBRARY compile_all=YES logon=YES batch=YES
    # COMPILE FORMS and MENUS
    cd /opt/csa/sw/webapp/FORMS
    for file in *.fmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=FORM compile_all=YES logon=YES batch=YES
    done
    for file in *.mmb
    do
    $ORACLE_HOME/bin/frmcmp_batch module=$file userid=csa_v30/csa_v30@csa5i009 module_type=MENU compile_all=YES logon=YES batch=YES
    done
    cd $PATH_SAVE
    unset PATH_SAVE
    and obtained:
    PL/SQL ERROR 201 at line 58, coloumn 5
    identifier 'SRW.SET_FOREGROUND_FILL COLOR' must be declared
    FRM-30312: Failed to compile the library
    Some useful data:
    Forms [32 Bit] Version 10.1.2.0.2 (Production)
    Oracle Toolkit Version 10.1.2.0.2 (Production)
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle Query Builder 10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
    Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE     10.1.0.4.0     Production
    And:
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE     10.1.0.4.0     Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    Any advice will be welcome
    Thanx
    Rob

    This package currently compiles fine with the latest gcc (at least last time I checked), but still I'm having trouble making a package for it because I don't know how to get it to install to a custom location like the $startdir/pkg directory.

  • Trouble compiling X11r6.8.0

    I'm having a problem compiling this version (trying to build a driver with a change.)
    Here's the error I get:
    fbmmx.c: In function 'negate':
    fbmmx.c:107: error: incompatible type for argument 1 of '__builtin_ia32_pxor'
    fbmmx.c:107: error: incompatible type for argument 2 of '__builtin_ia32_pxor'
    fbmmx.c: In function 'expand_alpha':
    fbmmx.c:166: error: incompatible type for argument 1 of '__builtin_ia32_por'
    fbmmx.c:166: error: incompatible type for argument 2 of '__builtin_ia32_por'
    fbmmx.c:166: error: incompatible types in assignment
    fbmmx.c:168: error: incompatible type for argument 1 of '__builtin_ia32_por'
    fbmmx.c:168: error: incompatible type for argument 2 of '__builtin_ia32_por'
    fbmmx.c:168: error: incompatible types in assignment
    I'm building with this gcc and Arch 0.7.1
    L%  gcc --version
    gcc (GCC) 4.0.3 20051222 (prerelease)
    Copyright (C) 2005 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    Any ideas?
       Thanks.

    Well, it's worth a note that some proprietary display drivers don't like composite and render. The nVidia ones seem to be working pretty well, but ATI always gave trouble with these things. I'm not using composite currently but I did in the past with no problems on nVidia hardware.
    Maybe the above should be stated as "issues with xorg7 tend to be caused by unstable drivers and bad configs."

  • Trouble compiling PHP extension w/ threaded PHP 5.2.4

    Hello,
    I'm having some trouble installing the Berkeley DB XML PHP extension on Debian Sarge 3.1.
    First, I installed Berkeley DB XML 2.3.10 using the buildall.sh script into /usr/local/dbxml-2.3.10/.
    Then, I downloaded PHP 5.2.4 source code, compiled it using pthreads (configure --enable-maintainer-zts) and installed it in /usr/local/php-5.2.4/.
    I've built the db4.so extension and it seems to work (verified by running the example simple_counter.php script and seeing that the counter is incremented).
    However, building the Berkeley DB XML extension fails with the following error:
    /home/dbxml-2.3.10/dbxml/src/php/php_dbxml_eventreadertowriter.cpp: In function `void zim_XmlEventReaderToWriter_XmlEventReaderToWriter(int, zval*, zval**, zval*, int, void***)':
    /home/dbxml-2.3.10/dbxml/src/php/php_dbxml_eventreadertowriter.cpp:27: error: parse error before `*' token
    /home/dbxml-2.3.10/dbxml/src/php/php_dbxml_eventreadertowriter.cpp:27: error: `reader' declared as reference but not initialized
    /home/dbxml-2.3.10/dbxml/src/php/php_dbxml_eventreadertowriter.cpp:29: error: parse error before `*' token
    /home/dbxml-2.3.10/dbxml/src/php/php_dbxml_eventreadertowriter.cpp:29: error: `writer' declared as reference but not initialized
    It's solved by changing TSRMLS_DC to TSRMLS_CC in these two lines:
    26 XmlEventReader &reader =
    27 php_dbxml_get_XmlEventReader_object_pointer(rval TSRMLS_CC);
    28 XmlEventWriter &writer =
    29 php_dbxml_get_XmlEventWriter_object_pointer(wval TSRMLS_CC);
    However, there are still errors:
    /usr/local/php-5.2.4/include/php/Zend/zend_exceptions.h: In function `void php_dbxml_init_exceptions()':
    /usr/local/php-5.2.4/include/php/Zend/zend_exceptions.h:33: error: too few arguments to function `zend_class_entry* zend_exception_get_default(void***)'
    /home/loumz/xspc2/dbxml-2.3.10/dbxml/src/php/php_dbxml_exception.cpp:25: error: at this point in file
    /home/loumz/xspc2/dbxml-2.3.10/dbxml/src/php/php_dbxml_exception.cpp:25: error: `tsrm_ls' undeclared (first use this function)
    /home/loumz/xspc2/dbxml-2.3.10/dbxml/src/php/php_dbxml_exception.cpp:25: error: (Each undeclared identifier is reported only once for each function it appears in.)
    This is because maybe zend_exception_get_default needs the tsrm_ls (what is this anyway? some sort of thread-local storage pointer?)
    OK, but inside the php_dbxml_init_exceptions() there is no pointer so it is fixed with a fetch (also there is another one like that on line 51):
    22 void php_dbxml_init_exceptions()
    23 {
    24 zend_class_entry ce;
    25 TSRMLS_FETCH();
    26 PHP_DBXML_REGISTER_CLASS_WITH_PARENT(XmlException, zend_exception_get_default(TSRMLS_C), php_dbxml_XmlException_dtor);
    49 zval *xml_ex;
    50 TSRMLS_FETCH();
    51 MAKE_STD_ZVAL(xml_ex);
    In php_dbxml_document.cpp there is also use of TSRMLS_DC inside code that leads to errors (Looking at the macro definition I think this is for declarations right?) so we change it.
    80 XmlEventWriter &writer = php_dbxml_get_XmlEventWriter_object_pointer(zv TSRMLS_CC);
    103 XmlEventReader &reader = php_dbxml_get_XmlEventReader_object_pointer(zstr TSRMLS_CC);
    And finally it compiled and worked (judging by the examples anyway).
    Please tell me if I did something wrong along the way. Is it better to compile PHP without ZTS and compile BDB XML without pthreads to avoid this mess?

    It seems like that was not the end of the troubles. When executing examples/10.php php crashes with a relocation error saying that it can't find php_db4_getDbEnvFromObj (which should be in the db4.so php module).
    OK, so I grab the g++ linking command that the libtool invocation spits out and add the installed db4.so to the object files and the extension diretory to rpath (I don't know if I can use the config.m4 because the db4.so has no lib prefix i.e. libdb4.so). Now ldd reports that it's linking correctly to the installed db4.so so I try again. The same relocation error pops up.
    When I checked, it seems like db4.so has C++ mangled symbol of php_db4_getDbEnvFromObj(_zval_struct*, void***), but not the C form, and dbxml.so is expecting the C form because it includes php_db4.h inside extern "C".
    This is probably because while the header php_db4.h is included within extern "C" {} within the db4.cpp impl file, the prototypes don't match (there is one additional param in the impl) between the ones in the header and the ones in the .cpp file because of the threading additions...
    Why do I get the feeling the compilation w/ threaded PHP has not been tested at all :-(. I give up, I'm compiling a nonthreaded version of PHP instead. For my use, this shouldn't matter anyway, but it would be nice if it was possible (or at least say it's not quite tested in the README file).

  • Geany Trouble: Compiling Perl Scripts (and general Perl questions)

    I'm brand new to Perl because I hear it's one of the best and so far I've found that it is.  I used to program a little C++ here and there and a while ago taught myself python but I'd have to say Perl is better than both of them.  At any rate, that's neither here nor there.  I use Geany and love it, so I didn't see a reason to switch to something new for Perl.  Unfortunately I'm having some trouble with compiling.  Geany flat out refuses to.  I looked around and didn't find anything on here or in the wiki or on the Ubuntu forums other than one person who said to replace the compile command with the execute command. 
    So, do I even need to compile my Perl scripts or is there something else I'm missing?
    On a somewhat related note, the same user on the Ubuntu forums said that at the top of the code there should be:
    #!/usr/bin/perl -w
    I'm curious if I need the "-w" or what it even does since as of right now I have
    #!/usr/bin/perl
    and executing the program poses no problems.
    Any help is greatly appreciated,
    --Wes

    Well, for one, perl is not a compiled language. You can if you want to, but it gains you few benefits. Google for "perl compiler" if you really must.
    As for the second, do you know how the shebang line works in unix, and do you know what the -w option does for perl? The answer should reveal itself to you.
    Make sure you "use strict;", it will catch many errors.

  • .java files located in different directories - trouble compiling

    My attempts at getting my main .class file (../master/BicycleMaster.class) to automatically recognize that it's supporting .class file (../master/child/BicycleChild.class) located one directory below keep failing and the .java files won't compile.
    If I move both .java files to the same location (in the ../master directory) then they compile and run just fine, but it's when I want to separate them into the two different directories that I have a problem compiling them. They won't compile because the references in BicycleMaster.jave to BicycleChild.java can't be resolved.
    I was hoping - if you have time - that you might be able to show me by example in the code below? In the file ../master/BicycleMaster.java I added 'package master;' as the first line of the code. It was my impression that this would tell the compiler to look in the sub-directories for any additional .java files. This didn't work either.
    HERE ARE THE DETAILS:
    Directory of K:\COMMON\ITS\STEVEB\java\master
    03/04/2008 04:25 PM <DIR> .
    03/04/2008 04:25 PM <DIR> ..
    03/04/2008 04:24 PM 612 BicycleMaster.java
    03/04/2008 03:54 PM <DIR> child
    1 File(s) 612 bytes
    K:\COMMON\ITS\STEVEB\java\master>type BicycleMaster.java
    package master;
    class BicycleMaster {
        public static void main(String[] args) {
            //Create 2 different bicycle objects
            BicycleChild bike1 = new BicycleChild();
            BicycleChild bike2 = new BicycleChild();
            //Invoke methods on the objects
            bike1.changeCadence(50);
            bike1.speedUp(10);
            bike1.changeGear(2);
            bike1.printStates();
            bike2.changeCadence(50);
            bike2.speedUp(10);
            bike2.changeGear(2);
            bike2.changeCadence(40);
            bike2.speedUp(10);
            bike2.changeGear(3);
            bike2.printStates();
    }Directory of K:\COMMON\ITS\STEVEB\java\master\child
    03/04/2008 03:54 PM <DIR> .
    03/04/2008 03:54 PM <DIR> ..
    03/04/2008 03:54 PM 524 BicycleChild.java
    1 File(s) 524 bytes
    K:\COMMON\ITS\STEVEB\java\master\child>type BicycleChild.java
    class BicycleChild {
        int cadence = 0;
        int speed = 0;
        int gear = 1;
        void changeCadence(int NewValue) {
            cadence = NewValue;
        void changeGear(int NewValue) {
            gear = NewValue;
        void speedUp(int increment) {
            speed = speed + increment;
        void applyBrakes(int decrement) {
            speed = speed - decrement;
        void printStates() {
            System.out.println("Your cadence: "+cadence+", Your speed: "+speed+", Your gear: "+gear);
    }HERE ARE THE ERRORS:
    First I compile the ../master/child/BicycleChild.java file and it compiles fine. This I attempt to compile ../master/BicycleMaster.java and I get the following errors:
    K:\COMMON\ITS\STEVEB\java\master>javac BicycleMaster.java
    BicycleMaster.java:5: cannot find symbol
    symbol : class BicycleChild
    location: class master.BicycleMaster
    BicycleChild bike1 = new BicycleChild();
    ^
    BicycleMaster.java:5: cannot find symbol
    symbol : class BicycleChild
    location: class master.BicycleMaster
    BicycleChild bike1 = new BicycleChild();
    ^
    BicycleMaster.java:6: cannot find symbol
    symbol : class BicycleChild
    location: class master.BicycleMaster
    BicycleChild bike2 = new BicycleChild();
    ^
    BicycleMaster.java:6: cannot find symbol
    symbol : class BicycleChild
    location: class master.BicycleMaster
    BicycleChild bike2 = new BicycleChild();
    ^
    4 errors

    Thanks so much for responding. Progress was definetly made as the compiler now works longer before erroring out. Sadly it's still erroring out for a reason I'm not understanding. Please let me know if you can see where I'm going wrong.
    Here's how it played out for me:
    K:\COMMON\ITS\STEVEB\java>echo %classpath%
    .;k:\common\its\steveb\java\;C:\Program Files\Java\jre1.6.0_04\lib\ext\QTJava.zip
    K:\COMMON\ITS\STEVEB\java\master\child>javac BicycleChild.java
    K:\COMMON\ITS\STEVEB\java\master\child>cd ..
    K:\COMMON\ITS\STEVEB\java\master>javac BicycleMaster.java
    BicycleMaster.java:5: cannot find symbol
    symbol : class BicycleChild
    location: class master.BicycleMaster
    BicycleChild bike1 = new BicycleChild();
    ^
    BicycleMaster.java:5: cannot find symbol
    symbol : class BicycleChild
    location: class master.BicycleMaster
    BicycleChild bike1 = new BicycleChild();
    ^
    BicycleMaster.java:6: cannot find symbol
    symbol : class BicycleChild
    location: class master.BicycleMaster
    BicycleChild bike2 = new BicycleChild();
    ^
    BicycleMaster.java:6: cannot find symbol
    symbol : class BicycleChild
    location: class master.BicycleMaster
    BicycleChild bike2 = new BicycleChild();
    ^
    4 errors
    Here are the two programs revised as you suggested:
    K:\COMMON\ITS\STEVEB\java\master\child>type BicycleChild.java
    package master.child;
    class BicycleChild {
        int cadence = 0;
        int speed = 0;
        int gear = 1;
        void changeCadence(int NewValue) {
            cadence = NewValue;
        void changeGear(int NewValue) {
            gear = NewValue;
        void speedUp(int increment) {
            speed = speed + increment;
        void applyBrakes(int decrement) {
            speed = speed - decrement;
        void printStates() {
            System.out.println("Your cadence: "+cadence+", Your speed: "+speed+", Your gear: "+gear);
    }K:\COMMON\ITS\STEVEB\java\master>type BicycleMaster.java
    package master;
    class BicycleMaster {
        public static void main(String[] args) {
            //Create 2 different bicycle objects
            BicycleChild bike1 = new BicycleChild();
            BicycleChild bike2 = new BicycleChild();
            //Invoke methods on the objects
            bike1.changeCadence(50);
            bike1.speedUp(10);
            bike1.changeGear(2);
            bike1.printStates();
            bike2.changeCadence(50);
            bike2.speedUp(10);
            bike2.changeGear(2);
            bike2.changeCadence(40);
            bike2.speedUp(10);
            bike2.changeGear(3);
            bike2.printStates();
    }

  • Troubles compiling a library in Reports10g connected to Oracle10g server

    I have a very simple library sys_date_2.pld:
    FUNCTION Sys_Date RETURN date IS
    BEGIN
    return k_std.sys_date;
    END;
    I connect to database Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi and try to convert this file to pll or plx. Reports10g terminates with message:
    rwbuilder.exe has generated errors and will be closed...
    Unfortunally I cannot see log files from Event Viewer because security policy.
    When I connect to Oracle 9.2 database server, the library compiles successfully
    k_std.sys_date is a package function returning sysdate without any errors
    What's up?
    Thanks in advance!!!

    Hello ,
    Please check below link
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cc39d8cb-bc64-48e6-8368-24886481dd4f/sql-server-cluster-sql-server-resource-not-coming-online?forum=sqlsetupandupgrade
    http://blogs.technet.com/b/taraj/archive/2009/01/07/could-not-find-any-ip-address-that-this-sql-server-instance-depends-upon.aspx
    Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers

  • Trouble Compiling

    My JDK tools are in C:\Program Files\Java\jdk1.5.0_01\bin and im putting my source codes in C:Java Programs. The Problem that i am having is that i can't seem to get javac to compile my codes in Java Programs folder. If there is anyone that can help me. Thanks

    The problem is Command Prompt does not recognize spaces.
    Try moving the file to a directory with out a space in it.
    Right now you have it in "C:\Program Files\..."
    You should move it to something like "C:\Java\MyFiles\..."
    make sure there are no spaces.
    Move the file in Explorer with COPY ... go to new directory... PASTE.
    Then you can use command prompt and do what you did before in command prompt.
    You can do the previous or you can go to the .java file using Explorer and right click on the file select "Open with..." then in there "Choose Program..." find where your javac.exe is located and double click. Then go back choose "Open With..." agian and select javac
    That should take care of it.
    Do one of the two, I think the second is easier.

Maybe you are looking for

  • Problem while Creating MVLOG with synonym in Oracle 9i:Is it an Oracle Bug?

    Hi All, I am facing a problem while Creating MVLOG with synonym in Oracle 9i but for 10G it is working fine. Is it an Oracle Bug? or i am missing something. SQL> select * from v$version; BANNER Oracle Database 10g Express Edition Release 10.2.0.1.0 -

  • Exchange rate difference posting in parallel currencies

    Hello experts,, We are on ECC 6. When we enter an invoice with MIRO and the current exchange rate differs from that in the PO, the exchange rate differences in local currency and in parallel currency (group currency) post to different accounts. Is th

  • Plug-in update ACR 6.4.1

    Whan selecting "Edit in" option to edit a DNG in Photoshop CS4, I get the prompt, "This version of Lightroom may require the Photoshop Camera Raw plug-in v. 6.4.1 for full compatibility. Please update the Camera Raw plug-in using the update tool avai

  • Cutting text or other from a pdf document in preview

    Hi, Cropping a PDF document in is simple, if you want what is OUTSIDE your crop to be removed. What do I do when I want to remove part of what is in a document and leave the rest  - ie crop it out, not make it the focus ? Help appreciated.

  • Set Codebase and href at runtime

    Hi, I want the codebase and href value in the jnlp file to be set at runtime. Anyone have any idea or a piece of code to achieve the same. Thanks in advance Pankaj