Uploaded image for project: 'vpp'
  1. vpp
  2. VPP-1567

building sample_plugin outside of vpp source tree failed.

XMLWordPrintable

      in ubuntu bionic with vpp packages installed  [vpp-lib vpp-dev vpp].

      when building sample_plugin it gives error:

      CMake Warning at CMakeLists.txt:10 (find_package): By not providing "FindVPP.cmake"  .....

       searching packages it seems cmake files not packaged with vpp-dev.

      when copying cmake folder from vpp source this error accoured:

      ```
      fatal: not a git repository (or any parent up to mount point /)
      Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
      CMake Error at cmake/pack.cmake:42 (string):
      string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
      command.
      Call Stack (most recent call first):
      CMakeLists.txt:14 (add_vpp_packaging)
      ```

            dbarach Dave Barach
            chezgi abbas ali chezgi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: