After a long time, I started to build the VSG and it's companion
projects again, very curious about VSG v1.0.
Building the VSG works fine
and now I'd like to build vsgExamples. For this, I set the env variable
vsg_DIR to my installed VSG. $vsg_DIR contains
lib/libvsg.a
lib/cmake/vsg/vsgConfig.cmake
lib/cmake/vsg_glslang/vsg_glslangConfig.cmake
and when cmake-ing vsgExamples for instance, I get
CMake Error at
/usr/local/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47
(find_package):
By not providing "Findvsg_glslang.cmake" in CMAKE_MODULE_PATH this
project
has asked CMake to find a package configuration file provided by
"vsg_glslang", but CMake did not find one.
Could not find a package configuration file provided by "vsg_glslang"
with
any of the following names:
vsg_glslangConfig.cmake
vsg_glslang-config.cmake
It must be something with an incorrect environment variable but I can't
figure out what it needs to be... Any idea?
On Tue, 17 May 2022 at 15:56, Raymond de Vries <reed...@gmail.com> wrote:
After a long time, I started to build the VSG and it's companion
projects again, very curious about VSG v1.0.
For clarification, the VSG is now feature complete for 1.0 - so has all the major features written, but work isn't quite complete yet. The project has now entered a refinement phase where we find all the rough edges and attempt to resolve them before the final 1.0 release. So... resolving problems is exactly the one you've just came across :-)
Building the VSG works fine
and now I'd like to build vsgExamples. For this, I set the env variable
vsg_DIR to my installed VSG. $vsg_DIR contains
lib/libvsg.a
lib/cmake/vsg/vsgConfig.cmake
lib/cmake/vsg_glslang/vsg_glslangConfig.cmake
Did you build and install vsgXchange OK?
I have never personally used the vsg_DIR env var. I don't recall it being mentioned in the build docs. I can see vsg_DIR used internally by the CMakeCache.txt generated after running the first cmake .
Personally I have Install directory in my home directory, with LD_LIBRARY_PATH and PATH set to the ~/Install/lib and ~/Install/bin respectively, and when I build each vsg component I used the line:
cmake . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=~/Install
I've attached one of the script I use to rebuild the VSG and all the associated libs and examples, this isn't something I;d suggest everyone uses, but it works for me, ingore adapt to your own needs.
and when cmake-ing vsgExamples for instance, I get
CMake Error at
/usr/local/share/cmake-3.22/Modules/CMakeFindDependencyMacro.cmake:47
(find_package):
By not providing "Findvsg_glslang.cmake" in CMAKE_MODULE_PATH this
project
has asked CMake to find a package configuration file provided by
"vsg_glslang", but CMake did not find one.
Could not find a package configuration file provided by "vsg_glslang"
with
any of the following names:
vsg_glslangConfig.cmake
vsg_glslang-config.cmake
It must be something with an incorrect environment variable but I can't
figure out what it needs to be... Any idea?
My best guess is that you are being too specific with the env var, it should be enough to just point cmake at the parent directory for where all the include and libs are installed if it's different from the standard system directories like /usr/lib and /usr/local/lib.
At this point I think we are probably seeing an issue with our docs not being clear enough, rather than a specific problem.
--
Cheers,Robert.
You received this message because you are subscribed to the Google Groups "vsg-users : VulkanSceneGraph Developer Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vsg-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/CAFN7Y%2BVLBapZ2ne4rrHv6%2Bm_YuDXXAox9aSHzPhAcrKSd4A6KA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "vsg-users : VulkanSceneGraph Developer Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vsg-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/CAFN7Y%2BVJrxq9O-eOa_VzAJuEGRfFMAnWm9KuNoL9e5WGX3_%3DuA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "vsg-users : VulkanSceneGraph Developer Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vsg-users+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/CAFN7Y%2BVJrxq9O-eOa_VzAJuEGRfFMAnWm9KuNoL9e5WGX3_%3DuA%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/CAEKysgQ0YoguAS6eA7q_FrT5Ghfr3yBNEWzRXyOuOHCqLZzTrw%40mail.gmail.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vsg-users/3b28ad2a-5dff-43f2-968a-9df8b4eb9440n%40googlegroups.com.