template <class _Container>
class back_insert_iterator { // wrap pushes to back of container as output iterator
public:
....
using container_type = _Container;
...
>g++ -LC:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib -IC:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\include Window.cpp main.cpp -o exe.exe -Wl,--start-group -lglfw3 -lopengl32 -lglad -Wl,--end-group
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x175): undefined reference to `__imp_CreateDCW'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x1ad): undefined reference to `__imp_GetDeviceCaps'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x1cb): undefined reference to `__imp_GetDeviceCaps'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x22b): undefined reference to `__imp_GetDeviceCaps'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x29c): undefined reference to `__imp_GetDeviceCaps'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x2c8): undefined reference to `__imp_DeleteDC'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0xc6d): undefined reference to `__imp_GetDeviceCaps'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0xc85): undefined reference to `__imp_GetDeviceCaps'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x12be): undefined reference to `__imp_CreateDCW'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x12dc): undefined reference to `__imp_GetDeviceGammaRamp'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x12ef): undefined reference to `__imp_DeleteDC'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x1450): undefined reference to `__imp_CreateDCW'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x146e): undefined reference to `__imp_SetDeviceGammaRamp'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_monitor.c.obj):win32_monitor.:(.text+0x1481): undefined reference to `__imp_DeleteDC'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_window.c.obj):win32_window.c:(.text+0x238): undefined reference to `__imp_CreateDIBSection'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_window.c.obj):win32_window.c:(.text+0x2a9): undefined reference to `__imp_CreateBitmap'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_window.c.obj):win32_window.c:(.text+0x2d8): undefined reference to `__imp_DeleteObject'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_window.c.obj):win32_window.c:(.text+0x3e0): undefined reference to `__imp_DeleteObject'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_window.c.obj):win32_window.c:(.text+0x3f0): undefined reference to `__imp_DeleteObject'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_window.c.obj):win32_window.c:(.text+0xc7d): undefined reference to `__imp_CreateRectRgn'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(win32_window.c.obj):win32_window.c:(.text+0xce2): undefined reference to `__imp_DeleteObject'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(wgl_context.c.obj):wgl_context.c:(.text+0x8fb): undefined reference to `__imp_DescribePixelFormat'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(wgl_context.c.obj):wgl_context.c:(.text+0xe24): undefined reference to `__imp_DescribePixelFormat'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(wgl_context.c.obj):wgl_context.c:(.text+0x1234): undefined reference to `__imp_SwapBuffers'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(wgl_context.c.obj):wgl_context.c:(.text+0x166e): undefined reference to `__imp_ChoosePixelFormat'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(wgl_context.c.obj):wgl_context.c:(.text+0x1687): undefined reference to `__imp_SetPixelFormat'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(wgl_context.c.obj):wgl_context.c:(.text+0x1b23): undefined reference to `__imp_DescribePixelFormat'
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\lib/libglfw3.a(wgl_context.c.obj):wgl_context.c:(.text+0x1b69): undefined reference to `__imp_SetPixelFormat'
collect2.exe: error: ld returned 1 exit status
C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source>g++ -IC:\Users\79306\Documents\GitHub\2DPrimitiveLib\source\deps\include -Wl,--start-group -lglfw3 -lopengl32 -lglad -Wl,--end-group Window.cpp main.cpp -o exe.exe
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglfw3: No such file or directory
c:/users/79306/desktop/development-libraries/mingw/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglad: No such file or directory
collect2.exe: error: ld returned 1 exit status
C:\Users\79306\Documents\GitHub\2DPrimitiveLib\source>
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake(49): try_compile(CMAKE_${lang}_ABI_COMPILED ${CMAKE_BINARY_DIR} ${src} CMAKE_FLAGS ${CMAKE_FLAGS} --no-warn-unused-cli COMPILE_DEFINITIONS ${COMPILE_DEFINITIONS} OUTPUT_VARIABLE OUTPUT COPY_FILE ${BIN} COPY_FILE_ERROR _copy_error __CMAKE_INTERNAL ABI )
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeDetermineCompilerABI.cmake:49 (try_compile):
Failed to open
C:/Users/79306/Desktop/CMAKETEST/CMakeFiles/CMakeTmp/CMakeLists.txt
Permission denied
Call Stack (most recent call first):
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:26 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:3 (project)
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(49): try_compile(CMAKE_CXX_COMPILER_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCXXCompiler.cxx OUTPUT_VARIABLE __CMAKE_CXX_COMPILER_OUTPUT )
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:49 (try_compile):
Failed to open
C:/Users/79306/Desktop/CMAKETEST/CMakeFiles/CMakeTmp/CMakeLists.txt
Permission denied
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(47): unset(CMAKE_CXX_COMPILER_WORKS )
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(49): try_compile(CMAKE_CXX_COMPILER_WORKS ${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeTmp/testCXXCompiler.cxx OUTPUT_VARIABLE __CMAKE_CXX_COMPILER_OUTPUT )
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:49 (try_compile):
Failed to open
C:/Users/79306/Desktop/CMAKETEST/CMakeFiles/CMakeTmp/CMakeLists.txt
Permission denied
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(53): set(CMAKE_CXX_COMPILER_WORKS ${CMAKE_CXX_COMPILER_WORKS} )
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(54): unset(CMAKE_CXX_COMPILER_WORKS CACHE )
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(55): __TestCompiler_restoreTryCompileTargetType()
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCompilerCommon.cmake(30): if(__CMAKE_TEST_COMPILER_TARGET_TYPE_RESTORE )
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(56): if(NOT CMAKE_CXX_COMPILER_WORKS )
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(57): PrintTestCompilerResult(CHECK_FAIL broken )
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCompilerCommon.cmake(13): message(${TYPE} ${MSG} )
-- Check for working CXX compiler: C:/Users/79306/Desktop/DEVELOPMENT-LIBRARIES/MINGW_FOLDER/bin/g++.exe - broken
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(58): file(APPEND ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/CMakeError.log Determining if the CXX compiler works failed with the following output:\n${__CMAKE_CXX_COMPILER_OUTPUT}\n\n )
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(61): string(REPLACE \n \n _output ${__CMAKE_CXX_COMPILER_OUTPUT} )
C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake(62): message(FATAL_ERROR The C++ compiler\n \"${CMAKE_CXX_COMPILER}\"\n is not able to compile a simple test program.\nIt fails with the following output:\n ${_output}\n\n CMake will not be able to correctly generate this project. )
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.22/Modules/CMakeTestCXXCompiler.cmake:62 (message):
The C++ compiler
"C:/Users/79306/Desktop/DEVELOPMENT-LIBRARIES/MINGW_FOLDER/bin/g++.exe"
is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/79306/Desktop/CMAKETEST/CMakeFiles/CMakeOutput.log".
See also "C:/Users/79306/Desktop/CMAKETEST/CMakeFiles/CMakeError.log".