FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 8 matches
Forum Index
Author Message
  Topic: GtkD Problems
siegerstein

Replies: 22
Views: 34732

PostForum: gtkD   Posted: Fri Jan 25, 2008 8:47 am   Subject: undefined reference to `__gdc_personality_v0'
I don't know what gtkD version you use
from SVN

but there's lib for pixbuf which you have to link (in my case it's libDG-gdkpixbuf.a)
Yes, it also require libDG-gtkc.a

$ dmd hello.d -I/usr/inc ...
  Topic: GtkD Problems
siegerstein

Replies: 22
Views: 34732

PostForum: gtkD   Posted: Thu Jan 24, 2008 6:56 pm   Subject: undefined reference to `_D9gdkpixbuf12PixbufFormat12__Module
Also have problem to link simple hello world program:

import gtk.MainWindow;
import gtk.Label;
import gtk.GtkD;

void main(char[][] args)
{
GtkD.init(args ...
  Topic: Can't build gtkD on Linux
siegerstein

Replies: 16
Views: 31783

PostForum: gtkD   Posted: Thu Jan 24, 2008 5:06 pm   Subject: Can't build gtkD on Linux
There is a codegen bug in GDC 0.24 (Bugzilla 1746) witch is probably causing this.

There is a workaround script attached to ticket #4, but there are also some other problems with GDC 0.24

Thanks ...
  Topic: Can't build gtkD on Linux
siegerstein

Replies: 16
Views: 31783

PostForum: gtkD   Posted: Wed Jan 23, 2008 10:50 am   Subject: undefined reference to `_D9gdkpixbuf12PixbufFormat12__Module
Also can't build gtkD:

I checkout with:

$ snv co http://svn.dsource.org/projects/gtkd/trunk/

and try to install gtkD:

# ./makeAll.sh

.......

ExecutorSync.execute=
dmd demos/gtkD/Tes ...
  Topic: Can't compile simple example
siegerstein

Replies: 4
Views: 17567

PostForum: DDBI   Posted: Wed Jan 23, 2008 7:42 am   Subject: Can't compile simple example
If you know libpq, your help would be appreciated.

Unfortunately I just beginner ... But I can catch bugs in UNIX-like OS :)

I have fixed that particular problem and your example compiles now on ...
  Topic: Can't compile simple example
siegerstein

Replies: 4
Views: 17567

PostForum: DDBI   Posted: Tue Jan 22, 2008 4:47 pm   Subject: Error: cannot create instance of abstract class PgDatabase
Thanks. Work, but there is another error:


import dbi.all;
import dbi.pg.all;

int main ( char [][] args ) {
PgDatabase db = new PgDatabase ( );

r ...
  Topic: Can't compile simple example
siegerstein

Replies: 4
Views: 17567

PostForum: DDBI   Posted: Sat Jan 19, 2008 5:29 pm   Subject: Can't compile simple example
test.d:


import dbi.all;
import dbi.pg.all;

int main ( char [][] args ) {
PgDatabase db = new PgDatabase ( );

return 0;
}


$ gdc test.d ...
  Topic: Build problems on Ubuntu 7.04 (x86_64)
siegerstein

Replies: 18
Views: 56393

PostForum: Build   Posted: Thu Jan 17, 2008 5:36 pm   Subject: Build problems on Ubuntu 7.04 (x86_64)
Also can't build bud:

$ make -f Makefile.unix
dmd -op -release -inline -ofbuild build.d util/pathex_bn.d util/pathex.d source_bn.d util/str.d build_bn.d util/booltype.d util/fdt_bn.d util/str_bn.d ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group