Forum Discussion

ee05's avatar
ee05
Icon for New Contributor rankNew Contributor
6 hours ago

Building Card Image in FPGA AI Suite - missing CMakeLists.txt for hps_packages/protobuf/cmake

Hello, I'm working through the FPGA AI Suite Handbook 2026.1.1  and have got to the section where it builds the image with create_hps_image.sh, for example ./create_hps_image.sh -f $COREDLA_WORK/a10_perf_bitstream/hw/output_files -o jss10 -u -m arria10

It bulilds a fair bit but then falls over on making protobuf

--------------------------------------------

cmake -G Ninja -B /home/ee05/coredla_work/runtime/hps_packages/protobuf/cmake/build_Release -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_EXAMPLES=OFF -Dprotobuf_WITH_ZLIB=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=/home/ee05/coredla_work/runtime/hps_packages/armcpu_package/protobuf -DCMAKE_TOOLCHAIN_FILE=/home/ee05/coredla_work/runtime/embedded_arm_sdk/cmake/embedded.arm.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON .

CMake Error: The source directory "/home/ee05/coredla_work/runtime/hps_packages/protobuf/cmake" does not appear to contain CMakeLists.txt.

-------------------------------------------

At first the complaint was protobuf wasn't installed so I installed it with 

sudo apt-get install -y protobuf-compiler

and it then got to error above.

Should there be a CMakeLists.txt in protobuf/cmake?  Have I missed a step somewhere? here should the CMakeLists.txt come from?

Any suggestions greatfully received.

Best wishes, Jeremy

P.S. I'm on Ubuntu 24.04 

 

 

 

No RepliesBe the first to reply