uvc-util
uvc-util copied to clipboard
FR: Provide build and deploy instructions
This looks like a really cool project, and I'm really enjoying using it. Heckofajob!
Would it be possible to add build and deploy instructions to the Readme.md
? It might even be great if there were a way to build strictly from the CLI, so there's no need to try to describe how to use the XCode GUI.
Feel free to fork a copy and supply an augmented README.md in a pull request. The organization that needed this program no longer uses it, so I don't have time to actively support further development of the code.
Understood! Unfortunately, I personally don't use XCode well enough to describe how to make it compile, aside from "poke at a bunch of crap until something looks sane".
Maybe someone else can fill in the blanks?
I don't have Xcode installed currently but looking at my shell history I believe I used this command to build it in the terminal.
xcodebuild -scheme uvc-util build
I don't recall having to do anything in the Xcode GUI to build it.
@BeansIsFat, thanks, that (sorta) worked!
The reason I say "sorta", is because the files were generated in a strange place, which I only found by looking through the console spew and finding ~/Library/Developer/Xcode/DerivedData/uvc-util-dgdxibmkflixffddgnwzmrezdnau
.
So would just need to figure out how to make the build target directory something local, and maybe as well make a Release
version instead of a Debug
version.
Try from the cloned source directory:
xcodebuild -derivedDataPath ./build -scheme uvc-util -target uvc-util -configuration Release
and look for the executable under ./build/Build/Products/Release/uvc-util
.
@jtfrey nice. I tried your code from the unzipped repo archive, and worked perfectly there, too.
Thanks again for this util, it's perfect for our educational work.
see: PR https://github.com/jtfrey/uvc-util/pull/18