windows

Building Boost with Clang “Failed to build Boost.build engine”

[亡魂溺海] 提交于 2021-02-11 13:32:17
问题 I am trying to build Boost 1_74_0 for Clang on Windows 7. I go to the folder with bootstrap etc and run: bootstrap --with-toolset=clang-win but I get: Building Boost.build engine Failed to build Boost.build engine and the log says: Found with vswhere Visual Studio Locator version 2.5.2+gebb9f26a3d ### ### "Unknown toolset: vcunk" ### ### You can specify the toolset as the argument, i.e.: ### .\build.bat msvc ### ### Toolsets supported by this script are: borland, como, gcc, ### gcc-nocygwin,

Building Boost with Clang “Failed to build Boost.build engine”

点点圈 提交于 2021-02-11 13:32:13
问题 I am trying to build Boost 1_74_0 for Clang on Windows 7. I go to the folder with bootstrap etc and run: bootstrap --with-toolset=clang-win but I get: Building Boost.build engine Failed to build Boost.build engine and the log says: Found with vswhere Visual Studio Locator version 2.5.2+gebb9f26a3d ### ### "Unknown toolset: vcunk" ### ### You can specify the toolset as the argument, i.e.: ### .\build.bat msvc ### ### Toolsets supported by this script are: borland, como, gcc, ### gcc-nocygwin,

Windows Server Core in Docker, Firewall

六眼飞鱼酱① 提交于 2021-02-11 13:31:08
问题 Currently I am working on a project where I have to dockerize an application that is supposed to be running on Windows. It is an application that can be installed and configured via command line. The question is applicable to any application in the end. The platform of my choice is obviously Windows. Therefore I have chosen a base image mcr.microsoft.com/windows/servercore:1803 to begin with. After installation my application will need a rule added to Firewall. So I decided to test whether I

How to make directShow to Create graph automatically with available filters

让人想犯罪 __ 提交于 2021-02-11 13:30:57
问题 I want to use the Medialooks multisource filter in my application, This has entry in HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\ But still i have to Add this filter manually using CLS_ID and AddFilter Function. Is there any way so that Renderfile function of Dshow will automatically creates a graph by enumerating the filters from registry Checked in Grphedt tool but if i manually insert and connect Filters I can play the videos properly.Otherwise it wont render automatically by building the

Windows Server Core in Docker, Firewall

元气小坏坏 提交于 2021-02-11 13:30:46
问题 Currently I am working on a project where I have to dockerize an application that is supposed to be running on Windows. It is an application that can be installed and configured via command line. The question is applicable to any application in the end. The platform of my choice is obviously Windows. Therefore I have chosen a base image mcr.microsoft.com/windows/servercore:1803 to begin with. After installation my application will need a rule added to Firewall. So I decided to test whether I

Error installing python 3.5 on Win 10

孤街浪徒 提交于 2021-02-11 12:53:29
问题 I receive this error when trying to upgrade pip on python 35 with the command: C:\WINDOWS\system32>python -m pip install --upgrade pip PermissionError: [WinError 5] Access is denied: 'c:\program files\python35\lib\site-packages\pip-7.1.2.dist-info\description.rst' -> 'C:\Users\Athena\AppData\Local\Temp\pip-g9zbqikf-uninstall\program files\python35\lib\site-packages\pip-7.1.2.dist-info\description.rst' I notice that it is looking in C:\program files\python35 . Unlike previous versions of

Why does changing the order of including psapi.h gives compilation erros?(Indentifier BOOL is undefined)

久未见 提交于 2021-02-11 12:47:15
问题 I am using Visual Studio Community 2017 to code c++. When I run the following code everything works fine. #include "pch.h" #include<Windows.h> #include<Psapi.h> #include <iostream> #include <conio.h> int main() { std::cout << "Really!! How do you do it?"; _getch(); } But if I change the order of #include s by including psapi.h before Windows.h , compiler goes badass and throws 198 errors at me, which surprisingly(maybe only to me) includes Identifier "BOOL" is undefined . Why is this

Why does changing the order of including psapi.h gives compilation erros?(Indentifier BOOL is undefined)

折月煮酒 提交于 2021-02-11 12:47:14
问题 I am using Visual Studio Community 2017 to code c++. When I run the following code everything works fine. #include "pch.h" #include<Windows.h> #include<Psapi.h> #include <iostream> #include <conio.h> int main() { std::cout << "Really!! How do you do it?"; _getch(); } But if I change the order of #include s by including psapi.h before Windows.h , compiler goes badass and throws 198 errors at me, which surprisingly(maybe only to me) includes Identifier "BOOL" is undefined . Why is this

C++ winapi Taking Screenshot and Making It Background of Window

你说的曾经没有我的故事 提交于 2021-02-11 12:42:34
问题 I'm trying to make the snippingtool in c++. I managed to create a borderless, fullscreen window via this code; WindProc: LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) { switch (message) { case WM_CHAR: //this is just for a program exit besides window's borders/taskbar if (wparam==VK_ESCAPE) { DestroyWindow(hwnd); } case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd, message, wparam, lparam); } } Creating the window; WNDCLASS

How to install libusb?

强颜欢笑 提交于 2021-02-11 12:41:01
问题 I am having hard time installing libusb. I went across some YouTube videos, and they were talking about "INSTALLING" libusb. I went across another tutorial and they are saying we need to build it "manually". However, I downloaded libusb from http://sourceforge.net/projects/libusb-win32/files/. In my download, there is no software to install (according to video, it is libusb_win32.exe). My OS is Windows 7 Ultimate 32 bit. The PC is a Dell Inspiron 4030 (I need to install this in my desktop PC