Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure with actual libvsg #51

Open
rhabacker opened this issue Oct 17, 2023 · 0 comments · May be fixed by #52
Open

Build failure with actual libvsg #51

rhabacker opened this issue Oct 17, 2023 · 0 comments · May be fixed by #52

Comments

@rhabacker
Copy link
Contributor

Since October 05, 2023 building of vsgvr from main branch against libvsg from master branch fails with the following build error. From the log.txt:

[   33s] [ 21%] Building CXX object vsgvr/CMakeFiles/vsgvr.dir/src/vsgvr/app/CompositionLayer.cpp.o
[   33s] cd /home/abuild/rpmbuild/BUILD/vsgvr-20230104/build/vsgvr && /usr/bin/c++ -DVSGVR_DECLSPEC="" -DVSG_SHARED_LIBRARY -Dvsgvr_EXPORTS -I/home/abuild/rpmbuild/BUILD/vsgvr-20230104/vsgvr/include -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -DNDEBUG -O2 -g -DNDEBUG -fPIC -Wall -Wparentheses -Wno-long-long -Wno-import -Wreturn-type -Wmissing-braces -Wunknown-pragmas -Wmaybe-uninitialized -Wshadow -Wunused -Wno-misleading-indentation -Wextra -std=gnu++1z -MD -MT vsgvr/CMakeFiles/vsgvr.dir/src/vsgvr/app/CompositionLayer.cpp.o -MF CMakeFiles/vsgvr.dir/src/vsgvr/app/CompositionLayer.cpp.o.d -o CMakeFiles/vsgvr.dir/src/vsgvr/app/CompositionLayer.cpp.o -c /home/abuild/rpmbuild/BUILD/vsgvr-20230104/vsgvr/src/vsgvr/app/CompositionLayer.cpp
[   33s] /home/abuild/rpmbuild/BUILD/vsgvr-20230104/vsgvr/src/vsgvr/app/CompositionLayer.cpp: In member function 'vsg::CommandGraphs vsgvr::CompositionLayer::createCommandGraphsForView(vsg::ref_ptr<vsgvr::Instance>, vsg::ref_ptr<vsgvr::Session>, vsg::ref_ptr<vsg::Node>, std::vector<vsg::ref_ptr<vsg::Camera> >&, bool)':
[   33s] /home/abuild/rpmbuild/BUILD/vsgvr-20230104/vsgvr/src/vsgvr/app/CompositionLayer.cpp:294:48: error: 'createHeadlight' is not a member of 'vsg'
[   33s]        if (assignHeadlight) view->addChild(vsg::createHeadlight());
[   33s]                                                 ^~~~~~~~~~~~~~~
[   33s] /home/abuild/rpmbuild/BUILD/vsgvr-20230104/vsgvr/src/vsgvr/app/CompositionLayer.cpp: In member function 'void vsgvr::CompositionLayer::compile(vsg::ref_ptr<vsg::ResourceHints>)':
[   33s] /home/abuild/rpmbuild/BUILD/vsgvr-20230104/vsgvr/src/vsgvr/app/CompositionLayer.cpp:416:16: warning: unused variable 'k' [-Wunused-variable]
[   33s]      for (auto& k : _recordAndSubmitTasks)
[   33s]                 ^
[   33s] make[2]: *** [vsgvr/CMakeFiles/vsgvr.dir/build.make:163: vsgvr/CMakeFiles/vsgvr.dir/src/vsgvr/app/CompositionLayer.cpp.o] Error 1
[   33s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/vsgvr-20230104/build'
[   33s] make[2]: *** Waiting for unfinished jobs....
@rhabacker rhabacker linked a pull request Oct 26, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant