Using love2d as a Library in other applications

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
zhaosida
Prole
Posts: 1
Joined: Tue Apr 02, 2024 9:54 am

Using love2d as a Library in other applications

Post by zhaosida »

I want to embed love2d as a library into my iOS application, but I'm facing an issue with missing header files: love.cpp: 'common/config.h' file not found.
My approach is as follows:
1. In the Xcode project, I select 'Add Files to MyApplications'.
2. I locate liblove.xcodeproj and add it.
3. I also add love.cpp using the same method.
Image
Attachments
WeChat3e47259d84fdc6ef44806db46d84dd8c.png
WeChat3e47259d84fdc6ef44806db46d84dd8c.png (234.82 KiB) Viewed 719 times
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 66 guests