visual studio 2010 - C++ Compiles fine but cannot debug -
ok, let me clear don't have repeat myself later on. please read carefully, i'll try concise possible. put parts want stress in bold.
i pretty c++, not begginer. made alot of projects , think second time happens in 6 months.
here's problem, started console project doesn't have console, opengl window launched sdl library. having fun , , built , debugged project several times , it both building , running fine.
then, out of blue, built project after addition (shooting bullets, if wanna know) , wanted test addition. it built fine (build succeed), when try start debugging, says .exe file not found. doesn't seem create .exe file.
now here precisions might wanna know:
- i didn't change project settings , running fine before.
- it has nothing bullet shooting, mean builds fine.
- my project has main.cpp , glrect class made , gameconstants.h file made game constants in it.
- i'm using visual studio 2010, installed sdl-1.2.15 library sdl_image add-on.
- i'm running on windows 8 64-bit laptop following specs: 16gb ram i7 ivy bridge processor 2.3ghz nvidia gtx 670m 3gb graphic card
if need more specs ask
- origine name of project.
- in c:...\origine\origine\debug\ have lot of .tlog files.
here's build log, in french...
1>------ rebuild started: project: origine, configuration: debug win32 ------ 1>build started 2013-07-01 01:54:39. 1>_prepareforclean: 1> deleting file "debug\origine.lastbuildstate". 1>initializebuildstatus: 1> creating "debug\origine.unsuccessfulbuild" because "alwayscreate" specified. 1>clcompile: 1> main.cpp 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.h(14): warning c4244: 'argument' : conversion de 'const double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.h(14): warning c4244: 'argument' : conversion de 'const double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.h(14): warning c4244: 'argument' : conversion de 'const double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.h(14): warning c4244: 'argument' : conversion de 'const double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\main.cpp(26): warning c4244: 'argument' : conversion de 'time_t' en 'unsigned int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\main.cpp(133): warning c4018: '<' : incompatibilité signed/unsigned 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\main.cpp(161): warning c4018: '<' : incompatibilité signed/unsigned 1> glrect.cpp 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.h(14): warning c4244: 'argument' : conversion de 'const double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.h(14): warning c4244: 'argument' : conversion de 'const double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.h(14): warning c4244: 'argument' : conversion de 'const double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.h(14): warning c4244: 'argument' : conversion de 'const double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(46): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(46): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(47): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(47): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(48): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(48): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(49): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(49): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(54): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(54): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(55): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(55): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(56): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(56): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(57): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(57): warning c4244: 'argument' : conversion de 'double' en 'glfloat', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(165): warning c4244: 'argument' : conversion de 'double' en 'int', perte possible de données 1>c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\origine\glrect.cpp(165): warning c4244: 'argument' : conversion de 'double' en 'int', perte possible de données 1> génération de code en cours... 1>msvcrtd.lib(cinitexe.obj) : warning lnk4098: conflit entre la bibliothèque par défaut 'msvcrt.lib' et les autres bibliothèques ; utilisez /nodefaultlib:library 1>manifest: 1> deleting file "debug\origine2.exe.embed.manifest". 1>msvcrtd.lib(cinitexe.obj) : warning lnk4098: conflit entre la bibliothèque par défaut 'msvcrt.lib' et les autres bibliothèques ; utilisez /nodefaultlib:library 1> origine.vcxproj -> c:\users\alexandre\documents\visual studio 2010\projects\jeux\origine\debug\origine2.exe 1>finalizebuildstatus: 1> deleting file "debug\origine.unsuccessfulbuild". 1> touching "debug\origine.lastbuildstate". 1> 1>build succeeded. 1> 1>time elapsed 00:00:02.05 ========== rebuild all: 1 succeeded, 0 failed, 0 skipped ==========
the problem anti-virus software. obvious symptom file deleted when attempt start manually (and commented problem). refer anti-virus documentation on how add exception directory or file.
Comments
Post a Comment