Hi Muni, As shown in the error log, it seems that you haven't installed apache-arrow, one of the dependency libraries of Graphar-C++. It is a lack of dependency error, rather than the WSL specific compatibility issue. You may want to try following the instructions on ubuntu in https://github.com/apache/incubator-graphar/tree/main/cpp, and install all the dependencies, the error may disappear.
Best, Jingbo On Sun, 28 Jul 2024 at 22:07, Muniraju Pulipalyam <[email protected]> wrote: > Hi, > > I want to be able to build GraphAr on Windows with WSL to debug from > Visual Studio. I am able to launch ubuntu 20.04 in Windows Subsytem For > Linux( WSL 2.0) , build and successfully run examples and benchmarks using > Cmake. But i want to be able to do the same from visual studio on my WSL > binaries to debug the executables. Is this supported? I am getting the > following error message. Any help/pointers highly appreciated. > > Thanks, > Muni > 1> [CMake] -- [graphar] will build in type: Debug > 1> [CMake] CMake Error at C:\mds\graphar\graphar\cpp\CMakeLists.txt:185 > (message): > 1> [CMake] apache-arrow is required, please install it and retry > 1> [CMake] > 1> [CMake] > 1> [CMake] -- Configuring incomplete, errors occurred! > 1> 'C:\windows\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com > 65001 >NUL && "C:\Program Files\Microsoft Visual > Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" > -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" > -DCMAKE_INSTALL_PREFIX:PATH="C:\mds\graphar\graphar\cpp\out\install\x64-Debug" > -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual > Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe" > -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual > Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe" > -DCMAKE_MAKE_PROGRAM="C:\Program Files\Microsoft Visual > Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" > -DCMAKE_TOOLCHAIN_FILE="C:/mds/arrow/vcpkg/scripts/buildsystems/vcpkg.cmake" > "C:\mds\graphar\graphar\cpp" 2>&1"' execution failed with error: > ''C:\windows\system32\cmd.exe' '/c "%SYSTEMROOT%\System32\chcp.com 65001 > >NUL && "C:\Program Files\Microsoft Visual > Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" > -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" > -DCMAKE_INSTALL_PREFIX:PATH="C:\mds\graphar\graphar\cpp\out\install\x64-Debug" > -DCMAKE_C_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual > Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe" > -DCMAKE_CXX_COMPILER:FILEPATH="C:/Program Files/Microsoft Visual > Studio/2022/Community/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe" > -DCMAKE_MAKE_PROGRAM="C:\Program Files\Microsoft Visual > Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja\ninja.exe" > -DCMAKE_TOOLCHAIN_FILE="C:/mds/arrow/vcpkg/scripts/buildsystems/vcpkg.cmake" > "C:\mds\graphar\graphar\cpp" 2>&1"' returned with exit code: 1'. >
