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
Hi, I build the latest vk_mem_alloc.h, put it in the pyvma_build folder, removed the old vk_mem_alloc.h and ck_mem_alloc.cdef.h.
Unfortunately the compilers don't seem to be reading the type definitions. Should cdefs also be built for vulkan.h?
D:\dev\pyvma\pyvma\pyvma_build>g++ -std=c99 -P -Iinclude -o cdef/vk_mem_alloc.cdef.h vk_mem_alloc.h
cc1plus.exe: warning: command line option '-std=c99' is valid for C/ObjC but not for C++
vk_mem_alloc.h:455:5: error: 'PFN_vkFlushMappedMemoryRanges' does not name a type; did you mean 'PFN_vkMapMemory'?
PFN_vkFlushMappedMemoryRanges VMA_NULLABLE vkFlushMappedMemoryRanges;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PFN_vkMapMemory
vk_mem_alloc.h:456:5: error: 'PFN_vkInvalidateMappedMemoryRanges' does not name a type
PFN_vkInvalidateMappedMemoryRanges VMA_NULLABLE vkInvalidateMappedMemoryRanges;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vk_mem_alloc.h:465:5: error: 'PFN_vkCmdCopyBuffer' does not name a type; did you mean 'PFN_vkDestroyBuffer'?
PFN_vkCmdCopyBuffer VMA_NULLABLE vkCmdCopyBuffer;
^~~~~~~~~~~~~~~~~~~
PFN_vkDestroyBuffer
vk_mem_alloc.h:583:5: error: 'VkInstance' does not name a type; did you mean 'VkImage'?
VkInstance VMA_NOT_NULL instance;
^~~~~~~~~~
VkImage
vk_mem_alloc.h:624:5: error: 'VkInstance' does not name a type; did you mean 'VkImage'?
VkInstance VMA_NOT_NULL instance;
^~~~~~~~~~
VkImage
vk_mem_alloc.h:1833:5: error: 'VkCommandBuffer' does not name a type; did you mean 'VkBuffer'?
VkCommandBuffer VMA_NULLABLE commandBuffer;
^~~~~~~~~~~~~~~
VkBuffer
D:\dev\pyvma\pyvma\pyvma_build>gcc -std=c99 -P -Iinclude -o cdef/vk_mem_alloc.cdef.h vk_mem_alloc.h
vk_mem_alloc.h:455:5: error: unknown type name 'PFN_vkFlushMappedMemoryRanges'
PFN_vkFlushMappedMemoryRanges VMA_NULLABLE vkFlushMappedMemoryRanges;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vk_mem_alloc.h:456:5: error: unknown type name 'PFN_vkInvalidateMappedMemoryRanges'
PFN_vkInvalidateMappedMemoryRanges VMA_NULLABLE vkInvalidateMappedMemoryRanges;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vk_mem_alloc.h:465:5: error: unknown type name 'PFN_vkCmdCopyBuffer'
PFN_vkCmdCopyBuffer VMA_NULLABLE vkCmdCopyBuffer;
^~~~~~~~~~~~~~~~~~~
vk_mem_alloc.h:583:5: error: unknown type name 'VkInstance'
VkInstance VMA_NOT_NULL instance;
^~~~~~~~~~
vk_mem_alloc.h:624:5: error: unknown type name 'VkInstance'
VkInstance VMA_NOT_NULL instance;
^~~~~~~~~~
vk_mem_alloc.h:1833:5: error: unknown type name 'VkCommandBuffer'
VkCommandBuffer VMA_NULLABLE commandBuffer;
^~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Hi, I build the latest vk_mem_alloc.h, put it in the pyvma_build folder, removed the old vk_mem_alloc.h and ck_mem_alloc.cdef.h.
Unfortunately the compilers don't seem to be reading the type definitions. Should cdefs also be built for vulkan.h?
D:\dev\pyvma\pyvma\pyvma_build>g++ -std=c99 -P -Iinclude -o cdef/vk_mem_alloc.cdef.h vk_mem_alloc.h
cc1plus.exe: warning: command line option '-std=c99' is valid for C/ObjC but not for C++
vk_mem_alloc.h:455:5: error: 'PFN_vkFlushMappedMemoryRanges' does not name a type; did you mean 'PFN_vkMapMemory'?
PFN_vkFlushMappedMemoryRanges VMA_NULLABLE vkFlushMappedMemoryRanges;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PFN_vkMapMemory
vk_mem_alloc.h:456:5: error: 'PFN_vkInvalidateMappedMemoryRanges' does not name a type
PFN_vkInvalidateMappedMemoryRanges VMA_NULLABLE vkInvalidateMappedMemoryRanges;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vk_mem_alloc.h:465:5: error: 'PFN_vkCmdCopyBuffer' does not name a type; did you mean 'PFN_vkDestroyBuffer'?
PFN_vkCmdCopyBuffer VMA_NULLABLE vkCmdCopyBuffer;
^~~~~~~~~~~~~~~~~~~
PFN_vkDestroyBuffer
vk_mem_alloc.h:583:5: error: 'VkInstance' does not name a type; did you mean 'VkImage'?
VkInstance VMA_NOT_NULL instance;
^~~~~~~~~~
VkImage
vk_mem_alloc.h:624:5: error: 'VkInstance' does not name a type; did you mean 'VkImage'?
VkInstance VMA_NOT_NULL instance;
^~~~~~~~~~
VkImage
vk_mem_alloc.h:1833:5: error: 'VkCommandBuffer' does not name a type; did you mean 'VkBuffer'?
VkCommandBuffer VMA_NULLABLE commandBuffer;
^~~~~~~~~~~~~~~
VkBuffer
D:\dev\pyvma\pyvma\pyvma_build>gcc -std=c99 -P -Iinclude -o cdef/vk_mem_alloc.cdef.h vk_mem_alloc.h
vk_mem_alloc.h:455:5: error: unknown type name 'PFN_vkFlushMappedMemoryRanges'
PFN_vkFlushMappedMemoryRanges VMA_NULLABLE vkFlushMappedMemoryRanges;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vk_mem_alloc.h:456:5: error: unknown type name 'PFN_vkInvalidateMappedMemoryRanges'
PFN_vkInvalidateMappedMemoryRanges VMA_NULLABLE vkInvalidateMappedMemoryRanges;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vk_mem_alloc.h:465:5: error: unknown type name 'PFN_vkCmdCopyBuffer'
PFN_vkCmdCopyBuffer VMA_NULLABLE vkCmdCopyBuffer;
^~~~~~~~~~~~~~~~~~~
vk_mem_alloc.h:583:5: error: unknown type name 'VkInstance'
VkInstance VMA_NOT_NULL instance;
^~~~~~~~~~
vk_mem_alloc.h:624:5: error: unknown type name 'VkInstance'
VkInstance VMA_NOT_NULL instance;
^~~~~~~~~~
vk_mem_alloc.h:1833:5: error: unknown type name 'VkCommandBuffer'
VkCommandBuffer VMA_NULLABLE commandBuffer;
^~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: