github OpenAMP libmetal project

59 views
Skip to first unread message

Matt Buonadonna

unread,
Aug 20, 2019, 5:59:15 PM8/20/19
to open...@googlegroups.com

Hi,

I’m trying to build the libmetal repository for an r5 on the zcu104 eval board and am running into some trouble.

 

I’m calling cmake with the following parameters:

cmake "C:\source_code\xilinx\libmetal" -DCMAKE_TOOLCHAIN_FILE="cmake\platforms\zynqmp-r5-generic.cmake" -DWITH_EXAMPLES=1 -DCMAKE_LIBRARY_PATH="C:\source_code\xilinx\libmetal\lib"

 

and I get the following error output:

-- Using _lib=

external library _lib_path-NOTFOUND not found

hint: you may need to pass -DCMAKE_LIBRARY_PATH=<path>

CMake Error at examples/system/generic/zynqmp_r5/CMakeLists.txt:16 (message):

  library xil;xilmem;xilstandalone is required to build the examples

 

Setting the lib path should be easy enough, but where do I find the libraries that cmake is looking for?

 

Thank you

-Matt

Ben Levinsky

unread,
Aug 20, 2019, 6:17:21 PM8/20/19
to open...@googlegroups.com

Hello,

 

You need to make sure that the Xilinx BSP has libxil, xilmem and xilstandalone and that your linker flags when building libmetal reflect this.

 

Best

Ben

--
You received this message because you are subscribed to the Google Groups "open-amp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-amp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/open-amp/BY5PR03MB515396A55322E0DC60B0806BCDAB0%40BY5PR03MB5153.namprd03.prod.outlook.com.

Reply all
Reply to author
Forward
0 new messages