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

How to start a windows project?

 
Post new topic   Reply to topic     Forum Index -> Poseidon
View previous topic :: View next topic  
Author Message
flamaros



Joined: 02 Feb 2008
Posts: 33

PostPosted: Sat Feb 02, 2008 10:55 am    Post subject: How to start a windows project? Reply with quote

I just want to make an OpenGL application, for that I need to create a window application, but I am not able to launch the Window. How I need create the project to remove the console and active the window?

I am using the basic window sample from Digital mars.
Back to top
View user's profile Send private message
flamaros



Joined: 02 Feb 2008
Posts: 33

PostPosted: Sat Feb 02, 2008 12:17 pm    Post subject: Reply with quote

I finaly find a way to build the sample of digital mars.

Now I need find how to use OpenGL.

How can I debug my program? I can put break points, but when I launch the "Run Debugger" Poseidon freeze.
I set the debugger path to :
dmd\bin\windbg.exe
Back to top
View user's profile Send private message
flamaros



Joined: 02 Feb 2008
Posts: 33

PostPosted: Sat Feb 02, 2008 7:30 pm    Post subject: Reply with quote

I have build the openGL lib.

I get the tool implib (basic tools of dm), use .def from the SVN of Bindings project.

I have to try the openGL now.
Back to top
View user's profile Send private message
flamaros



Joined: 02 Feb 2008
Posts: 33

PostPosted: Sun Feb 03, 2008 5:02 am    Post subject: Reply with quote

I finally download the delerict project. Now I am able to build and link openGL functions in my MFC project.

I have change the WinMain entry point to a classic main.

I'll try to attach the openGL render to the MFC context.
After that I'll post my project with an installation guide.
Back to top
View user's profile Send private message
Kuan Hsu



Joined: 15 Apr 2006
Posts: 143
Location: Taiwan

PostPosted: Wed Feb 20, 2008 12:47 am    Post subject: Reply with quote

flamaros wrote:
How can I debug my program? I can put break points, but when I launch the "Run Debugger" Poseidon freeze.
I set the debugger path to :
dmd\bin\windbg.exe


Freeze? Shocked You mean Poseidon crash? or you can push run/resume button to strat debug.
Back to top
View user's profile Send private message Send e-mail
flamaros



Joined: 02 Feb 2008
Posts: 33

PostPosted: Wed Feb 20, 2008 12:34 pm    Post subject: Reply with quote

It's like a crash, I need kill poseidon, because I can't quit the debugger.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Poseidon 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