sam-cpp-macos
sam-cpp-macos copied to clipboard
I met this error when run with xcode.
Hi, @ryouchinsa
I met this error when run with xcode.
"/Users/user1/Music/of_v0.11.2_osx_release/libs/openFrameworks/3d/ofMesh.inl:1101:20 Use of undeclared identifier 'MAX'
What;s wrong to me ??
Thanks at any rate.
best, @bemoregt.
Thanks for writing the issue. I show you my settings on the Xcode. If you need more information to build on the Xcode, please let me know.
- General -> Frameworks, Libraries, and Embedded Content
- Build Settings
Header Search Paths
/Users/ryo/Downloads/onnxruntime-osx-universal2-1.16.3/include
Library Search Paths
/Users/ryo/Downloads/onnxruntime-osx-universal2-1.16.3/lib
- Build Phases -> Embed Libraries
I met this error screenshot when run with XCode + Openframeworks.
sam.cpp * sam.h cannot inserted in src diretory. What's wrong to me ?
Thanks.
Best, @bemoregt,
@bemoregt Please show screenshots with errors ..
by the way you have two src folders inside of your project
Did you select 'Copy items if needed' when you added the files?
Here it is ..
The cmake project compiles well in my osx terminal, But errors occur when I try to compile it in Openframeworks + Xcode.
Even if I load the onnxruntim library, there is no errors, but if I paste sam.h and sam.cpp into OF’s src folder and compile, errors occur.
Why is that so? I wonder.
What's wrong to me ?
- H/w: m1 macmini
- O/S: mac osx sonoma
- Xcode 15.1
- Openframeworks v0.11.2_osx
Thanks in advance.
Best, @bemoregt,
I want to support your use-case, but I have not used the openFrameworks yet. How about asking on the issues page? https://github.com/openframeworks/openFrameworks/issues