Can someone help with compiling PcapPlusPlus
?
#565
Unanswered
IsaacsLab42
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Have you tried running your cmake command with the You might be able to understand better what's causing the error with that output. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use CPM to compile and statically link both
libpcap
andPcapPlusPlus
, but I'm having problems. MyCMakeLists.txt
file looks like this:The error I get while PcapPlusPlus is configuring is:
So, I tried adding this to the
CMakeLists.txt
file in-between the twoCPMAddPackage
blocks:Now, the error changes to:
I finally managed to track down the cause of the error, as logged in the
CMakeConfigureLog.yaml
file:Makes sense, since this is still the configure stage and
libpcap.a
has not been built yet. Is there any way to get around this problem? I'm totally onboard with adding aPATCH_COMMAND
to munge one of the CMake files in either project, if that's what it takes. It just seems like there should be some other non-invasive solution though.Beta Was this translation helpful? Give feedback.
All reactions