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

Search found 17 matches
Forum Index
Author Message
  Topic: DerelictGL r582 branch on debian failed. solved!
DrakeMagi

Replies: 2
Views: 6893

PostForum: Derelict   Posted: Sun Aug 14, 2011 9:55 pm   Subject: DerelictGL r582 branch on debian failed. solved!
Thanks new branch r583 works fine.
  Topic: DerelictGL r582 branch on debian failed. solved!
DrakeMagi

Replies: 2
Views: 6893

PostForum: Derelict   Posted: Sun Aug 14, 2011 3:41 pm   Subject: DerelictGL r582 branch on debian failed. solved!
r57 something branch worked fine.
I cant make DerelictGL
make -f linux.mak DerelictGL_ALL DC=dmd
nor with gdmd.

make -C DerelictGL all PLATFORM=linux
make
  Topic: Array Operations
DrakeMagi

Replies: 1
Views: 9775

PostForum: General   Posted: Fri Aug 12, 2011 6:01 pm   Subject: Array Operations
i just started learning d too.

import std.stdio;

real[] getvector()
{
return [10,20,30];
}

void main()
{
real[] a = [5,5,5&# ...
  Topic: Derelict SFML shape circle not drawing ? Solved !
DrakeMagi

Replies: 1
Views: 7957

PostForum: Derelict   Posted: Sun Aug 07, 2011 11:25 am   Subject: Derelict SFML shape circle not drawing ? Solved !
solved by using sfColor_FromRGBA
sfShape *ball = sfShape_CreateCircle(50,50,10,sfColor_FromRGBA(0,150,0,255),2,sfColor_FromRGBA(0,0,0,255));
  Topic: gtkstate, undefined GTK_STATE_ACTIVE ? Solved !
DrakeMagi

Replies: 5
Views: 17935

PostForum: gtkD   Posted: Thu Aug 04, 2011 10:02 am   Subject: gtkstate, undefined GTK_STATE_ACTIVE ? Solved !
i have solved it.
numbers[length-1].modifyBg ( GTK_STATE_ACTIVE, color );
should have been
numbers[length-1].modifyBg ( StateType.ACTIVE, new Color(cast(ubyte ...
  Topic: gtkstate, undefined GTK_STATE_ACTIVE ? Solved !
DrakeMagi

Replies: 5
Views: 17935

PostForum: gtkD   Posted: Thu Aug 04, 2011 7:37 am   Subject: gtkstate, undefined GTK_STATE_ACTIVE ? Solved !
solved GTK_STATE_ACTIVE
should have been this , StateType.ACTIVE

now figure out color

gdkcolor variable it doesn't like.

say it needs gdk.color.color ?
  Topic: gtkstate, undefined GTK_STATE_ACTIVE ? Solved !
DrakeMagi

Replies: 5
Views: 17935

PostForum: gtkD   Posted: Wed Aug 03, 2011 2:18 pm   Subject: gtkstate, undefined GTK_STATE_ACTIVE ? Solved !
Error: undefined identifier GTK_STATE_ACTIVE
Error: cannot implicitly convert expression (color) of type GdkColor to gdk.Color.Color

want to fix compiler errors ?

want to know if i can add spac ...
  Topic: Derelict SFML shape circle not drawing ? Solved !
DrakeMagi

Replies: 1
Views: 7957

PostForum: Derelict   Posted: Wed Aug 03, 2011 1:57 pm   Subject: Derelict SFML shape circle not drawing ? Solved !
did i do something wrong.
my circle shape doesn't draw.
no error comes up.

// gdc -o dsfml dsfml.d -I/home/.../Derelict2/import -L/home/.../Derelict2/lib -ldl -lDerelictSFMLGraphics -lDerelictSFM ...
  Topic: how to setup and use derelict on debian ? Solved !
DrakeMagi

Replies: 10
Views: 14463

PostForum: Derelict   Posted: Wed Aug 03, 2011 8:16 am   Subject: how to setup and use derelict on debian ? Solved !
I have it working now. Thanks for your help.

my second mistake was my make command
make -f linux.mak DerelictSDL DC=gdmd
this made a lib x-archive file had to remove. i think it did.
should have ...
  Topic: gtkstate, undefined GTK_STATE_ACTIVE ? Solved !
DrakeMagi

Replies: 5
Views: 17935

PostForum: gtkD   Posted: Wed Aug 03, 2011 6:50 am   Subject: gtkstate, undefined GTK_STATE_ACTIVE ? Solved !
using D version 1.0 on debian 6, gdc

undefine GTK_STATE_ACTIVE
numbers[length-1].modifyBg ( GTK_STATE_ACTIVE, color );

what do i need to do to fix this ?

anyway in adding sp ...
  Topic: how to setup and use derelict on debian ? Solved !
DrakeMagi

Replies: 10
Views: 14463

PostForum: Derelict   Posted: Wed Aug 03, 2011 6:21 am   Subject: how to setup and use derelict on debian ? Solved !
what libraries are you linking with ?
in my Derelict2 folder only thing there is the x-archive lib file.

currently path /home/***/Derelict2
  Topic: how to setup and use derelict on debian ? Solved !
DrakeMagi

Replies: 10
Views: 14463

PostForum: Derelict   Posted: Tue Aug 02, 2011 8:51 am   Subject: how to setup and use derelict on debian ? Solved !
Thanks , i been guessing

but i get error
/usr/bin/ld: cannot find -lDerelictSDL
  Topic: can someone explain linking ?
DrakeMagi

Replies: 0
Views: 9582

PostForum: gtkD   Posted: Mon Aug 01, 2011 6:46 pm   Subject: can someone explain linking ?
Debian 6 , gdc , gtkD
using d version 1.0

I did my own make on gtkD gdc compiled.
move gtkD folder to /usr/include/d/4.3
move the .a to folder /usr/lib

import gtk.MainWindow;
import gtk.Labe ...
  Topic: how to setup and use derelict on debian ? Solved !
DrakeMagi

Replies: 10
Views: 14463

PostForum: Derelict   Posted: Mon Aug 01, 2011 6:25 am   Subject: how to setup and use derelict on debian ? Solved !
where would i put the import folder ?

i'm using gdc. what would it look like ?
import derelict.sdl.sdl;

int main()
{
DerelictSDL.load();

SDL_Surface *screen;
SDL ...
  Topic: how to setup and use derelict on debian ? Solved !
DrakeMagi

Replies: 10
Views: 14463

PostForum: Derelict   Posted: Sun Jul 31, 2011 9:32 pm   Subject: how to setup and use derelict on debian ? Solved !
No !

downloaded top zip
ran make , it did something.
make -f linux.mak DerelictSDL DerelictGL DerelictSFML DerelictUTIL DC=gdmd

but still don't have it working.

what do you do with import ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group