DynamoRIO / drmemory

Memory Debugger for Windows, Linux, Mac, and Android
Other
2.44k stars 262 forks source link

ensure External Tool in VS2013 works #1356

Closed derekbruening closed 9 years ago

derekbruening commented 9 years ago

From bruen...@google.com on October 25, 2013 09:49:11

VS2013 RC is now out and we should ensure DrMem works as an External Tool there.

We could also ensure DR and DrMem build with VS2013.

Original issue: http://code.google.com/p/drmemory/issues/detail?id=1356

derekbruening commented 9 years ago

From mcSl...@gmail.com on October 28, 2013 01:07:58

I hope that this informations will be helpful.

External Tools: If it helps my output from Visual Studio Ultimate 2013 and Windows 8.1 64bit with arguments "-visual_studio -debug -dr_debug -- $(TargetPath)" is:

Dr. Memory version 1.6.1591 Running "~\VisualStudioProjects\EFAProgtests\Debug\EFAProgtests.exe" ASSERT FAILURE (thread 3704): ....\drmemory\drmemory\syscall.c:661: false (drsys failed to init) WARNING: application exited with abnormal code 0xffffffff

Build with VS2013: From VS2012 x86 Native Tool Command Prompt (included in VS2013) $svn checkout http://drmemory.googlecode.com/svn/trunk/ $mkdir build $cd build $cmake -G"Visual Studio 12" -DCMAKE_RULE_MESSAGES:BOOL=FALSE .. > MakeVSProject.txt => MFC not found: disabling DRStats (also I do not have doxygen, MinGW-gcc, NSIS and Qt 5, but i think it is optional) $cmake --build . --config Release > MakeDrMemory.txt => 8 warning and 1 error: "......\dynamorio\core\win32\os.c(1260): error C2220: warning treated as error - no 'object' file generated [C:\Users\Miroslav\Desktop\DrMemory\build\dynamorio\core\dynamorio.vcxproj]"

Both output files are included like attached files.

Attachment: MakeVSProject.txt MakeDrMemory.txt

derekbruening commented 9 years ago

From bruen...@google.com on October 28, 2013 05:52:24

We don't quite have Windows 8.1 working yet -- that's issue #1346

derekbruening commented 9 years ago

From bruen...@google.com on October 30, 2013 14:16:50

Win 8.1 on a 64-bit kernel is far enough along that if you have a chance perhaps you could try the latest build at http://build.chromium.org/p/client.drmemory/builds/ ?

derekbruening commented 9 years ago

From hrncirmi...@gmail.com on October 31, 2013 04:46:39

Yes, it works. 1.6.1603, Win8.1 64bit and VS2013 no failure.

Thanks for your hard work.

derekbruening commented 9 years ago

From bruen...@google.com on October 31, 2013 08:40:11

marking as fixed since VS2013 External Tool works

Status: Verified