Author |
Message |
Topic: [Solved] Compiling libgtkd.a on linux |
Nox / Lux
Replies: 5
Views: 11901
|
Forum: gtkD Posted: Mon Apr 21, 2008 5:17 am Subject: Compiling libgtkd.a on linux using CodeBlocks |
Right, I found a way to get everything to compile in CodeBlocks.
If anyone is interested, I have uploaded the CodeBlocks project [url=http://chronosophy.com/gtkD.cbp]here. Drop it in the root gtkD ... |
Topic: [Solved] Compiling libgtkd.a on linux |
Nox / Lux
Replies: 5
Views: 11901
|
Forum: gtkD Posted: Mon Apr 21, 2008 2:36 am Subject: [Solved] Compiling libgtkd.a on linux |
I would suggest building the application with dsss, after doing a dsss build and a dsss install for gtkD. then all you'll need to do build your app is:
dsss build main.d -L-ldl
where main.d is the ... |
Topic: [Solved] Compiling libgtkd.a on linux |
Nox / Lux
Replies: 5
Views: 11901
|
Forum: gtkD Posted: Fri Apr 18, 2008 8:27 am Subject: [Solved] Compiling libgtkd.a on linux |
Update:
I thought I'd try to just include the gtkD source files when compiling my project - something that is not a big deal seeing how fast D compilation really is. However, I run into this problem ... |
Topic: [Solved] Compiling libgtkd.a on linux |
Nox / Lux
Replies: 5
Views: 11901
|
Forum: gtkD Posted: Fri Apr 18, 2008 7:56 am Subject: [Solved] Compiling libgtkd.a on linux |
Hello there,
I am having trouble compiling the first example on Linux. I try to compile using "dsss build", but it doesn't output a libgtkd.a file, only these:
libDD-atk.a
libDD-gdkpi ... |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Fri Jun 15, 2007 4:33 am Subject: Undefined symbol on compilling |
The command line for bud is: C:\dmd\src\gtkD>bud demos/gtkD/TestWindow.d -v -names -full -gui -O -TGtkDTests -Isrc;demos -clean
Any other switches I should use?
I downgraded my version of GTK ... |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Thu Jun 14, 2007 7:53 am Subject: Undefined symbol on compilling |
I uploaded [url=http://www.eneroth.org/compdGtkDTests_bud.log.txt]compdGtkDTests_bud.log.txt.
Thank you for helping me with this! |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Thu Jun 14, 2007 6:45 am Subject: Undefined symbol on compilling |
Bud doesn't require a lib to compile either. I didn't have a problem compiling GtkDTests with either compd or bud, but I do prefer bud.
Anyways, can you show us how GtkDTests compiles/links for you ... |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Thu Jun 14, 2007 5:29 am Subject: Undefined symbol on compilling |
Are the symbols it complains about gtkD or GTK symbols? I've seen some similar problems in regards to dlls where it was some conflict between the D and the C calling conventions. Although I don't see ... |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Thu Jun 14, 2007 12:00 am Subject: Undefined symbol on compilling |
I tried compiling as suggested, but then [url=http://www.eneroth.org/buderror.JPG]this happens. It compiles fine, but doesn't really want to start.
I'll try with an import library. Will I need an i ... |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Wed Jun 13, 2007 8:35 am Subject: Undefined symbol on compilling |
Thanks for the feedback! Now, I have GTK here:
C:\Program Files\Common Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll
So it should be alright I guess. I do not exactly know how the registry entries are ... |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Wed Jun 13, 2007 4:47 am Subject: Undefined symbol on compilling |
Addendum: I get the same errors as the author when running makeAll. If at all interesting, I have uploaded a log of makeAll.bat output
Linking console executable: bin\Debug\CharBuild.exe
C: ... |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Tue Jun 12, 2007 11:58 pm Subject: Undefined symbol on compilling |
Oh, sorry about that. I have not really understood the nature of the problem. I thought I'd follow the old tenet "better to post in an existing thread than start a new one". Bugger.
Does ... |
Topic: Undefined symbol on compilling |
Nox / Lux
Replies: 38
Views: 60137
|
Forum: gtkD Posted: Tue Jun 12, 2007 8:19 am Subject: Undefined symbol on compilling |
I have the same problem as the author of this thread. The output looks like this:
-------------- Build: Debug in CharBuild ---------------
Compiling: TreeClass.d
Compiling: helpers. ... |
Topic: utf.d(49): Error: identifier 'Error' is not defined |
Nox / Lux
Replies: 2
Views: 15369
|
Forum: Build Posted: Wed Mar 21, 2007 4:24 am Subject: utf.d(49): Error: identifier 'Error' is not defined |
You are very right, sir! Tango was interefering with the compilation. Many thanks. |
Topic: utf.d(49): Error: identifier 'Error' is not defined |
Nox / Lux
Replies: 2
Views: 15369
|
Forum: Build Posted: Mon Mar 12, 2007 6:05 am Subject: utf.d(49): Error: identifier 'Error' is not defined |
Hello,
I have a problem where the following occurs whenever I compile something (anything) with bud. Seems to work fine with straight dmd or Code::Blocks.
C:\dmd\src\phobos\std\utf.d(49 ... |
|