Comments (7)
V-EZ's lib (.so) works perfectly with only C.
The header file just has a few small mistakes with certain typedefs.
from v-ez.
Could you paste the exact error output of the compiler?
from v-ez.
Here's the output:
In file included from ../src/main.c:2:
../include/vez/VEZ.h:178:11: error: unknown type name ‘VezMemberInfo’
const VezMemberInfo* pNext;
^~~~~~~~~~~~~
../include/vez/VEZ.h:179:11: error: unknown type name ‘VezMemberInfo’
const VezMemberInfo* pMembers;
^~~~~~~~~~~~~
../include/vez/VEZ.h:395:11: error: unknown type name ‘VezAttachmentInfo’
const VezAttachmentInfo* pAttachments;
^~~~~~~~~~~~~~~~~
In file included from ../src/main.c:2:
../include/vez/VEZ.h:573:60: error: unknown type name ‘VezMultisampleState’
VKAPI_ATTR void VKAPI_CALL vezCmdSetMultisampleState(const VezMultisampleState* pStateInfo);
^~~~~~~~~~~~~~~~~~~
../include/vez/VEZ.h:574:61: error: unknown type name ‘VezDepthStencilState’
VKAPI_ATTR void VKAPI_CALL vezCmdSetDepthStencilState(const VezDepthStencilState* pStateInfo);
from v-ez.
A minimal example would help the debugging. If you could, please make a .zip containing a single file that causes the problem and post it with GCC command or Makefile/CMake/etc so a developer could build and try fixing easily.
from v-ez.
Just create a 'main.c' file and add the line '#include "VEZ.h"'.
Then run:
gcc main.c -o main
Also, compiling with CLANG yields the exact same result.
from v-ez.
I'm afraid that this problem is out of scope, because most V-EZ's code is C++. And you can't compile as C code since C doesn't have class
keyword. So it's not possible to use V-EZ in C-only environment I think.
from v-ez.
I got V-EZ compiling for my V-EZ rust bindings. Could be useful for this issue: #71
from v-ez.
Related Issues (20)
- Macro produces non-portable functions HOT 1
- Why no comments? HOT 2
- StreamEncoder::CmdEndRenderPass() wrong barriers bug HOT 1
- Documentation lacks compute pipeline invocation instruction
- 'maxTransferBlocksY' not used in Device::CompressedImageSubData HOT 1
- Validation error in shadow mapping sample HOT 1
- Subpasses example segfaults HOT 1
- DescriptorPool leaks when exceeding m_maxSetsPerPool HOT 2
- V-EZ is unmaintained, what's next? HOT 9
- 使用cmake编译vez出错
- Incorrect index in StreamDecoder::CmdClearAttachments
- CmdClearAttachments no effect when no pipelines in renderpass
- Pipeline barrier issue with srcAccessMask and srcStageMask
- Divide by zero in compressed image subdata HOT 2
- Incorrect cached pipeline as GraphicsState not copy safe
- Begin/EndRenderPass with CLEAR and STORE, but no draw calls won't actually clear and store [fixed] HOT 1
- If using multiple sets in a shader, they may be ordered incorrectly when creating a descriptor [fixed] HOT 1
- UncompressedImageSubData fails to update the correct Z/depth of a 3d texture [fixed]
- Device::MapBuffer ignores offset param [fixed]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v-ez.