digitalmars.D.learn - Can't debug my solution
- Matheus Reis (10/10) Dec 19 2015 Hello, people!
- tcak (6/16) Dec 19 2015 What is the OS?
- Matheus Reis (18/18) Dec 19 2015 Windows 10 (64-bit).
- Matheus Reis (9/9) Dec 20 2015 Got simpledisplay.d/color.d working by simply adding them to my
- Israel (2/12) Dec 19 2015 You dont happen to be on OSX?
- Basile B. (3/20) Dec 19 2015 He's on Windows since he mentioned "phobos.lib" and not
Hello, people! I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now. I've got it all working (without some "phobos.lib", is it really needed?) with Xamarin Studio but I can't get it to debug my solution when I run it. What do I need to do? I can run it with debugging OFF (ctrl-f5) but can't run it "normally". What am I missing? Thanks in advance! :)
Dec 19 2015
On Saturday, 19 December 2015 at 20:52:41 UTC, Matheus Reis wrote:Hello, people! I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now. I've got it all working (without some "phobos.lib", is it really needed?) with Xamarin Studio but I can't get it to debug my solution when I run it. What do I need to do? I can run it with debugging OFF (ctrl-f5) but can't run it "normally". What am I missing? Thanks in advance! :)What is the OS? Have you installed and activated GDB plugin? If you are not doing something special, phobos functions are included in your executable already. So you shouldn't have any problem with it.
Dec 19 2015
Windows 10 (64-bit). I can't seem to find the GDB plugin (even tried searching for it in Xamarin's AddIn manager). The "phobos.lib missing" thing was happening when I was trying to use Code::Blocks, not an issue any more. Sorry about that, I'm not experienced with actual languages (since I use game engines to develop games, only). Actually, the debug thing is not a HUGE problem and I've been using D for some hours now and being able to make some cool stuff (like objects' array, dealing with files, etc) and show things via console. If there's no easy way to fix it, I can keep using it the way I am right now. I'm now concerned about libraries. Since I'm not used to languages, I've no clue on how to integrate them to my projects. I've tried to add the lib folder to my project's, but I can't import them that way. If I'm not bothering you, could you please help me with that? Thanks for the response! :)
Dec 19 2015
Got simpledisplay.d/color.d working by simply adding them to my project's folder and I'm now playing with it. What I've accomplished so far: http://i.imgur.com/aik9Ovj.gif (some objects from a class to draw circles in their position, and a simple collision check with screen borders) I'm pretty satisfied with the results, tbh. :DD As I said, I really liked the language and will keep trying to learn more about it, hoping to make a simple game sooner or later.
Dec 20 2015
On Saturday, 19 December 2015 at 20:52:41 UTC, Matheus Reis wrote:Hello, people! I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now. I've got it all working (without some "phobos.lib", is it really needed?) with Xamarin Studio but I can't get it to debug my solution when I run it. What do I need to do? I can run it with debugging OFF (ctrl-f5) but can't run it "normally". What am I missing? Thanks in advance! :)You dont happen to be on OSX?
Dec 19 2015
On Sunday, 20 December 2015 at 01:29:59 UTC, Israel wrote:On Saturday, 19 December 2015 at 20:52:41 UTC, Matheus Reis wrote:He's on Windows since he mentioned "phobos.lib" and not "libphobos2.a"Hello, people! I'm Matheus, a 20 y/o game developer who wants to get started with D. It has really caught my attention, and I've been playing with it for some hours now. I've got it all working (without some "phobos.lib", is it really needed?) with Xamarin Studio but I can't get it to debug my solution when I run it. What do I need to do? I can run it with debugging OFF (ctrl-f5) but can't run it "normally". What am I missing? Thanks in advance! :)You dont happen to be on OSX?
Dec 19 2015