-
Notifications
You must be signed in to change notification settings - Fork 73
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
Issues during the installation of PULP-SDK on empty OS #136
Comments
I solved by editing the "CMakeList.txt" file in "pulp-sdk/" folder in this way: cmake_minimum_required(VERSION 3.16.3) project(sdk) if(NOT DEFINED CONFIG_PULP_SDK_HOME) # Use CCache to speed up compilation if possible add_subdirectory(tools/gvsoc/common) ## Install pip requirements, note: does not install nntool reqs as building It seems the problem is generated since a too old version of g++ is called (<14.0). |
Dear all,
I tried to install the new version of the PULP-SDK, however errors occur during the installation ("main" branch). First of all, the gvsoc folder misses the files. I fixed with:
git submodule update --init --recursive
Second, Python misses the "prettytable" module. I fixed with
pip install prettytable
However, when I launch the "make build", an error occures:
[ 6%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc_debug.dir/src/signal.cpp.o
/home/virtualbox/PULP/pulp-sdk/tools/gvsoc/common/engine/src/vp.cpp: In function ‘std::string vp::__gv_get_component_path(js::config*, std::string)’:
/home/virtualbox/PULP/pulp-sdk/tools/gvsoc/common/engine/src/vp.cpp:1534:18: error: ‘std::filesystem’ has not been declared
1534 | if (std::filesystem::exists(path))
| ^~~~~~~~~~
[ 6%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc_debug.dir/src/queue.cpp.o
[ 7%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/trace/fst.cpp.o
make[3]: *** [tools/gvsoc/common/engine/CMakeFiles/gvsoc_debug.dir/build.make:167: tools/gvsoc/common/engine/CMakeFiles/gvsoc_debug.dir/src/vp.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
[ 7%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/trace/vcd.cpp.o
[ 8%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/clock/clock.cpp.o
[ 8%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/vp.cpp.o
[ 8%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/block.cpp.o
make[3]: Leaving directory '/home/virtualbox/PULP/pulp-sdk/build'
make[2]: *** [CMakeFiles/Makefile2:1377: tools/gvsoc/common/engine/CMakeFiles/gvsoc_debug.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 9%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/register.cpp.o
[ 9%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/signal.cpp.o
[ 9%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/queue.cpp.o
[ 10%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/proxy.cpp.o
/home/virtualbox/PULP/pulp-sdk/tools/gvsoc/common/engine/src/vp.cpp: In function ‘std::string vp::__gv_get_component_path(js::config*, std::string)’:
/home/virtualbox/PULP/pulp-sdk/tools/gvsoc/common/engine/src/vp.cpp:1534:18: error: ‘std::filesystem’ has not been declared
1534 | if (std::filesystem::exists(path))
| ^~~~~~~~~~
[ 10%] Building CXX object tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/power/power_table.cpp.o
make[3]: *** [tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/build.make:167: tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/src/vp.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/home/virtualbox/PULP/pulp-sdk/build'
make[2]: *** [CMakeFiles/Makefile2:1431: tools/gvsoc/common/engine/CMakeFiles/gvsoc.dir/all] Error 2
make[2]: Leaving directory '/home/virtualbox/PULP/pulp-sdk/build'
make[1]: *** [Makefile:130: all] Error 2
make[1]: Leaving directory '/home/virtualbox/PULP/pulp-sdk/build'
make: *** [Makefile:27: build] Error 2
I'm using GCC 9.4.0.
The text was updated successfully, but these errors were encountered: