Replies: 5 comments 1 reply
|
you can use |
|
I was able to compile without issue. I think there was some recent fixes. |
|
I think it might help to add a guide of how to add it properly to an iOS project. I'm slowly figuring it out while asking an AI. Also compile all the shaders for examples. Go to bgfx/examples and type make. You create xcode project with this command Then navigate to the folder of the xcode projects it made and you can open them |
|
Also I found an error when compiling the examples. It will say it cannot find malloc.h Change from To: |
|
I was able to run example 0 and example 2 but example 1 has issues with the shaders not loading and I cannot figure out why. Anyway this should get you started and finally working with BGFX on iOS so have fun. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
XCODE: Version 15.3 (15E204a)
MACOS:SONAMA 14.5
make ios-arm64
../../../src/renderer_vk.cpp:14:10: fatal error: 'Cocoa/Cocoa.h' file not found
import <Cocoa/Cocoa.h>
eg:
#import <Cocoa/Cocoa.h> is for macos app develop.
for this ios, is that should #import <UIKit/UIKit.h>
All reactions