Skip to content

Build failure with actual libvsg  #51

@rhabacker

Description

@rhabacker

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....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions