how to start? #1204
-
Hello there! So my CMakeLists contains this: When i compile, there are lots of errors like 'undeclared identifier uint32\uint64', i tried adding includes like cstdlib and stdlib.h but it didn't help either, because then i keep getting more errors. What am I doing wrong? Is it even possible to do without MSVC and Visual Studio which i don't like much? Problems come from the source files in this directory: \VulkanSceneGraph\src\glslang\glslang\MachineIndependent Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
For your first example using the MyFirstVsgApplication project will be good starting place for what is required to set up the CMakeLists.txt in order to link against the VSG, vsgXchange and build your source. |
Beta Was this translation helpful? Give feedback.
-
uint32_t is standard part of C/C++ itself but there is a C version uint32_t and the C++ standard version std::uint32_t, they are exactly the same type, just latter definition adds the std namespace. I don't know of others having the issue you are having - I occasionally build under Windows 11 myself and haven't seen this issue with using the command line build or using VisualStudio. What compiler version are you using? |
Beta Was this translation helpful? Give feedback.
-
ok i was able to build it PHEWWWW |
Beta Was this translation helpful? Give feedback.
-
Just to give some more context here, the |
Beta Was this translation helpful? Give feedback.
ok i was able to build it PHEWWWW
turned out I needed Windows SDK, as well as cstdint and windows.h includes added to SymbolTable.h and Win32_Window.cpp respectively.
Thanks a lot Robert for guiding me there!
Love your work.