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

Cannot build Derelict2 using dsss

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
Nrgyzer



Joined: 12 Dec 2009
Posts: 31

PostPosted: Fri Nov 12, 2010 2:44 pm    Post subject: Cannot build Derelict2 using dsss Reply with quote

Hey there,

I want use Derelict2 with dmd2 (2.050) and I currently to build derelict2 using dsss. When I type "dsss build", I get the following error:

Code:
derelict => DerelictAL
C:/D/dsss/bin\..\include\d\derelict\util\wintypes.di(57): C-style function pointer and pointer to array syntax is deprecated. Use 'function' to declare function pointers
Command C:\D\dsss\bin\rebuild.exe returned with code 1, aborting.
Error: Command failed, aborting.


I hope anyone can solve the problem Smile

Edit:\\ Solved with "dsss build -d", but I just get the following error:

Code:
... loader.di(268): Error: cannot implicitly convert expression ("") of type string to char[]
... Error: identifier 'ShareLibLoader' is not defined
Back to top
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Sat Nov 13, 2010 4:48 am    Post subject: Reply with quote

I'm pretty sure you can't use D2 and DSSS together.
Back to top
View user's profile Send private message
Nrgyzer



Joined: 12 Dec 2009
Posts: 31

PostPosted: Sat Nov 13, 2010 6:21 am    Post subject: Reply with quote

But... what about http://dsource.org/forums/viewtopic.php?t=4934 "Building With DSSS"?
Back to top
View user's profile Send private message
doob



Joined: 06 Jan 2007
Posts: 367

PostPosted: Sun Nov 14, 2010 6:37 am    Post subject: Reply with quote

That may still work with D1. Use the makefiles system for D2.
Back to top
View user's profile Send private message
Nrgyzer



Joined: 12 Dec 2009
Posts: 31

PostPosted: Tue Nov 16, 2010 12:31 pm    Post subject: Reply with quote

Thanks... but when I run "make -fwin32.mak" by command line, I get the following message:

Code:
cd DerelictAL
make all PLATFORM=win32 DC=
Error on line 2: can't read makefile '../inc/_inc.mak'

---errorlevel 1


Edit:\\ Solved with make -fwin32.mak DC=dmd and changed the environment values to dmd.
Back to top
View user's profile Send private message
krcko



Joined: 31 Aug 2007
Posts: 11
Location: Serbia

PostPosted: Tue Nov 16, 2010 7:50 pm    Post subject: Reply with quote

had same problem - and here's solution Smile

doob wrote:
I'm pretty sure you can't use D2 and DSSS together.

I'm using it for my newest project without any problems.
Back to top
View user's profile Send private message MSN Messenger
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Thu Nov 18, 2010 5:18 am    Post subject: Reply with quote

Thanks! I looked over the patch and it seems good to go. I'll get it in shortly.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group