Post Reply 
error when compiling 1.0.9
Feb. 16, 2007, 01:48 PM
Post: #1
error when compiling 1.0.9
hi. i got that error when i compile bfilter 1.0.9 on linux
Code:
./configure --prefix=/usr --sysconfdir=/etc
make
[....]
Making all in libview
make[7]: Entering directory `/home/solstice/abs/bfilter/src/bfilter-1.0.9/main/gui/gtk/libview'
if /bin/sh ../../../../libtool --tag=CXX --mode=compile ccache g++ -DHAVE_CONFIG_H -I. -I. -I../../../..  -I./..  -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DNDEBUG  -march=i686 -O2 -pipe -pthread -MT motionTracker.lo -MD -MP -MF ".deps/motionTracker.Tpo" -c -o motionTracker.lo motionTracker.cc; \
        then mv -f ".deps/motionTracker.Tpo" ".deps/motionTracker.Plo"; else rm -f ".deps/motionTracker.Tpo"; exit 1; fi
ccache g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I./.. -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DNDEBUG -march=i686 -O2 -pipe -pthread -MT motionTracker.lo -MD -MP -MF .deps/motionTracker.Tpo -c motionTracker.cc -o motionTracker.o
In file included from motionTracker.cc:34:
./../libview/motionTracker.hh:44:26: error: gtkmm/widget.h: No such file or directory
./../libview/weakPtr.hh: In member function 'view::WeakPtr<T>::operator bool() const':
./../libview/weakPtr.hh:243: error: 'NULL' was not declared in this scope
./../libview/weakPtr.hh: In static member function 'static void* view::WeakPtr<T>::OnDestroyNotify(void*)':
./../libview/weakPtr.hh:272: error: 'NULL' was not declared in this scope
./../libview/motionTracker.hh: At global scope:
./../libview/motionTracker.hh:52: error: 'sigc' has not been declared
./../libview/motionTracker.hh:52: error: expected `{' before 'signal'
./../libview/motionTracker.hh:52: error: expected initializer before '<' token
motionTracker.cc:57: error: expected constructor, destructor, or type conversion before '(' token
motionTracker.cc:86: error: invalid use of undefined type 'class view::MotionTracker'
./../libview/motionTracker.hh:51: error: forward declaration of 'class view::MotionTracker'
motionTracker.cc: In destructor 'view::MotionTracker::~MotionTracker()':
motionTracker.cc:88: error: 'DisconnectWindows' was not declared in this scope
motionTracker.cc: At global scope:
motionTracker.cc:110: error: invalid use of undefined type 'class view::MotionTracker'
./../libview/motionTracker.hh:51: error: forward declaration of 'class view::MotionTracker'
motionTracker.cc: In member function 'void view::MotionTracker::ConnectWindows()':
motionTracker.cc:112: error: 'Glib' has not been declared
motionTracker.cc:112: error: 'Gdk' has not been declared
motionTracker.cc:112: error: 'window' was not declared in this scope
motionTracker.cc:112: error: 'mTarget' was not declared in this scope
motionTracker.cc:114: error: incomplete type 'view::MotionTracker' used in nested name specifier
motionTracker.cc:120: error: 'mWindows' was not declared in this scope
motionTracker.cc:120: error: 'Gdk' was not declared in this scope
motionTracker.cc:120: error: template argument 1 is invalid
motionTracker.cc: At global scope:
motionTracker.cc:145: error: invalid use of undefined type 'class view::MotionTracker'
./../libview/motionTracker.hh:51: error: forward declaration of 'class view::MotionTracker'
motionTracker.cc: In member function 'void view::MotionTracker::DisconnectWindows()':
motionTracker.cc:147: error: 'WindowVector' has not been declared
motionTracker.cc:147: error: expected `;' before 'i'
motionTracker.cc:147: error: 'i' was not declared in this scope
motionTracker.cc:147: error: 'mWindows' was not declared in this scope
motionTracker.cc:149: error: incomplete type 'view::MotionTracker' used in nested name specifier
motionTracker.cc:152: error: 'mWindows' was not declared in this scope
motionTracker.cc: At global scope:
motionTracker.cc:173: error: invalid use of undefined type 'class view::MotionTracker'
./../libview/motionTracker.hh:51: error: forward declaration of 'class view::MotionTracker'
motionTracker.cc: In member function 'void view::MotionTracker::ReconnectWindows()':
motionTracker.cc:175: error: 'DisconnectWindows' was not declared in this scope
motionTracker.cc:176: error: 'ConnectWindows' was not declared in this scope
motionTracker.cc:179: error: 'emit' was not declared in this scope
motionTracker.cc: At global scope:
motionTracker.cc:201: error: 'GdkFilterReturn' does not name a type
make[7]: *** [motionTracker.lo] Error 1
make[7]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.0.9/main/gui/gtk/libview'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.0.9/main/gui/gtk'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.0.9/main/gui/gtk'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.0.9/main/gui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.0.9/main'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.0.9/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/solstice/abs/bfilter/src/bfilter-1.0.9'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

the configure gives me no error
why does it seem to need some gtkmm related stuff ? well with gtkmm installed it does not work either ...
Add Thank You Quote this message in a reply
Feb. 16, 2007, 02:45 PM
Post: #2
RE: error when compiling 1.0.9
Non-gui builds fail in 1.0.8 and 1.0.9, that's a known bug. I didn't release a fixed version because this would be the only change since 1.0.9 and because it affects few people. You can either build --with-gui (it will build both gui and non-gui version), or edit this file:
main/gui/gtk/libview/Makefile.am
to look like this:
http://bfilter.svn.sourceforge.net/viewv...iew=markup
Add Thank You Quote this message in a reply
Feb. 16, 2007, 03:05 PM
Post: #3
RE: error when compiling 1.0.9
ok thnx
i used the new Makefile.am. it compiles Smile!

i can't see the need and use for a GUI. i like bfilter because it does not need any configuration.

when i need to turn it off, i use the 'do not use proxy' in my browser. so no need to turn it off. even on windows
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: