Not having enough space on th AAO I took the quick approach (?)
and after a couple of hiccups I got Damians approach to work -
the error messages from the compiler go to std error, so ..
mcs $* 2>&1 | sed 's/(\([0-9]*\),[0-9]*)/:\1/';
did the trick.
Thanks guys for your help, must get round to the SVN version next ...
bw.
Geoff
###########################################This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.Formore information, connect to http://www.F-Secure.com/
Congrats on the great work with geany looks fantastic.
Looking forward to using the latest version, however I am having trouble
compiling on Ubuntu 8.04. Obviously I am too lame to figure it out myself so
I would appreciate any help you can give.
System details:
Geany revision 2968
gcc version 4.2.3
Anything else you need to know?
Thanks
Adam.
The part of the make output causing the problem is below
-------------------------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./../scintilla/include
-I./../tagmanager/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1
-DGEANY_DATADIR=\""/usr/local/share"\"
-DGEANY_DOCDIR=\""/usr/local/share/doc/geany"\"
-DGEANY_LIBDIR=\""/usr/local/lib"\" -DGEANY_LOCALEDIR=\"""\"
-DGEANY_PREFIX=\""/usr/local"\" -g -DGEANY_DEBUG -g -O2 -c vte.c
/bin/bash ../libtool --silent --mode=link gcc
-DGEANY_DATADIR=\""/usr/local/share"\"
-DGEANY_DOCDIR=\""/usr/local/share/doc/geany"\"
-DGEANY_LIBDIR=\""/usr/local/lib"\" -DGEANY_LOCALEDIR=\"""\"
-DGEANY_PREFIX=\""/usr/local"\" -g -DGEANY_DEBUG -g -O2 -o geany
about.o build.o callbacks.o dialogs.o document.o editor.o encodings.o
filetypes.o geanyobject.o geanywraplabel.o highlighting.o interface.o
keybindings.o keyfile.o log.o main.o msgwindow.o navqueue.o notebook.o
plugins.o prefix.o prefs.o printing.o project.o sciwrappers.o search.o
socket.o support.o symbols.o templates.o tools.o treeviews.o ui_utils.o
utils.o vte.o ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
dialogs.o: In function `handle_save_as':
/home/ameehan/Code/geany/src/dialogs.c:410: undefined reference to
`tm_workspace_remove_object'
document.o: In function `document_update_tag_list':
/home/ameehan/Code/geany/src/document.c:2053: undefined reference to
`tm_source_file_update'
/home/ameehan/Code/geany/src/document.c:2033: undefined reference to
`tm_source_file_new'
/home/ameehan/Code/geany/src/document.c:2038: undefined reference to
`tm_workspace_add_object'
/home/ameehan/Code/geany/src/document.c:2046: undefined reference to
`tm_source_file_update'
/home/ameehan/Code/geany/src/document.c:2040: undefined reference to
`tm_work_object_free'
document.o: In function `document_set_filetype':
/home/ameehan/Code/geany/src/document.c:2166: undefined reference to
`tm_workspace_remove_object'
document.o: In function `get_real_path_from_utf8':
/home/ameehan/Code/geany/src/document.c:147: undefined reference to
`tm_get_real_path'
document.o: In function `document_save_file':
/home/ameehan/Code/geany/src/document.c:1570: undefined reference to
`tm_workspace_update'
document.o: In function `document_remove_page':
/home/ameehan/Code/geany/src/document.c:509: undefined reference to
`tm_workspace_remove_object'
document.o: In function `document_close_all':
/home/ameehan/Code/geany/src/document.c:2573: undefined reference to
`tm_workspace_update'
editor.o: In function `autocomplete_tags':
/home/ameehan/Code/geany/src/editor.c:1394: undefined reference to
`tm_workspace_find'
editor.o: In function `find_calltip':
/home/ameehan/Code/geany/src/editor.c:1222: undefined reference to
`tm_workspace_find'
/home/ameehan/Code/geany/src/editor.c:1245: undefined reference to
`tm_tags_prune'
/home/ameehan/Code/geany/src/editor.c:1253: undefined reference to
`tm_tags_sort'
/home/ameehan/Code/geany/src/editor.c:1231: undefined reference to
`tm_workspace_find_scoped'
main.o: In function `main_quit':
/home/ameehan/Code/geany/src/main.c:924: undefined reference to
`tm_workspace_free'
main.o: In function `main_init':
/home/ameehan/Code/geany/src/main.c:271: undefined reference to
`tm_get_workspace'
plugins.o:(.data+0x1c8): undefined reference to `tm_get_real_path'
plugins.o:(.data+0x1cc): undefined reference to `tm_source_file_new'
plugins.o:(.data+0x1d0): undefined reference to `tm_workspace_add_object'
plugins.o:(.data+0x1d4): undefined reference to `tm_source_file_update'
plugins.o:(.data+0x1d8): undefined reference to `tm_work_object_free'
plugins.o:(.data+0x1dc): undefined reference to `tm_workspace_remove_object'
symbols.o: In function `symbols_get_current_function':
/home/ameehan/Code/geany/src/symbols.c:1412: undefined reference to
`tm_get_current_function'
symbols.o: In function `find_work_object_tag':
/home/ameehan/Code/geany/src/symbols.c:318: undefined reference to
`tm_tags_extract'
symbols.o: In function `symbols_show_load_tags_dialog':
/home/ameehan/Code/geany/src/symbols.c:1095: undefined reference to
`tm_workspace_load_global_tags'
symbols.o: In function `load_c_ignore_tags':
/home/ameehan/Code/geany/src/symbols.c:106: undefined reference to
`c_tags_ignore'
symbols.o: In function `symbols_finalize':
/home/ameehan/Code/geany/src/symbols.c:369: undefined reference to
`c_tags_ignore'
symbols.o: In function `symbols_generate_global_tags':
/home/ameehan/Code/geany/src/symbols.c:1040: undefined reference to
`tm_get_workspace'
/home/ameehan/Code/geany/src/symbols.c:1041: undefined reference to
`tm_workspace_create_global_tags'
symbols.o: In function `symbols_get_macro_list':
/home/ameehan/Code/geany/src/symbols.c:272: undefined reference to
`tm_tags_extract'
/home/ameehan/Code/geany/src/symbols.c:283: undefined reference to
`tm_tags_sort'
symbols.o: In function `load_user_tags':
/home/ameehan/Code/geany/src/symbols.c:1183: undefined reference to
`tm_workspace_load_global_tags'
/home/ameehan/Code/geany/src/symbols.c:1185: undefined reference to
`tm_get_workspace'
symbols.o: In function `symbols_global_tags_loaded':
/home/ameehan/Code/geany/src/symbols.c:121: undefined reference to
`c_tags_ignore'
/home/ameehan/Code/geany/src/symbols.c:160: undefined reference to
`tm_workspace_load_global_tags'
symbols.o: In function `symbols_find_tags_as_string':
/home/ameehan/Code/geany/src/symbols.c:195: undefined reference to
`tm_tags_extract'
collect2: ld returned 1 exit status
make[2]: *** [geany] Error 1
make[2]: Leaving directory `/home/ameehan/Code/geany/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ameehan/Code/geany'
make: *** [all-recursive-am] Error 2
Like many programmers, I use the following markers to document my code:
# XXX
# TODO
# DEBUG
(whereas the leading comment character depends on the respective language)
Can these markers be highlighted to make them more salient?
Hi.
> This is now implemented in SVN as a 'Tabs and Spaces' indent type
> preference and per-document setting, plus a Tab Width pref (the old
> pref is now called Indent Width). The main editing actions should
> work as expected in the new mode, but some of Geany's code insertion
> features (e.g. default file templates) might still use tabs. Feel free
> to file bugs/requests to improve things further (or post here).
How can I set "display-tab-width" to 8 spaces and "indent-width" to 4
spaces using
current editor preferences dialog?
I couldn't do that using latest SVN version of geany.
Still there is no distinguish between display tabs width and single
indent width.
At least I still can't set up the required configuration....
--
Walery Studennikov
http://www.reg.ru/
Hi Guys
I use Geany (version 0.14) quite extensively on Ubuntu (Hardy).
I have tried to create a tags file manually from the W3 spec
(http://www.w3.org/TR/CSS21/propidx.html). Then I copied the file to
"/home/gelie/.geany/tags", but somehow it does not work. Is there
something else that I need to modify or am I missing something ?
Thank you in advance.
Gavin Elie (gelie)
ICT - Web Administrator
Parliament of South Africa
http://www.parliament.gov.za
------
Please note: This email and its content are subject to
the disclaimer as displayed at the following link
http://webmail.parliament.gov.za/disclaimer.html
Dear Geany list,
I'm new to Geany (and indeed Ubunutu which I am running it on) and would
like to know how to use gsl (GNU Software Library) with Geany. I'm not
entirely sure how to link the libraries and include the header files.
Many Thanks
Matt
Maybe it's just me, but...
When you have a D project that consists of a main .d source file and
separate .d modules, it would be great if pressing `Build` for the main
file would automatically detect the other files, like so:
`dmd main.d module01.d module02.d module03.d`
...which works if you just use the command line. So in Geany, there
could be a list of files that it keeps handy to check what the programmer
has for files, and then immediately take all the necessary steps to build.
Kind of like using the `-I` switch to import? But only now it checks by
itself.
Good idea or not?
Or is it already possible within Geany?
Regards,
Brendan
I've just tried out Geany on a Acer aaO and it seems a good match for
the limited resources available
and a great improvement on using nano for writing C# snippets (mono).
However a double click on
an error in the tree and the focus in the editor doesn't change. Should
it? I've repeated this on XP
and gotten the same result.
###########################################This message has been scanned by F-Secure Anti-Virus for Microsoft
Exchange.Formore information, connect to http://www.F-Secure.com/
Dear all,
I'm using geany and run ipython in the "terminal". Is there a way to kill my python calculations (e.g. an (accidentally) infinite loop) inside the terminal without restarting the whole thing? ctrl+c kills ipython, which is pretty annoying...
ps: I'm aware of the stop-button for running scipts.
Best regards
Andre
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
This is what I get: in the compiler tab:
dmd -w "testing.d" -of "testing" (in directory: ~/Geany_Proj/testingD2)
Compilation failed.
Error: argument expected for switch '-of'
Why is that switch there? Is it necessary? How do I prevent Geany from using
that switch?