Does the freeze only happen when there are source problems
(wanrings/errors), or any time you try to just compile it? You wern’t too
specific.
Are you linking with any other libraries than SDL? TomT64 might be on to
something there.
/more info needed
P.S. Also, you might want to Ctrl-Break (cancels the build) instead of
killing the IDE (I assume since you can access menu’s, the IDE will still
process the keystrokes for the cancel).
P.S.S. X errors? Dang, thats a lot! [j/k]
Silicon> ----- Original Message -----
From: hokching@hotmail.com (DrUndeadDave)
To:
Sent: Wednesday, June 09, 2004 6:57 PM
Subject: [SDL] Visual C++ 6 freeze? and VC6 or Dev C++?
Hi,
I’m totally new to (V)C++, SDL and game programming, and would like to ask
for
your help:
Sometimes when I press “compile” instead of “run”, let’s say the code
didn’t
compile, VC6 cannot return from the build. The errors do appear, and I can
still click the menu items (some appeared to be disabled though, coz still
in
build mode).
However, the thing “XXXX.exe - X error(s), X warning(s)” doesn’t show
(seems
to be stucked in the building), and when I click exit, VC6 just prompt
"you
cannot close the workspace when a building is in progress" and stuff. I
have
to kill VC6 by the task manager (CTRL-ALT-DEL and stuffs).
However, when I just click run, it seems ok… the code runs, and the SDL
thing do work (i.e., I have set the “multithreaded dll” and other VC6
specific
settings for SDL correctly). What happened?
Also, I wonder if which one is better in writing SDL games? VC6 or Dev
C++?
I’m totally new to (V)C++, SDL and game programming, and would like to ask for
your help:
Sometimes when I press “compile” instead of “run”, let’s say the code didn’t
compile, VC6 cannot return from the build. The errors do appear, and I can
still click the menu items (some appeared to be disabled though, coz still in
build mode).
However, the thing “XXXX.exe - X error(s), X warning(s)” doesn’t show (seems
to be stucked in the building), and when I click exit, VC6 just prompt “you
cannot close the workspace when a building is in progress” and stuff. I have
to kill VC6 by the task manager (CTRL-ALT-DEL and stuffs).
However, when I just click run, it seems ok… the code runs, and the SDL
thing do work (i.e., I have set the “multithreaded dll” and other VC6 specific
settings for SDL correctly). What happened?
Also, I wonder if which one is better in writing SDL games? VC6 or Dev C++?
I had a problem like this recently, but my problem was that I had
edonkey2000 running,
and it was taking 80-95% CPU load. You may want to check your task manager
(if running XP/2000/NT) to see if anything is taking over your CPU load
while the
program is trying to link. If not, you may want to check some message
boards to
see if anyone has this problem in a more generic nature (i.e. maybe VC6
does this
without SDL, but some other library, and there’s a known fix).
-TomT64
DrUndeadDave wrote:>Hi,
I’m totally new to (V)C++, SDL and game programming, and would like to ask for
your help:
Sometimes when I press “compile” instead of “run”, let’s say the code didn’t
compile, VC6 cannot return from the build. The errors do appear, and I can
still click the menu items (some appeared to be disabled though, coz still in
build mode).
However, the thing “XXXX.exe - X error(s), X warning(s)” doesn’t show (seems
to be stucked in the building), and when I click exit, VC6 just prompt “you
cannot close the workspace when a building is in progress” and stuff. I have
to kill VC6 by the task manager (CTRL-ALT-DEL and stuffs).
However, when I just click run, it seems ok… the code runs, and the SDL
thing do work (i.e., I have set the “multithreaded dll” and other VC6 specific
settings for SDL correctly). What happened?
Also, I wonder if which one is better in writing SDL games? VC6 or Dev C++?
Le mercredi 9 Juin 2004 19:57, DrUndeadDave a ?crit :
Hi,
I’m totally new to (V)C++, SDL and game programming, and would like to ask
for your help:
Sometimes when I press “compile” instead of “run”, let’s say the code
didn’t compile, VC6 cannot return from the build. The errors do appear, and
I can still click the menu items (some appeared to be disabled though, coz
still in build mode).
However, the thing “XXXX.exe - X error(s), X warning(s)” doesn’t show
(seems to be stucked in the building), and when I click exit, VC6 just
prompt “you cannot close the workspace when a building is in progress” and
stuff. I have to kill VC6 by the task manager (CTRL-ALT-DEL and stuffs).
However, when I just click run, it seems ok… the code runs, and the SDL
thing do work (i.e., I have set the “multithreaded dll” and other VC6
specific settings for SDL correctly). What happened?
Also, I wonder if which one is better in writing SDL games? VC6 or Dev C++?