nvpro-samples / gl_vk_threaded_cadscene

OpenGL and Vulkan comparison on rendering a CAD scene using various techniques

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

the global scope has no "int_least8_t" gl_vk_threaded_cadscene

andreluizbarbieri opened this issue · comments

the global scope has no "int_least8_t" gl_vk_threaded_cadscene
the global scope has no "int_least16_t" gl_vk_threaded_cadscene
the global scope has no "int_least32_t" gl_vk_threaded_cadscene
the global scope has no "int_least64_t" gl_vk_threaded_cadscene

I have the same errors in gl_commandlist_basic

I have this problem too on Ubuntu 16.04 with GCC 6.0.1

It's complaining about the declarations in cstdint coming from the include of . There's a lot of mixing of C and C++ headers going on all over this project so it seems they may have tripped across each other. I'm trying to untangle it and I'll submit a pull request when I figure it out.

I opened an issue here on stackoverflow, it is still unanswered although some lazy/superficial user tried to close it down

The same issue.

Can you try to build this without NSight support (remove addPackageNSight from the CMake).
Let me know if the issue persists.

When I do that I get

error: no matching function for call to ‘push_back(const csfthreaded::Nulled&)’

every time sc.fbos is called in renderthread_glcmd.cpp

Fixed that by manually casting the sc.fbos->scene to a GLuint and it builds. Still not working but that my be other issues.

I can confirm Chris suggestion worked for me.

Commenting out _add_package_NSight() inside gl_commandlist_basic\CMakeList.txt made it compiling!

Ps: I deleted all the projects and cloned them again before doing it