You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to follow your vulkan tutorial but i cant compile crosswindow. I tried using G++,Clang++, switching between XCB and XLIB, but nothing work. I have all required libs.
arch@btw /mnt/shared/InfiniteEngine/build (git)-[master] % cmake ..
-- Installing crosswindow via submodule
-- Building CrossWindow for XCB
-- Installing crosswindow-graphics via submodule
-- Using the Vulkan graphics API with CrossWindow
-- Installing glm via submodule
Creating CrossWindow executable:
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/shared/InfiniteEngine/build
arch@btw /mnt/shared/InfiniteEngine/build (git)-[master] % cmake --build .
[ 15%] Built target glm_static
[ 23%] Building CXX object external/crosswindow/CMakeFiles/CrossWindow.dir/src/CrossWindow/XCB/XCBEventQueue.cpp.o
In file included from /mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:1:
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.h:28:24: error: unknown type name 'xcb_generic_event_t'
void pushEvent(xcb_generic_event_t me);
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:7:15: error: unknown type name 'XWinState'
const XWinState& xwinState = getXWinState();
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:7:38: error: use of undeclared identifier 'getXWinState'
const XWinState& xwinState = getXWinState();
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:8:9: error: use of undeclared identifier 'mConnection'
mConnection = xwinState.connection;
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:11:25: error: return type of out-of-line definition of 'xwin::XCBEventQueue::update' differs from that in the declaration
bool XCBEventQueue::update()
~~~~ ^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.h:19:14: note: previous declaration is here
void update();
~~~~ ^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:13:20: error: use of undeclared identifier 'connection'
xcb_flush(connection);
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:14:29: error: use of undeclared identifier 'connection'
xcb_wait_for_event(connection);
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:15:9: error: unknown type name 'xcb_generic_event_t'
xcb_generic_event_t* e;
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:16:39: error: use of undeclared identifier 'mConnection'
while (e = xcb_poll_for_event(mConnection)) {
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:22:41: error: unknown type name 'xcb_generic_event_t'
void XCBEventQueue::pushEvent(const xcb_generic_event_t *event) {
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:24:9: error: unknown type name 'uint8_t'
uint8_t event_code = event->response_type & 0x7f;
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:26:14: error: use of undeclared identifier 'XCB_CONFIGURE_NOTIFY'
case XCB_CONFIGURE_NOTIFY:
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:31:14: error: use of undeclared identifier 'XCB_EXPOSE'
case XCB_EXPOSE:
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:36:14: error: use of undeclared identifier 'XCB_ENTER_NOTIFY'
case XCB_ENTER_NOTIFY:
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:41:14: error: use of undeclared identifier 'XCB_LEAVE_NOTIFY'
case XCB_LEAVE_NOTIFY:
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:46:14: error: use of undeclared identifier 'XCB_CLIENT_MESSAGE'
case XCB_CLIENT_MESSAGE:
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:48:20: error: use of undeclared identifier 'xcb_client_message_event_t'
if ((*(xcb_client_message_event_t *)event).data.data32[0] == (*demo->atom_wm_delete_window).atom)
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:48:48: error: expected expression
if ((*(xcb_client_message_event_t *)event).data.data32[0] == (*demo->atom_wm_delete_window).atom)
^
/mnt/shared/InfiniteEngine/external/crosswindow/src/CrossWindow/XCB/XCBEventQueue.cpp:48:76: error: use of undeclared identifier 'demo'
if ((*(xcb_client_message_event_t *)event).data.data32[0] == (*demo->atom_wm_delete_window).atom)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [external/crosswindow/CMakeFiles/CrossWindow.dir/build.make:132: external/crosswindow/CMakeFiles/CrossWindow.dir/src/CrossWindow/XCB/XCBEventQueue.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:163: external/crosswindow/CMakeFiles/CrossWindow.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
2 arch@btw /mnt/shared/InfiniteEngine/build (git)-[master] %
The text was updated successfully, but these errors were encountered:
I tried to follow your vulkan tutorial but i cant compile crosswindow. I tried using G++,Clang++, switching between XCB and XLIB, but nothing work. I have all required libs.
The text was updated successfully, but these errors were encountered: