Closed tastyminerals closed 8 years ago
Oh, sorry.
Old version(< =1.24.1) couldn't be built.
Now, probably I fixed it. Try again.
Nope, here is what I get:
(trusty)tasty@localhost:~/dev/geany-jedi-complete$ make install
mkdir -p lib/geany-complete-core/src/
g++ -c geany-complete-core/src/cc_plugin.cpp -O2 -fPIC `pkg-config --cflags geany` -std=c++0x -I./geany-complete-core/include -o lib/geany-complete-core/src/cc_plugin.o
In file included from geany-complete-core/src/cc_plugin.cpp:22:0:
./geany-complete-core/include/geanycc/cc_plugin.hpp:29:8: error: 'GeanyFunction' does not name a type
extern GeanyFunction *geany_functions;
^
In file included from /usr/include/geany/geanyplugin.h:52:0,
from ./geany-complete-core/include/geanycc/cc_plugin.hpp:23,
from geany-complete-core/src/cc_plugin.cpp:22:
geany-complete-core/src/cc_plugin.cpp: In function 'bool is_completion_file_now()':
/usr/include/geany/geanyfunctions.h:38:2: error: 'geany_functions' was not declared in this scope
geany_functions->p_document->document_get_current
^
geany-complete-core/src/cc_plugin.cpp:46:23: note: in expansion of macro 'document_get_current'
GeanyDocument* doc = document_get_current();
^
geany-complete-core/src/cc_plugin.cpp: In function 'int get_completion_position(int*)':
/usr/include/geany/geanyfunctions.h:38:2: error: 'geany_functions' was not declared in this scope
geany_functions->p_document->document_get_current
^
geany-complete-core/src/cc_plugin.cpp:65:23: note: in expansion of macro 'document_get_current'
GeanyDocument* doc = document_get_current();
^
geany-complete-core/src/cc_plugin.cpp: In function 'void send_complete(GeanyEditor*, int)':
/usr/include/geany/geanyfunctions.h:136:2: error: 'geany_functions' was not declared in this scope
geany_functions->p_sci->sci_get_line_from_position
^
geany-complete-core/src/cc_plugin.cpp:95:13: note: in expansion of macro 'sci_get_line_from_position'
int line = sci_get_line_from_position(editor->sci, pos);
^
geany-complete-core/src/cc_plugin.cpp: In function 'void force_completion(guint)':
/usr/include/geany/geanyfunctions.h:38:2: error: 'geany_functions' was not declared in this scope
geany_functions->p_document->document_get_current
^
geany-complete-core/src/cc_plugin.cpp:194:24: note: in expansion of macro 'document_get_current'
GeanyDocument* doc = document_get_current();
^
geany-complete-core/src/cc_plugin.cpp: In function 'void init_keybindings()':
/usr/include/geany/geanyfunctions.h:26:2: error: 'geany_functions' was not declared in this scope
geany_functions->p_plugin->plugin_set_key_group
^
geany-complete-core/src/cc_plugin.cpp:221:29: note: in expansion of macro 'plugin_set_key_group'
GeanyKeyGroup* key_group = plugin_set_key_group(geany_plugin,
^
geany-complete-core/src/cc_plugin.cpp: In function 'void plugin_init(GeanyData*)':
/usr/include/geany/geanyfunctions.h:30:2: error: 'geany_functions' was not declared in this scope
geany_functions->p_plugin->plugin_timeout_add
^
geany-complete-core/src/cc_plugin.cpp:233:2: note: in expansion of macro 'plugin_timeout_add'
plugin_timeout_add(geany_plugin, 20, loop_check_ready, NULL);
^
geany-complete-core/src/cc_plugin.cpp: At global scope:
geany-complete-core/src/cc_plugin.cpp:263:1: error: 'GeanyFunction' does not name a type
GeanyFunction* geany_functions;
^
make: *** [lib/geany-complete-core/src/cc_plugin.o] Error 1
I made a typo.
Yes, now it works. Thanks.
Following your README.md.