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

FR: Provide build and deploy instructions #16

Open
kubark42 opened this issue Feb 12, 2023 · 7 comments
Open

FR: Provide build and deploy instructions #16

kubark42 opened this issue Feb 12, 2023 · 7 comments

Comments

@kubark42
Copy link

kubark42 commented Feb 12, 2023

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.

@jtfrey
Copy link
Owner

jtfrey commented Feb 13, 2023

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.

@kubark42
Copy link
Author

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?

@BeansIsFat
Copy link

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.

@kubark42
Copy link
Author

@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.

@jtfrey
Copy link
Owner

jtfrey commented Feb 13, 2023

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.

@kubark42
Copy link
Author

@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.

@stevenfoncken
Copy link
Contributor

stevenfoncken commented Dec 11, 2023

see: PR #18

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

4 participants