Closed williamtu closed 3 years ago
I switch to use dependency, but still not work
dependency('libdpdk', method : 'pkg-config')
dependency('DPDK', method : 'pkg-config')
dependency('dpdk', method : 'pkg-config')
still not work
Program pkg-config found: YES
Program sed found: YES
Found pkg-config: C:\ProgramData\chocolatey\bin\pkg-config.EXE (0.28)
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libunwind found: NO (tried pkgconfig and cmake)
Program python3 found: YES
Dependency threads found: YES unknown (cached)
Library pthreadVC3 found: YES
Library rte_eal found: YES
Run-time dependency dpdk found: NO (tried pkgconfig)
on Windows environment, I assume you have installed 'C:\temp\dpdk\lib'. I got the pkg-config.exe working by 2 moths
dpdk_lib = cc.find_library('dpdk', dirs: ['C:\\temp\\dpdk\\lib\\pkg-config'])
Thanks for the information!
Another way suggested by Bruce is to use -Dpkg_config_path.
PS C:\k8s-antrea-dpdk-win\ovs> meson --reconfigure build
-Dpkg_config_path=C:\temp\dpdk\lib\pkgconfig\
discussed here: http://inbox.dpdk.org/dev/CALDO+SY28rpwQCu08AyFy5uX4+T1=09tvNoZQS3j6Mbzm_nHqQ@mail.gmail.com/
Thanks for the information!
Another way suggested by Bruce is to use -Dpkg_config_path.
PS C:\k8s-antrea-dpdk-win\ovs> meson --reconfigure build -Dpkg_config_path=C:\temp\dpdk\lib\pkgconfig\
discussed here: http://inbox.dpdk.org/dev/CALDO+SY28rpwQCu08AyFy5uX4+T1=09tvNoZQS3j6Mbzm_nHqQ@mail.gmail.com/
good to hear, if the problem is resolved please feel free to close the ticket
looks like pkg-config can find libdpdk after setting the PKG_CONFIG_PATH
but meson can not find it