Skip to content

Instantly share code, notes, and snippets.

@T3sT3ro
Created January 9, 2018 21:34
Show Gist options
  • Save T3sT3ro/e255a93ab4176775a1e0730fff595177 to your computer and use it in GitHub Desktop.
Save T3sT3ro/e255a93ab4176775a1e0730fff595177 to your computer and use it in GitHub Desktop.
na windzie nie działa eb52dad082bf63d95636d2b8feb196dd63c7e7cf
C:\Users\Tooster\AppData\Local\JetBrains\Toolbox\apps\CLion\ch-0\173.3727.114\bin\cmake\bin\cmake.exe --build G:\CLion\Logicon\cmake-build-debug --target logicon -- -j 2
[ 37%] Built target glfw
Scanning dependencies of target logicon
[ 40%] Building C object CMakeFiles/logicon.dir/dependencies/gl3w/src/gl3w.c.obj
[ 42%] Building CXX object CMakeFiles/logicon.dir/dependencies/imgui/imgui.cpp.obj
[ 45%] Building CXX object CMakeFiles/logicon.dir/dependencies/imgui/imgui_draw.cpp.obj
[ 47%] Building CXX object CMakeFiles/logicon.dir/dependencies/imgui/imgui_demo.cpp.obj
[ 50%] Building CXX object CMakeFiles/logicon.dir/dependencies/imgui_impl_glfw_gl3/imgui_impl_glfw_gl3.cpp.obj
In file included from g:\programy\mingw\include\windows.h:44:0,
from G:/CLion/Logicon/dependencies/glfw/include/GLFW/glfw3native.h:88,
from G:\CLion\Logicon\dependencies\imgui_impl_glfw_gl3\imgui_impl_glfw_gl3.cpp:21:
g:\programy\mingw\include\winbase.h:1256:24: error: expected ')' before '*' token
typedef void (APIENTRY *PAPCFUNC)(ULONG_PTR);
^
g:\programy\mingw\include\winbase.h:1263:14: error: expected initializer before 'WinMain'
int APIENTRY WinMain (HINSTANCE, HINSTANCE, LPSTR, int);
^~~~~~~
g:\programy\mingw\include\winbase.h:1268:14: error: expected initializer before 'wWinMain'
int APIENTRY wWinMain (HINSTANCE, HINSTANCE, LPWSTR, int);
^~~~~~~~
g:\programy\mingw\include\winbase.h:2241:39: error: 'PAPCFUNC' was not declared in this scope
WINBASEAPI DWORD WINAPI QueueUserAPC (PAPCFUNC, HANDLE, ULONG_PTR);
^~~~~~~~
g:\programy\mingw\include\winbase.h:2241:55: error: expected primary-expression before ',' token
WINBASEAPI DWORD WINAPI QueueUserAPC (PAPCFUNC, HANDLE, ULONG_PTR);
^
g:\programy\mingw\include\winbase.h:2241:66: error: expected primary-expression before ')' token
WINBASEAPI DWORD WINAPI QueueUserAPC (PAPCFUNC, HANDLE, ULONG_PTR);
^
g:\programy\mingw\include\winbase.h:2241:66: error: expression list treated as compound expression in initializer [-fpermissive]
In file included from g:\programy\mingw\include\windows.h:51:0,
from G:/CLion/Logicon/dependencies/glfw/include/GLFW/glfw3native.h:88,
from G:\CLion\Logicon\dependencies\imgui_impl_glfw_gl3\imgui_impl_glfw_gl3.cpp:21:
g:\programy\mingw\include\winnetwk.h:244:16: error: expected initializer before 'WNetAddConnectionA'
DWORD APIENTRY WNetAddConnectionA(LPCSTR,LPCSTR,LPCSTR);
^~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:245:16: error: expected initializer before 'WNetAddConnectionW'
DWORD APIENTRY WNetAddConnectionW(LPCWSTR,LPCWSTR,LPCWSTR);
^~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:246:16: error: expected initializer before 'WNetAddConnection2A'
DWORD APIENTRY WNetAddConnection2A(LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
^~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:247:16: error: expected initializer before 'WNetAddConnection2W'
DWORD APIENTRY WNetAddConnection2W(LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
^~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:248:16: error: expected initializer before 'WNetAddConnection3A'
DWORD APIENTRY WNetAddConnection3A(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD);
^~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:249:16: error: expected initializer before 'WNetAddConnection3W'
DWORD APIENTRY WNetAddConnection3W(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD);
^~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:250:16: error: expected initializer before 'WNetCancelConnectionA'
DWORD APIENTRY WNetCancelConnectionA(LPCSTR,BOOL);
^~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:251:16: error: expected initializer before 'WNetCancelConnectionW'
DWORD APIENTRY WNetCancelConnectionW(LPCWSTR,BOOL);
^~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:252:16: error: expected initializer before 'WNetCancelConnection2A'
DWORD APIENTRY WNetCancelConnection2A(LPCSTR,DWORD,BOOL);
^~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:253:16: error: expected initializer before 'WNetCancelConnection2W'
DWORD APIENTRY WNetCancelConnection2W(LPCWSTR,DWORD,BOOL);
^~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:254:16: error: expected initializer before 'WNetGetConnectionA'
DWORD APIENTRY WNetGetConnectionA(LPCSTR,LPSTR,PDWORD);
^~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:255:16: error: expected initializer before 'WNetGetConnectionW'
DWORD APIENTRY WNetGetConnectionW(LPCWSTR,LPWSTR,PDWORD);
^~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:256:16: error: expected initializer before 'WNetUseConnectionA'
DWORD APIENTRY WNetUseConnectionA(HWND,LPNETRESOURCEA,LPCSTR,LPCSTR,DWORD,LPSTR,PDWORD,PDWORD);
^~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:257:16: error: expected initializer before 'WNetUseConnectionW'
DWORD APIENTRY WNetUseConnectionW(HWND,LPNETRESOURCEW,LPCWSTR,LPCWSTR,DWORD,LPWSTR,PDWORD,PDWORD);
^~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:258:16: error: expected initializer before 'WNetSetConnectionA'
DWORD APIENTRY WNetSetConnectionA(LPCSTR,DWORD,PVOID);
^~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:259:16: error: expected initializer before 'WNetSetConnectionW'
DWORD APIENTRY WNetSetConnectionW(LPCWSTR,DWORD,PVOID);
^~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:260:16: error: expected initializer before 'WNetConnectionDialog'
DWORD APIENTRY WNetConnectionDialog(HWND,DWORD);
^~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:261:16: error: expected initializer before 'WNetDisconnectDialog'
DWORD APIENTRY WNetDisconnectDialog(HWND,DWORD);
^~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:262:16: error: expected initializer before 'WNetConnectionDialog1A'
DWORD APIENTRY WNetConnectionDialog1A(LPCONNECTDLGSTRUCTA);
^~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:263:16: error: expected initializer before 'WNetConnectionDialog1W'
DWORD APIENTRY WNetConnectionDialog1W(LPCONNECTDLGSTRUCTW);
^~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:264:16: error: expected initializer before 'WNetDisconnectDialog1A'
DWORD APIENTRY WNetDisconnectDialog1A(LPDISCDLGSTRUCTA);
^~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:265:16: error: expected initializer before 'WNetDisconnectDialog1W'
DWORD APIENTRY WNetDisconnectDialog1W(LPDISCDLGSTRUCTW);
^~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:266:16: error: expected initializer before 'WNetOpenEnumA'
DWORD APIENTRY WNetOpenEnumA(DWORD,DWORD,DWORD,LPNETRESOURCEA,LPHANDLE);
^~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:267:16: error: expected initializer before 'WNetOpenEnumW'
DWORD APIENTRY WNetOpenEnumW(DWORD,DWORD,DWORD,LPNETRESOURCEW,LPHANDLE);
^~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:268:16: error: expected initializer before 'WNetEnumResourceA'
DWORD APIENTRY WNetEnumResourceA(HANDLE,PDWORD,PVOID,PDWORD);
^~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:269:16: error: expected initializer before 'WNetEnumResourceW'
DWORD APIENTRY WNetEnumResourceW(HANDLE,PDWORD,PVOID,PDWORD);
^~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:270:16: error: expected initializer before 'WNetCloseEnum'
DWORD APIENTRY WNetCloseEnum(HANDLE);
^~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:271:16: error: expected initializer before 'WNetGetUniversalNameA'
DWORD APIENTRY WNetGetUniversalNameA(LPCSTR,DWORD,PVOID,PDWORD);
^~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:272:16: error: expected initializer before 'WNetGetUniversalNameW'
DWORD APIENTRY WNetGetUniversalNameW(LPCWSTR,DWORD,PVOID,PDWORD);
^~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:273:16: error: expected initializer before 'WNetGetUserA'
DWORD APIENTRY WNetGetUserA(LPCSTR,LPSTR,PDWORD);
^~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:274:16: error: expected initializer before 'WNetGetUserW'
DWORD APIENTRY WNetGetUserW(LPCWSTR,LPWSTR,PDWORD);
^~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:275:16: error: expected initializer before 'WNetGetProviderNameA'
DWORD APIENTRY WNetGetProviderNameA(DWORD,LPSTR,PDWORD);
^~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:276:16: error: expected initializer before 'WNetGetProviderNameW'
DWORD APIENTRY WNetGetProviderNameW(DWORD,LPWSTR,PDWORD);
^~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:277:16: error: expected initializer before 'WNetGetNetworkInformationA'
DWORD APIENTRY WNetGetNetworkInformationA(LPCSTR,LPNETINFOSTRUCT);
^~~~~~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:278:16: error: expected initializer before 'WNetGetNetworkInformationW'
DWORD APIENTRY WNetGetNetworkInformationW(LPCWSTR,LPNETINFOSTRUCT);
^~~~~~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:279:16: error: expected initializer before 'WNetGetResourceInformationA'
DWORD APIENTRY WNetGetResourceInformationA(LPNETRESOURCEA,LPVOID,LPDWORD,LPSTR*);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:280:16: error: expected initializer before 'WNetGetResourceInformationW'
DWORD APIENTRY WNetGetResourceInformationW(LPNETRESOURCEW,LPVOID,LPDWORD,LPWSTR*);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:281:16: error: expected initializer before 'WNetGetResourceParentA'
DWORD APIENTRY WNetGetResourceParentA(LPNETRESOURCEA,LPVOID,LPDWORD);
^~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:282:16: error: expected initializer before 'WNetGetResourceParentW'
DWORD APIENTRY WNetGetResourceParentW(LPNETRESOURCEW,LPVOID,LPDWORD);
^~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:283:16: error: expected initializer before 'WNetGetLastErrorA'
DWORD APIENTRY WNetGetLastErrorA(PDWORD,LPSTR,DWORD,LPSTR,DWORD);
^~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:284:16: error: expected initializer before 'WNetGetLastErrorW'
DWORD APIENTRY WNetGetLastErrorW(PDWORD,LPWSTR,DWORD,LPWSTR,DWORD);
^~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:285:16: error: expected initializer before 'MultinetGetConnectionPerformanceA'
DWORD APIENTRY MultinetGetConnectionPerformanceA(LPNETRESOURCEA,LPNETCONNECTINFOSTRUCT);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g:\programy\mingw\include\winnetwk.h:286:16: error: expected initializer before 'MultinetGetConnectionPerformanceW'
DWORD APIENTRY MultinetGetConnectionPerformanceW(LPNETRESOURCEW,LPNETCONNECTINFOSTRUCT);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from g:\programy\mingw\include\windows.h:61:0,
from G:/CLion/Logicon/dependencies/glfw/include/GLFW/glfw3native.h:88,
from G:\CLion\Logicon\dependencies\imgui_impl_glfw_gl3\imgui_impl_glfw_gl3.cpp:21:
g:\programy\mingw\include\lzexpand.h:21:15: error: expected initializer before 'LZClose'
VOID APIENTRY LZClose(INT);
^~~~~~~
g:\programy\mingw\include\lzexpand.h:22:15: error: expected initializer before 'LZCopy'
LONG APIENTRY LZCopy(INT,INT);
^~~~~~
In file included from g:\programy\mingw\include\windows.h:68:0,
from G:/CLion/Logicon/dependencies/glfw/include/GLFW/glfw3native.h:88,
from G:\CLion\Logicon\dependencies\imgui_impl_glfw_gl3\imgui_impl_glfw_gl3.cpp:21:
g:\programy\mingw\include\commdlg.h:232:24: error: expected ')' before '*' token
typedef UINT (APIENTRY *__CDHOOKPROC)(HWND,UINT,WPARAM,LPARAM);
^
g:\programy\mingw\include\commdlg.h:233:9: error: '__CDHOOKPROC' does not name a type
typedef __CDHOOKPROC LPCCHOOKPROC;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:234:9: error: '__CDHOOKPROC' does not name a type
typedef __CDHOOKPROC LPCFHOOKPROC;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:235:9: error: '__CDHOOKPROC' does not name a type
typedef __CDHOOKPROC LPFRHOOKPROC;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:236:9: error: '__CDHOOKPROC' does not name a type
typedef __CDHOOKPROC LPOFNHOOKPROC;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:237:9: error: '__CDHOOKPROC' does not name a type
typedef __CDHOOKPROC LPPAGEPAINTHOOK;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:238:9: error: '__CDHOOKPROC' does not name a type
typedef __CDHOOKPROC LPPAGESETUPHOOK;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:239:9: error: '__CDHOOKPROC' does not name a type
typedef __CDHOOKPROC LPSETUPHOOKPROC;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:240:9: error: '__CDHOOKPROC' does not name a type
typedef __CDHOOKPROC LPPRINTHOOKPROC;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:249:2: error: 'LPCCHOOKPROC' does not name a type
LPCCHOOKPROC lpfnHook;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:260:2: error: 'LPCCHOOKPROC' does not name a type
LPCCHOOKPROC lpfnHook;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:272:2: error: 'LPCFHOOKPROC' does not name a type
LPCFHOOKPROC lpfnHook;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:290:2: error: 'LPCFHOOKPROC' does not name a type
LPCFHOOKPROC lpfnHook;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:315:2: error: 'LPFRHOOKPROC' does not name a type
LPFRHOOKPROC lpfnHook;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:328:2: error: 'LPFRHOOKPROC' does not name a type
LPFRHOOKPROC lpfnHook;
^~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:350:2: error: 'LPOFNHOOKPROC' does not name a type
LPOFNHOOKPROC lpfnHook;
^~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:377:2: error: 'LPOFNHOOKPROC' does not name a type
LPOFNHOOKPROC lpfnHook;
^~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:406:2: error: 'LPPAGESETUPHOOK' does not name a type
LPPAGESETUPHOOK lpfnPageSetupHook;
^~~~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:407:2: error: 'LPPAGEPAINTHOOK' does not name a type
LPPAGEPAINTHOOK lpfnPagePaintHook;
^~~~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:422:2: error: 'LPPAGESETUPHOOK' does not name a type
LPPAGESETUPHOOK lpfnPageSetupHook;
^~~~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:423:2: error: 'LPPAGEPAINTHOOK' does not name a type
LPPAGEPAINTHOOK lpfnPagePaintHook;
^~~~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:441:2: error: 'LPPRINTHOOKPROC' does not name a type
LPPRINTHOOKPROC lpfnPrintHook;
^~~~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:442:2: error: 'LPSETUPHOOKPROC' does not name a type
LPSETUPHOOKPROC lpfnSetupHook;
^~~~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:462:2: error: 'LPPRINTHOOKPROC' does not name a type
LPPRINTHOOKPROC lpfnPrintHook;
^~~~~~~~~~~~~~~
g:\programy\mingw\include\commdlg.h:463:2: error: 'LPSETUPHOOKPROC' does not name a type
LPSETUPHOOKPROC lpfnSetupHook;
^~~~~~~~~~~~~~~
CMakeFiles\logicon.dir\build.make:162: recipe for target 'CMakeFiles/logicon.dir/dependencies/imgui_impl_glfw_gl3/imgui_impl_glfw_gl3.cpp.obj' failed
mingw32-make.exe[3]: *** [CMakeFiles/logicon.dir/dependencies/imgui_impl_glfw_gl3/imgui_impl_glfw_gl3.cpp.obj] Error 1
mingw32-make.exe[3]: *** Waiting for unfinished jobs....
mingw32-make.exe[2]: *** [CMakeFiles/logicon.dir/all] Error 2
CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/logicon.dir/all' failed
CMakeFiles\Makefile2:78: recipe for target 'CMakeFiles/logicon.dir/rule' failed
mingw32-make.exe[1]: *** [CMakeFiles/logicon.dir/rule] Error 2
mingw32-make.exe: *** [logicon] Error 2
Makefile:117: recipe for target 'logicon' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment