Svn trunk version (r327) won't compile

0 views
Skip to first unread message

Darren

unread,
Sep 16, 2009, 8:11:36 PM9/16/09
to vtg-dev
Hi,
when I try to compile vtg(trunk version) with gtksourcecompletion
(0.7.0)
I got the following error,I found that the header file gsc-
trigger.h no longer exists
in gtksourcecompletion(0.7.0) although it is in 0.5.
Does svn trunk version of vtg currently not work with
gtksourcecompletion(0.7.0)?

make[4]: Entering directory `/home/darren/src/vala/vtg/vtg'
CC vtgsymbolcompletionprovider.lo
vtgsymbolcompletionprovider.c:33:45: error: gtksourcecompletion/gsc-
trigger.h: No such file or directory
vtgsymbolcompletionprovider.c:171: error: expected declaration
specifiers or '...' before 'GscTrigger'
vtgsymbolcompletionprovider.c: In function
'vtg_symbol_completion_provider_initialize_calltip_window':
vtgsymbolcompletionprovider.c:513: warning: passing argument 1 of
'g_object_ref_sink' makes pointer from integer without a cast
vtgsymbolcompletionprovider.c: At top level:
vtgsymbolcompletionprovider.c:588: error: expected declaration
specifiers or '...' before 'GscTrigger'
vtgsymbolcompletionprovider.c: In function
'vtg_symbol_completion_provider_real_get_proposals':
vtgsymbolcompletionprovider.c:596: error: 'trigger' undeclared (first
use in this function)
vtgsymbolcompletionprovider.c:596: error: (Each undeclared identifier
is reported only once
vtgsymbolcompletionprovider.c:596: error: for each function it appears
in.)
vtgsymbolcompletionprovider.c: In function
'vtg_symbol_completion_provider_append_symbols':
vtgsymbolcompletionprovider.c:690: warning: assignment makes pointer
from integer without a cast
vtgsymbolcompletionprovider.c:702: warning: passing argument 2 of
'g_list_sort' from incompatible pointer type
vtgsymbolcompletionprovider.c: In function
'vtg_symbol_completion_provider_proposal_sort':
vtgsymbolcompletionprovider.c:713: warning: assignment makes pointer
from integer without a cast
vtgsymbolcompletionprovider.c:715: warning: assignment makes pointer
from integer without a cast
vtgsymbolcompletionprovider.c: In function
'_vtg_symbol_completion_provider_on_view_key_press_gtk_widget_key_press_event':
vtgsymbolcompletionprovider.c:1835: warning: passing argument 2 of
'vtg_symbol_completion_provider_on_view_key_press' from incompatible
pointer type
vtgsymbolcompletionprovider.c: In function
'vtg_symbol_completion_provider_gsc_provider_interface_init':
vtgsymbolcompletionprovider.c:2112: error: 'GscProviderIface' has no
member named 'finish'
vtgsymbolcompletionprovider.c:2114: error: 'GscProviderIface' has no
member named 'get_proposals'
make[4]: *** [vtgsymbolcompletionprovider.lo] Error 1
make[4]: Leaving directory `/home/darren/src/vala/vtg/vtg'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/darren/src/vala/vtg/vtg'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/darren/src/vala/vtg/vtg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/darren/src/vala/vtg'
make: *** [all] Error 2

Andrea Del Signore

unread,
Sep 19, 2009, 7:58:51 AM9/19/09
to vtg...@googlegroups.com
On Wed, 2009-09-16 at 17:11 -0700, Darren wrote:
> Hi,
> when I try to compile vtg(trunk version) with gtksourcecompletion
> (0.7.0)
> I got the following error,I found that the header file gsc-
> trigger.h no longer exists
> in gtksourcecompletion(0.7.0) although it is in 0.5.
> Does svn trunk version of vtg currently not work with
> gtksourcecompletion(0.7.0)?
> ....

Hi Darren,

I just tried to compile vtg with gtksourcecompletion 0.7.0 and it
compiles without any errors. So can you check if your environment
satisfies these requirements?

1) vala compiler should be the new 0.7.6 or at least the more recent
than commit 66ee67c85209b6cbc8f488c2bd003b0bc3a9fc3b (the 0.7.0 or 0.7.5
versions aren't enough)
2) Gtk Source Completion should be the 0.7.0 version
(http://cloud.github.com/downloads/chuchiperriman/gtksourcecompletion/gtksourcecompletion-0.7.0.tar.gz)

If these requirements are satisfied, maybe the cause is that you haven't
done a clean build of vtg.

Just try with these commands (in the vtg main directory):

1) rm */*.stamp
2) make clean
3) make

the first command with force the build system to recompile all the vala
files.

I hope this helps.

Ciao,
Andrea


Darren

unread,
Sep 19, 2009, 3:57:34 PM9/19/09
to vtg-dev
Hi ,Andrea

On Sep 19, 7:58 pm, Andrea Del Signore <seje...@tin.it> wrote:
> On Wed, 2009-09-16 at 17:11 -0700, Darren wrote:
> > Hi,
> >   when I try to compile vtg(trunk version) with gtksourcecompletion
> > (0.7.0)
> >   I got the following error,I found that the header file  gsc-
> > trigger.h no  longer exists
> >   in gtksourcecompletion(0.7.0) although it is in 0.5.
> >   Does svn trunk version of vtg  currently not work with
> > gtksourcecompletion(0.7.0)?
> > ....
>
> Hi Darren,
>
> I just tried to compile vtg with gtksourcecompletion 0.7.0 and it
> compiles without any errors. So can you check if your environment
> satisfies these requirements?
>
> 1) vala compiler should be the new 0.7.6 or at least the more recent
> than commit 66ee67c85209b6cbc8f488c2bd003b0bc3a9fc3b (the 0.7.0 or 0.7.5
> versions aren't enough)
> 2) Gtk Source Completion should be the 0.7.0 version
> (http://cloud.github.com/downloads/chuchiperriman/gtksourcecompletion/...)

this helps! I checked out the 0.7.0 tag of gtksourcecompletion,the
git HEAD is too
new for vtg to comple.
Reply all
Reply to author
Forward
0 new messages