Its been a long since I am struggling integrating the Tapku Library in my Xcode project. I want to implement the Day View component from Tapku into my project. I followed the instructions from read-me on github but had no success. I am getting following error, "Apple Compiler LLVM Error" when I add the files to my project. Anyone who has successfully integrated the same please help.
I solved this issue by using Finder (before opening xCode) copy the src folder to my projects directory.
So my project structure is MyProject/Frameworks/src
For the rest of the steps just follow the guide on Tapku's GitHub page.
Only add the 2 TapkuLibrary.xcodeproj and src/TapkuLibrary.bundle files
Select the Build Phases
Link Binary With Libraries
For the Header Search Path you can use $(SRCROOT)/Frameworks/src remember to use non-recursive option
And for Other Linker Flags add -ObjC
Hope this helps
Related
I am tinkering with this C MXChip IoT project. This may be a supid question but hacking and navigating the code is difficult because there is no single project with all libraries and src files. Is there a way to have all main program, libs, src c and h files on the same Visual Studio project (not VSCode, I'm using VS2022)?
Most probably my tries were wrong, I tried dragging all the files into the solution of a new C project but references or variables are still unrecognized. Same result adding in solution properties->c/c++->Additional include directories/#using directories, and this latter approach doesn't show me the file to navigate and see the code.
I see the following folders with its subfolders used by the project:
app;lib;shared;
I installed dev env vcpkg following guide https://vcpkg.io/en/getting-started.html with package azure-iot-sdk-c found in https://vcpkg.io/en/packages.html. vcpkg is a MSFT supported env. And also installed Azure IoT Edge Tools for VS 2022 following guide https://learn.microsoft.com/en-us/azure/iot-edge/how-to-visual-studio-develop-module?view=iotedge-1.4 and works great !
I've recently been asked whether it was possible for me to convert my older theme contributions to the new Qooxdoo packaging system. So I installed Qooxdoo 6.0 and got a first test app running - not without problems because the instructions in the official docs are a bit buggy (e.g "npx qx" is an unknown command with my Ubuntu 18.04). I also read about the packaging system and what to do to install one of the existing packages from the Qooxdoo repository.
Then I followed the steps described in section "Create a new package". This procedure resulted in a folder structure which looked familiar at first sight, but a closer look made me wonder: There are two resource folders now, one is under "source" (as I would have expected) and the other one is under "source/class/[mypackage]". I also noticed that there is a "demo" folder in "source/class/[mypackage]", which used to be a top-level folder in previous Qooxdoo versions.
I then copied the theming files of my contribution to "source/class/theme", the demo app files to "source/class/[mypackage]/demo" and the demo resources to "source/class/[mypackage]/resource". After compiling the project I managed to run the demo app, but only without the expected resources (no icons, no fonts, no background images). The theming as such appears to be applied properly, but I keep getting plenty of error messages telling me "404 (Not found)" and "Image could not be loaded".
What am I doing wrong?
I guess you are running into a bug with our template for packages ... please open an issue https://github.com/qooxdoo/qooxdoo-compiler/issues/
As for how to do it. Have a look at an actual theme package for 6.0 https://github.com/ITISFoundation/qx-osparc-theme there you can see the required structure.
Also, for this kind of question, interactive help is probably best. Visit the qooxdoo chat on https://gitter.im/qooxdoo/qooxdoo
I'm working on a little project and I'm trying to use SDL2 library! I installed the SDL2.framework successfully in my library/framework folder. Then when I tried to link my headers and my framework in Xcode by adding the Library/Framework path for the framework and /Library/Framework/SDL2.framework/Headers for the headers in my app settings! Then I include
. #include
Afterward when I run the program there is an error but not about the fact it doesn't find headers.
Do you guys have a few tips about this?
Thank you
PS : sorry for the eventual English mistake
edit: i finally manage to run the program (i forgot to link binary) but now Xcode shut down right after it
I finally could install it for those who are struggling with this !
1. Download SDL2 source code on the website.
2. Compile the framework and copy SDL2.framework in the Library/Framework directory.
3. Create a classic Xcode project in C. In build settings. Then in Build Phases add SDL2.framework in the "Link binary with libraries" Indicate for the headers search paths : Library/Frameworks/SDL2.framework/Headers and Library/Frameworks for the framework search paths.
Hope this can help some of you.
Thank you all for the help !
try the following tutorial to see if it helps - http://zamma.co.uk/setup-sdl2-in-xcode-osx/
I have configured the Wikitude iOS plugin as suggested here -
https://github.com/phonegap/phonegap-plugins/tree/master/iOS/AugmentedReality-Wikitude/Plugin
However, during the compilation it is showing me build error - WTArchitechview.h not found in WTWikitiudePlugin.m file.
I am currently having iOS 6 device and using Cordova 2.0.0. I found one guide in the wikitude documentation -
http://forum.wikitude.com/documentation?p_p_id=2_WAR_knowledgebaseportlet&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-2&p_p_col_count=1&_2_WAR_knowledgebaseportlet_mvcPath=%2Fdisplay%2Fview_article.jsp&_2_WAR_knowledgebaseportlet_resourcePrimKey=128189
It says I have to remove the armv7s architecture and have to do some modification files. I was not able to understand that modification part. I mean which file I have to modify.
I think you're having two problems.
The first is, that you have to download the Wikitude SDK from there website and then add the files from the SDK into your phonegap Xcode project (Follow the steps described in your first link). If you did this and still having compile time errors, make sure that either your user header search path from your Xcode project is set correctly or you copied the Wikitude SDK files into the folder which are already setup in the sample project. You can also remove the existing Wikitude SDK folder in your Xcode project and drag the one in, which you have downloaded.
The second link describes what you need to change in order to build your project with the Wikitude SDK in Xcode 4.5. You need to change this in your Xcode project settings. You have to do this because the Wikitude SDK needs some libraries which are not available for the armv7s architecture right now.
So I've installed GTK-OSX from http://gtk-osx.sourceforge.net/
I've added my /location-to-GTK/lib directory to Xcode's header search path. But exactly which library files do I add to my Xcode project? There are about ~100 of them and I don't think need to add all of them.
Can anyone with GTK-OSX experience assist me?