Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to cpack obs-studio-node after compilation #952

Closed
alokmahor opened this issue Jun 17, 2021 · 1 comment
Closed

Not able to cpack obs-studio-node after compilation #952

alokmahor opened this issue Jun 17, 2021 · 1 comment

Comments

@alokmahor
Copy link

I am trying to build obs-studio-node by following these steps.

  • git clone https://github.com/stream-labs/obs-studio-node
  • cd obs-studio-node
  • yarn install
  • git submodule update --init --recursive
  • mkdir build
  • cd build
  • cmake .. -G"Visual Studio 16 2019" -A x64
  • cmake --build .
  • cpack -G TGZ
    In the last step cpack -G ZIP I am error
PS C:\Users\alok\Downloads\tmp\streamlabs\obs-studio-node\build> cpack -G TGZ
Chocolatey v0.10.15
File specified is either not found or not a .nuspec file. 'TGZ'

What is error? How can I fix this to create TGZ file?

@alokmahor
Copy link
Author

Today I fond the reason why cpack -G TGZ was not working.
Chocolatey's cpack command has a name collision with CMake's cpack
so I need to call cpack with full correct path 'C:\Program Files\CMake\bin\cpack.exe' -G TGZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant