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

code does not build;

 
Post new topic   Reply to topic     Forum Index -> DSSS
View previous topic :: View next topic  
Author Message
michaelp



Joined: 27 Jul 2008
Posts: 114

PostPosted: Sun Feb 08, 2009 11:35 am    Post subject: code does not build; Reply with quote

Hi, I'm using DSSS 0.78 on Windows XP SP3, and with DSFML 1.3, this code does not build:

Code:
/* sfmlrandom.d
Testing out sfml random numbers
Feburary 8, 2009 */
module dsfmlrandom;

//Imports
import dsfml.system.all;
import std.stdio;

//Main
void main()
{
   for( int i = 0; i < 10; i++ )
   {
      writefln( Randomizer.random( 0, 10 );
   }
}


And here is the dsss.conf:

Code:
[dsfmlrandom.d]
buildflags += -IC:/D/DSFML/import -SC:/D/DSFML/extlibs/lib


There are not errors in the code, I used DSSS to build something that used the Randomizer.random function before. DSSS just does not build it, and I close the command line after about 3minutes.

edit: Also, there are no errors that pop up.
edit2: DMD 1.039
Back to top
View user's profile Send private message
michaelp



Joined: 27 Jul 2008
Posts: 114

PostPosted: Sun Feb 08, 2009 1:24 pm    Post subject: Reply with quote

Okay there was an error in the code. I forgot a bracket. Razz
But still, I should at least get an error message! Exclamation
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DSSS 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