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

Help getting started #34

Open
FreakTheMighty opened this issue Dec 15, 2023 · 1 comment
Open

Help getting started #34

FreakTheMighty opened this issue Dec 15, 2023 · 1 comment

Comments

@FreakTheMighty
Copy link

I'm interested in building the sample iOS app that has some videos posted, but I'm not clear on how to reproduce those results. A couple specific questions. Thanks in advance for your help.

What exactly do these instructions build? Is this building an iOS framework or the sample application?

### iOS
- In XRPrimer, run `./build-ios.sh` to configure some common dependencies.
- In XRSLAM, run `./build-ios.sh` to generate the XCode project using cmake.
+ If it is the first time to run its iOS version, `build-ios.conf` will be automatically generated, you need to assign the `IOS_DEVELOPMENT_TEAM` with your own development id, then run `./build-ios.sh` again to generate the xcode project.
+ It will cost about several minutes (Apple M1 Pro). Then the XCode project `xrslam-superbuild` will be automatically open. if not, you can also open this Xcode project manually by the path `project_path/build/iOS/xrslam-superbuild.xcodeproj`
- The target `xrslam-ios-visulaizer` is what you need to download to the iPhone, and an APP named `XRSLAM` will start automatically.
+ Be sure that your iPhone is supported by checking the [supported devices list](./supported_devices.md)
+ If the project failed to build in Xcode, try to clean the build folder using `cmd+shift+k`

Is this line up-to-date? I don't see a build-ios.sh script in the primer repository.

- In XRPrimer, run `./build-ios.sh` to configure some common dependencies.

@ZibYang
Copy link
Collaborator

ZibYang commented Jan 4, 2024

Thank you for expressing interest in XRSLAM :D

To address your first question, this process will construct the sample application, identical to what you observed in the video.

Regarding your second question, you need to switch to the opencv3.4 branch, available at: https://github.com/openxrlab/xrprimer/tree/xrslam-opencv3.4.7. Once you've switched to this branch, you'll find the build-ios.sh script."

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

2 participants