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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use CPM to compile and statically link both
libpcapandPcapPlusPlus, but I'm having problems. MyCMakeLists.txtfile looks like this:The error I get while PcapPlusPlus is configuring is:
So, I tried adding this to the
CMakeLists.txtfile in-between the twoCPMAddPackageblocks:Now, the error changes to:
I finally managed to track down the cause of the error, as logged in the
CMakeConfigureLog.yamlfile:Makes sense, since this is still the configure stage and
libpcap.ahas not been built yet. Is there any way to get around this problem? I'm totally onboard with adding aPATCH_COMMANDto 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