I have this error:
clang: error: no such file or directory:
'/Users/usuario/Desktop/echonest-echoprint-ios-sample-b937c04/Classes/ASIHTTP/clang:
error: no such file or directory:'
I want to run the "echoprint-ios-sample" project and I import the ASIHTTP files
I donĀ“t know what is the problem :(
Someone can help me?
Thanks!
If you u've deleted any h or m files, go through the project navigation(command + 1) in your xcode, there may be some reference(will be in red color) in that project navigator. U can delete it. Then there'll not be such an error. Hope this would help you.
Else, have a look at this link
Related
enter image description here
Actually, when i compile the file ,it works perfectly, but the wrong hint disturb me .
I have installed the stdc++ clang,gcc. they are no problem.
How can i fix it ?
Clang Error - stddef file not found?
I finally find out the answer. fixing it by add
if(CMAKE_EXPORT_COMPILE_COMMANDS)
set(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES ${CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES})
endif()
to my cMakelists.txt
I have created an application on angular 7 and ionic 4.
I tried to edit app.routing.ts file, setting path and component. From then on I am getting this error below:
ERROR in ./src/app/department/department.module.ts
[ng] Module build failed (from ./node_modules/#ngtools/webpack/src/index.js):
[ng] Error: ENOENT: no such file or directory, open 'C:\Users\x\department\department.module.ts'
[ng] at Object.openSync (fs.js:436:3)
[ng] at Object.readFileSync (fs.js:341:35)
[ng] at Storage.provideSync (C:\Users\x\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:98:13)
Make sure department component exist, check the templateUrl that corresponds to the file name you are referencing. You may have also modified the path unknowingly during modification of app.routing.ts file.
C:\Users\x\department\department.module.ts
This error occurs when your component can't be found with your app.module settings.
Follow these steps to solve your problem:
Check if the module.ts file exists.
Check the relative path.
The path is case sensitive (maybe the .ts file is Department).
Both answer are useful from #trustidkid and #vinay sharma. If there is someone has been facing the same problem;
1-Go to to the file that the error has occurred in. (To go directly to the file, click the error line shortly [CTRL+Click] (CMD+Click on MacOS):
ERROR in ./src/app/department/department.module.ts
Then check the path address if it is exactly true pointing the file. Most of these problems are having similar solutions. Just be sure about the path address of the file you want to point and the address mentioned in the other file which the error occurred.
This problem happens when you delete a component but forgot to delete its import from module.ts.
For example: TestComponent is deleted so you have to also delete:
import { TestComponent } from './test.component'
If you have a folder mapping on a windows machine like me, do not try to build it from a mapped folder, go to the original folder and build it from there.
Mapped Folder has a small icon like this:
In my case I had prime ng version that did not support a particular module, I simply commented it out and it worked.
I have been using the headers provided in include\llvm and include\llvm-c to try and make my own compiler. However, whenever I try to compile, I get this error. There is no llvm/IR/Attributes.inc in my files nor any LLVM project I have seen. I get this error:
In file included from ./headers/llvm/IR/Function.h:26:
In file included from ./headers/llvm/IR/Argument.h:19:
./headers/llvm/IR/Attributes.h(74,14): fatal error: 'llvm/IR/Attributes.inc' file not found
#include "llvm/IR/Attributes.inc"
What is the problem here?
I have encountered the same issue. I got it fixed by adding the following line to the relevant CMakeLists.txt
> add_dependencies(<Module Name> intrinsics_gen)
make install-llvm-headers may help u
I got the following error when add a 3rd party library:UMSNSLibrary.a
Please help, thanks!
" ld: duplicate symbol _OBJC_IVAR_$_UMSNSJsonParser.c in /Users/macbookpro/Downloads
/UMSNSLibrary.a(UMSNSJsonParser.o) and /Users/macbookpro/Downloads/HeXuanDemo EN/Build/Products/Debug-
iphoneosbThree20UI.a(UMSNSJsonParser.o) for architecture armv6 "
Simply try to delete file form one of the Location you don't need:
either from
/Users/macbookpro/Downloads /UMSNSLibrary.a(UMSNSJsonParser.o)
or /Users/macbookpro/Downloads/HeXuanDemo EN/Build/Products/Debug- iphoneosbThree20UI.a(UMSNSJsonParser.o)
Clean the build and reset simulator and launch again.
I think it will resolve this.
Target->Build Setting->Header Search Path / Library Search Path : Remove unwanted path from there.
Hy, I want to use the QuickDialog library but gives me error.
The step that I made:
download it from github
copy the directory into my project's directory
add QuickDialog.xcodeproject
my project --> Build Phrases:
Target dipendencies: add QuickDialog
link Binary : add libQuickDialog.a
include in mi file Prefix.phc :#import
my project --> Build Settings:
Other linker flags: -ObjC
User header search paths : "${PROJECT_DIR}/QuickDialog" and check the box
always serach user path : YES
run
But give me the error:
QuickDialog/QuickDialog.h file not found
What is wrong???
Please help me!!
If you put this: "${PROJECT_DIR}/QuickDialog"
and you try to import "QuickDialog/QuickDialog.h"
that means that he goes in directory: "${PROJECT_DIR}/QuickDialog/QuickDialog/QuickDialog.h" ?
Did you try to put just: "QuickDialog.h" ?
EDIT: The solution is here: Including QuickDialog into Xcode 4.2 Project