I'm trying to build a project with an ESP-32 but when i'm trying to build the project it came with this error
" fatal error: driver/i2c.h: No such file or directory 21 | #include
"driver/i2c.h" "
I'm using a tutorial to flash my esp-32 : https://github.com/mjuhanne/fyrtur-esp in the "sdk" part the author show how to build it and my error came when i tried to do "idf.py app"
anybody has an idea ?
thanks :)
I search on internet to install a librairy or anything else but i don't find it, I'm new with esp-32
I have similar include problems when I was using ESP-IDF v.5 with some older projects, some of the modules were changed. Moreover, the drivers used by the project are likely to be older as well.
Possible solutions:
I believe it would help to try downgrading the ESP-IDF you're using to the version used in the project, v.4.4.3 should be alright.
I hope this helps, good luck!
Related
After updating the NuGet Type Scripts packages, I was facing with one common build error problem "tsc.exe exited with code 1". After searching I have found the solution how to resolve it. As suggested I installed another two NuGet packages named Microsoft.TypeScript.Compiler and Microsoft.TypeScript.MSBuild. After installing those the tsc.exe exited with code 1 problem solved. But in the mean time a new problem arise on build "Unknown compiler option 'listemittedfiles'".
I was trying to solve it by the suggestion of this Typescript build failure.
But still there has no improvement of this problem.
Can anyone be able to provide a solution please? Please take a lots of thanks in advance.
My client project structure is looks like the image Please click here to view the image
I suggest you to try to fix this issue by installing TypeScript 2.0.6 using the following link:
Visual Studio 2015 TypeScript Tools (2.0.6 at the time of writing)
This will also point MSBuild to the proper TypeScript build, which fully supports the --listEmittedFiles command switch.
See also this answer and/or this blog article I wrote on this topic for further details and references about this issue.
I had the some problem. I found out, that I had a wrong (i.e. older) version of typescript installed (in addition to the current one) and even though the latest version was installed too, the old typescript compiler (tsc) was used.
Open a windows console and run the command following command:
tsc -v
The result should be:
Version 1.0.1.0
If you have the latest typescript installed but don't see the version above, you probably have older versions of typescript installed, that may be the cause of your problems. Uninstall the older versions via "Programs and features" in the control panel of windows.
Hi Ive been able to build my own hello project but ALL the demo projects fail with odd build error they cant find source which is in the Hello project see pics. Must be settings in Netbeans Project but I cant find appreciate any advice. Error /home/alistair/netbeansprojects/codenameone/CameraDemo/build.xml:51: taskdef class com.codename1.build.client.CodeNameOneBuildTask cannot be found
using the classloader AntClassLoader[]:
http://i.stack.imgur.com/gBkeb.png
http://i.stack.imgur.com/YpYIM.png
I got this error when moving a project to a new computer. On the new machine, I had installed JDK 9, whereas on the old machine I had been working with Java 1.8. I downloaded Java 1.8 and selected it as the project SDK, and the error went away.
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've been at this for hours and it's driving me nuts.
so my project uses ZXing for qr code scanning. but i recently updated my xcode to 4.5. when i did so got this error:
Incompatible pointer types sending 'Class' (aka 'Class *') to parameter of type 'id<NSCopying>'
i searched on google and it turns out it was fixed and all i had to do was checking out the revision and i was good.
so i did that, checked out revision 2315 and removed the old ZXing project from my project and went through the steps again in the README to add the new version of ZXing to my project again.
i followed all the steps and everything went well and my project builds and runs on my ipad and iphone simulators.
but the problem comes when i try to archive my project.
i keep getting
clang: error: no such file or directory: '/Users/username/Library/Developer/Xcode/DerivedData/project-name-gbqfhrszrkbmlkesfuzmwreignnu/Build/Products/Release-iphoneos/libZXingWidget.a'
then i read some stackoverflow answers for somewhat similar questions and someone said there might be cached version in DerivedData directory.. so i delete everything in there, i cleaned my project in xcode, and cleared out the files in /var/folders/ as well.
after doing all this i'm still getting the error =( i tried checking out the latest ZXing code and same problem..
any pointers would be greatly appreciated!
thanks
i think i've figured out the problem.
doing a little digging, i found that the libZXingWidget.a file was created in the Debug-iphonesos/ directory but not in the Release-iphoneos/ directory.
so i went to xcode and decided to "Build Active Architecture Only > release to YES. after doing that i did an archive and it worked! but thinking twice, that's probably not a good idea, other architectures wont be built. so i turned it back on. and of course i couldn't archive again.
so the solution i've found was to make make "Architectures" and "Valid Architectures" under the "Build Settings" tab in my project match with "Architectures" and "Valid Architectures" in the ZXingWidget project.
after that everything seems to work again. i can build and run on my ipad, various simulators, and archive!
hope this helps someone!
This is the error message I get:
Cannot complete the install because one or more required items could not be found.
Software being installed: Google App Engine Tools for Android 3.1.0.v201208080121-rel-r42 (com.google.gdt.eclipse.mobile.android.feature.feature.group 3.1.0.v201208080121-rel-r42)
I've tried numerous things including manually downloading the file from here and also I snooped around StackOverflow and I tried just moving all the plugins from the manual download into the plugins folder of my Eclipse. That didn't help me though because my perspective did not update with the plugins and I couldn't find the "Create New Web Application" option. I've also read some things about the XML file being wrong but I can't find it and those were for other Eclipse versions so I don't know if it applies to me.
I also tried excluding Google App Engine Tools for Android 3.1.0 but then it just says the next one in the list can't be found.
I'll be more than happy to provide anymore information. I am running Eclipse Juno 4.2 and Java 1.7 (I also have 1.6 installed though). I am using a Windows 7 PC. Thank you guys so much! I just want to code :[
I did not work for me with this URL: http://dl.google.com/eclipse/plugin/4.2
It worked with this one: http://dl.google.com/eclipse/plugin/3.8
I just changed 4.2 to 3.8.
I faced a similar problem I was downloading with 120 kb/s every time the download breaks down
when I moved to another place and downloaded the plugin with highest speed 400 kb/s It successfully downloaded and no problems found
You might think that issue is out of logic but that what I reached so far
Hope that Helps
I know this is a very old question but recently I found a solution to my problem so I am going to personally update the answer. For some reason, Eclipse Classic 4.2.2 Juno does not come with some of the required packages. After talking to some people, they recommended simply downloading Eclipse IDE for Java EE Developers which simply comes with most of the packages necessary. From there, it just worked!
My friend also mentioned you could try to manually download the packages on Eclipse Classic but that is far more of a hassle.
Hope this helps!