-
Notifications
You must be signed in to change notification settings - Fork 64
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
Mac cmake errors #47
Comments
I assume you want to build VideoStitch Studio, so you will not need the RTMP plugin. Try adding |
Thanks, that's at least gotten me closer... I think. I now it says it's generated the build files however looking at the build folder Studio and VahanaVR folders are empty. I then run $ninja in the build folder but get this error: I'm a little unclear if I have to run ninja at that point but it appears to be the next step according to ticket #27 but it's not spelled out in the build.md and looking at the ninja help I don't see much of anything I should be passing if anything. Thanks, Mike |
Yes, you need to run After applying any changes to the system configuration, like changing something around Xcode, it's always best to clear out the whole build folder (all the files the CMake call created) and start fresh. |
No Xcode changes on my end as far as I know. This version of Xcode is pretty default as I've yet to bring over any old iOS or Mac projects to this machine. I cleared everything out of the build folder ran cmake again and then ninja and same error. |
Can you try opening/creating a first project dummy with XCode UI? I think it installs a few stuffs when starting for the first time |
Opened Xcode and created a project but still no go. I started over with a new git stitchEm instance, created a build folder did a cmake into it and at this point it's using MacOSX10.15.sdk which is installed. Once the cmake is complete I ninja but it's at this point it's looking for MacOSX10.14.sdk which is NOT installed. I'll poke around to see if I can somehow download the 10.14.sdk Mike |
I updated build.ninja manually replacing -mmacosx-version-min=10.14 with 10.15 and it has gotten me a step closer. Ninja runs but I'm getting: |
What's the exact error message? You can run |
[1/491] cd /Users/michaelweiland/Documents/Devel...ent/stitchEm/build/generated_headers/version.hpp |
Editing The problem is still the SDK version ( I'm not sure what the root of the problem is, maybe you're accidentally using a MacPorts compiler and not the Xcode compiler, and the MacPorts compiler has the 10.14 SDK hardcoded in. Is there anything custom in your build environment? Feel free to post the output of a clean CMake configuration run, I can have a look for things that look fishy. You could try downgrading to Xcode 10.3, which ships with the 10.14 SDK. |
I've went to an older MacBook Pro running 10.14 and have gotten stitchEm to build and I've executed Studio! I'll see if I can figure out the difference and where my SDKs have gotten out of sync and continue with seeing what's up with my main system. I'll set up another clean stitchEm and report back the CMake. I do have some general questions on StitchEm and whether or not it will suit my needs on the devices I intend to run it on, is there a forum or a better place to ask general questions? |
You're in the right place :) |
I'm glad you made it work |
I bypassed the openAl in the install script and have everything else installed. However, when I attempt to do the cmake command I'm getting an error.
cmake -DGPU_BACKEND_CUDA=OFF -DGPU_BACKEND_OPENCL=ON -DQt5_DIR=~/Qt/qt_/5.9.8/clang_64/lib/cmake/Qt5 -DCMAKE_BUILD_TYPE=Release -G Ninja ../../stitchEm
-- Studio version: Studio-v0.0.9-31-g20693a5-master.2019-08-29
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
librtmp
linked by target "rtmpPlugin" in directory /Users/michaelweiland/Documents/Development/stitchEm/IO/src/rtmp
-- Configuring incomplete, errors occurred!
I've attached the error log.
Macbook Pro running 10.14.6 (Mojave), Xcode 11.2.1
Thanks,
Mike
CMakeError.log
The text was updated successfully, but these errors were encountered: