Skip to content

Instantly share code, notes, and snippets.

View Jimmy-Hu's full-sized avatar
🎯
Focusing

jimmyhu Jimmy-Hu

🎯
Focusing
View GitHub Profile
PS D:\GitHub\vcpkg> .\vcpkg.exe install qt5:x64-windows
The following packages will be built and installed:
* atlmfc[core]:x64-windows
qt5[core]:x64-windows
* qt5-3d[core]:x64-windows
* qt5-activeqt[core]:x64-windows
* qt5-charts[core]:x64-windows
* qt5-datavis3d[core]:x64-windows
* qt5-declarative[core]:x64-windows
* qt5-gamepad[core]:x64-windows
Bootstrapping qmake ...
cl -c -Fo./ -Fdqmake.pdb -W2 -nologo -O2 /MP /wd4577 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1\qmake -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1\qmake\library -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1\qmake\generators -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1\qmake\generators\unix -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1\qmake\generators\win32 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1\qmake\generators\mac -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1/include -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1/include\QtCore -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1/include\QtCore\5.12.3 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1/include\QtCore\5.12.3\QtCore -I..\src\corelib\global -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.3-4fa71cacd1\mkspecs\win32-msvc -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -DQT
Notice: re-mapping requested qmake spec to unified 'win32-msvc'.
Microsoft (R) Program Maintenance Utility Version 14.21.27702.2
Copyright (C) Microsoft Corporation. All rights reserved.
This is the Qt Open Source Edition.
Bootstrapping qmake ...
cl -c -Fo./ -Fdqmake.pdb -W2 -nologo -O2 /MP /wd4577 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\library -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\generators -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\generators\unix -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\generators\win32 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\generators\mac -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4/include -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4/include\QtCore -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4/include\QtCore\5.12.5 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4/include\QtCore\5.12.5\QtCore -I..\src\corelib\global -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\mkspecs\win32-msvc -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -DQT
Microsoft (R) Program Maintenance Utility Version 14.23.28105.4
Copyright (C) Microsoft Corporation. All rights reserved.
This is the Qt Open Source Edition.
You have already accepted the terms of the Open Source license.
Running configuration tests...
Microsoft (R) Program Maintenance Utility Version 14.23.28105.4
Copyright (C) Microsoft Corporation. All rights reserved.
Command line: -confirm-license -opensource -verbose -system-zlib -system-libjpeg -system-libpng -system-freetype -system-pcre -system-doubleconversion -system-sqlite -system-harfbuzz -opengl dynamic -nomake examples -nomake tests "LIBJPEG_LIBS=JPEG_DEBUG-NOTFOUND" "ZLIB_LIBS=ZLIB_DEBUG-NOTFOUND" "LIBPNG_LIBS=D:/GitHub/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib ZLIB_DEBUG-NOTFOUND" "PCRE2_LIBS=D:/GitHub/vcpkg/installed/x64-windows/debug/lib/pcre2-16d.lib" "FREETYPE_LIBS=D:/GitHub/vcpkg/installed/x64-windows/debug/lib/freetyped.lib BZ2_DEBUG-NOTFOUND D:/GitHub/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib ZLIB_DEBUG-NOTFOUND" "QMAKE_LIBS_PRIVATE+=BZ2_DEBUG-NOTFOUND" "QMAKE_LIBS_PRIVATE+=D:/GitHub/vcpkg/installed/x64-windows/debug/lib/libpng16d.lib" "PSQL_LIBS=D:/GitHub/vcpkg/installed/x64-windows/debug/lib/libpqd.lib D:/GitHub/vcpkg/installed/x64-windows/debug/lib/ssleay32.
Bootstrapping qmake ...
cl -c -Fo./ -Fdqmake.pdb -W2 -nologo -O2 /MP /wd4577 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\library -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\generators -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\generators\unix -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\generators\win32 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\qmake\generators\mac -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4/include -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4/include\QtCore -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4/include\QtCore\5.12.5 -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4/include\QtCore\5.12.5\QtCore -I..\src\corelib\global -ID:\GitHub\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\mkspecs\win32-msvc -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_WARNINGS -DQT
@Jimmy-Hu
Jimmy-Hu / PlaneV2WithTransformAllMethod
Last active November 4, 2020 03:20
The full version of PlaneV2 class
public class PlaneV2<T>
{
public int Width { get; } = 0;
public int Height { get; } = 0;
private T[,] Grid = null;
public int Length => Width * Height;
public PlaneV2() : this(1, 1) { }
public PlaneV2(int width, int height)
@Jimmy-Hu
Jimmy-Hu / recursive_transformFunctionWithMultiArray
Created November 4, 2020 22:10
A recursive_transform Function with boost::multi_array
#include <algorithm>
#include <array>
#include <cassert>
#include <chrono>
#include <complex>
#include <concepts>
#include <deque>
#include <exception>
#include <functional>
#include <iostream>
@Jimmy-Hu
Jimmy-Hu / ElementIncrementAndDecrementOperator
Created November 6, 2020 01:10
Element Increment and Decrement Operator
#include <algorithm>
#include <array>
#include <cassert>
#include <chrono>
#include <complex>
#include <concepts>
#include <deque>
#include <exception>
#include <functional>
#include <iostream>