visual-c++

Google V8 - Neither v8.dll nor v8.dll.lib getting built in release mode

放肆的年华 提交于 2021-01-29 03:24:52
问题 I've followed the Building with GN instructions to build Google V8 on Windows 10 with Visual Studio 2015. What I did: Getting V8, after downloading and unpacking the depot-tools. C:\build-depot> set DEPOT_TOOLS_WIN_TOOLCHAIN=0 C:\build-depot> gclient C:\build-depot> set GYP_MSVS_VERSION=2015 C:\build-depot> fetch v8 Generating build files... C:\build-depot\v8> python tools\dev\v8gen.py x64.debug C:\build-depot\v8> python tools\dev\v8gen.py x64.release ... and compiling C:\build-depot\v8>

VS2005 and Windows SDK 7.1

自闭症网瘾萝莉.ら 提交于 2021-01-28 22:12:20
问题 Running the WindowsSdkVer.exe shipped with Platform SDK 7.1 does not work. None of the .BAT files in VS 2005 get updated. can anyone please tell me how to correct this? Also, how do I verify that VS2005 is using Platform SDK 7.1? There are several articles for this in MSDN but none of them for above configuration. Also, none of them describe the concrete way / definate way of verifying this 回答1: You could try to manually set the include and lib paths of the VS environment under Tools->Options

visual studio build tools v120

时间秒杀一切 提交于 2021-01-28 20:41:26
问题 Hi I'm using visual studio 2017 and trying to build a solution which contains projects made in visual studio 2013. When trying to build the solution, I am given an error that I need v120 build tools. I installed the build tools, but the issue remains. The message: error MSB8020: The build tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, please install v120 build tools. Alternatively, you may upgrade to the current Visual Studio tools by

visual studio build tools v120

一曲冷凌霜 提交于 2021-01-28 20:01:29
问题 Hi I'm using visual studio 2017 and trying to build a solution which contains projects made in visual studio 2013. When trying to build the solution, I am given an error that I need v120 build tools. I installed the build tools, but the issue remains. The message: error MSB8020: The build tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, please install v120 build tools. Alternatively, you may upgrade to the current Visual Studio tools by

VS ignores symbol _Debug in Resources.rc (Visual Studio bug ?)

…衆ロ難τιáo~ 提交于 2021-01-28 19:49:26
问题 Can anybody explain me that very strange fenomenon ? In my VS2005 Managed C++ project file (VCPROJ) is defined: <Configuration Name="Debug|Win32" .... PreprocessorDefinitions="WIN32;_DEBUG" .... </Configuration> <Configuration Name="Release|Win32" .... PreprocessorDefinitions="WIN32;NDEBUG" .... </Configuration> Whereever I used the symbol _Debug it works perfect. For example: #ifdef _DEBUG #include "noexist.h" #endif produces an error C1083: Cannot open include file: 'noexist.h': No such

C++ How to go to function body from calling line in Visual Studio?

大城市里の小女人 提交于 2021-01-28 19:39:17
问题 When I press F12 then I get h-file with function prototype. But I want get function body. I didn't find any context menu item which does it. So I am forced to find function body manually that sometimes is hard. 回答1: F12 goes to the function body if InteliSense knows where it is. The source code of the function body must be part of the VS solution. Note that Intelisense is known to have bugs so it's not working as expected 100% of the time. 回答2: If you are using Visual Studio 2010 or later

glEnable(GL_COLOR_MATERIAL) applying to all drawn objects

帅比萌擦擦* 提交于 2021-01-28 18:11:56
问题 I'm developing a version of the Frogger game for a University project, and we got to the light and materials part. The problem I have is: when I set the materials for the frog, it applies them to all other objects that are drawn. How do I make it so that it only applies to the frog? If I disable GL_COLOR_MATERIAL after the draw or after the material properties have been set, everything becomes red. void Frog::draw(void) { Vector3 _pos = Entity::getPosition(); glPushMatrix(); glEnable(GL_COLOR

glEnable(GL_COLOR_MATERIAL) applying to all drawn objects

有些话、适合烂在心里 提交于 2021-01-28 18:04:52
问题 I'm developing a version of the Frogger game for a University project, and we got to the light and materials part. The problem I have is: when I set the materials for the frog, it applies them to all other objects that are drawn. How do I make it so that it only applies to the frog? If I disable GL_COLOR_MATERIAL after the draw or after the material properties have been set, everything becomes red. void Frog::draw(void) { Vector3 _pos = Entity::getPosition(); glPushMatrix(); glEnable(GL_COLOR

SendMessage/PostMessage to a derived CView class not working for MFC application

谁说我不能喝 提交于 2021-01-28 14:53:31
问题 I am building a test application(testApp) for a legacy MFC based application (MFC-app). I am trying to simulate mouse clicks on the MFC-app using message-passing between them. I was able to do this successfully for bring up dialog boxes from the MFC-app menu. However when I am trying to simulate a mouse click on the View of the MFC -app it doesn't seem to work. The main question I have is whether there are any known limitations in trying to use SendMessage,PostMessage functions to communicate

Move a bitmap around a window quickly in C++

眉间皱痕 提交于 2021-01-28 10:00:06
问题 I'm looking for some C++ code to let me quickly move a bitmap around a window, restoring the background as it moves. At present I capture the Window contents to a bitmap during the app initialization and in the OnPaint() I draw the this bitmap and then I draw my overlayed bitmap. I am double buffering the paint. The overlayed bitmap position moves with the mouse which invalidates the Window. This works fine except it is too slow when the background window is large (think Windows Desktop) and