-
Notifications
You must be signed in to change notification settings - Fork 55
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
Trying to start the examples on MacOS 15... #180
Comments
Hi! Where is the source code: You cannot build subprojects directly. |
Yes! Fantastic! ... It works perfectly. Sorry for my clumsy configuration of CMake. |
Hi, OK, I have managed to compile and launch the demos from source. Now I try to make a new project from scratch and do the following: I start CMake, set the source path for the binaries (empty folder) and the nappgui path, and generate the project for XCode. I open the project and everything is fine. I run it and it compiles correctly. Now comes doubt. I create a new group (folder) in the XCode project and create a new C file from the templates. This generates an .h and a .c. In the .c file I copy and paste the code from the ‘Hello world’ tutorial from the NappGUI website. I compile without errors but the screen does not appear. What steps am I missing? Regards, |
Creating a new Apple Desktop Bundle is a bit more complicated than just adding a C file to Xcode. However, you should not edit the Xcode project directly, as it has been generated by CMake and will be overwritten by the next CMake run. If you want to learn and practice with NAppGUI, simply edit any example application. For example, editing On the other hand, if you want to seriously start developing a new application, you should do so outside of the NAppGUI project directory.
|
Hi all,
I am trying to start the examples from the source code on Mac OS 15.2 with Xcode 16.2 installed and CMake 3.31.4.
The thing is that when I run the configuration from CMake I get an error that I show in the screenshots.
What configuration should I include in CMake to make it work? What am I doing wrong?
The C compiler works correctly (see CodeRunner screen)
The text was updated successfully, but these errors were encountered: