Monday, January 13, 2014

xcode compile error




xcode when compiling this problem, no clue, I hope to understand a friend to help.
Furthermore, target products under the red, this is why?
Reply:
Library not find it? library not found
To see whether to add the correct library.
Reply:
cited a floor dream238 reply:
database did not find it? library not found
To see whether to add the correct library.


Added should be no mistake about it?

Reply:
Directory not found
Directory does not exist? Look carefully warning and error in the description, and then try to troubleshoot compiled parameters.
Reply:
reference to the third floor dream238 reply:
Directory not found
Directory does not exist? Look carefully warning and error in the description, and then try to troubleshoot compiled parameters.


Directory does not exist the problem has been resolved, and now can not find the library. What does this mean? I did not add-lcrypto.0.9.8 this library ah.
Reply:
Make sure your directory inside the library if there libcrypto.0.9.8.dylib
Reply:
The reply was deleted administrator at 2013-09-24 13:19:23

Reply:
The lack of a library, check it
Reply:
references, 5th Floor hslinux reply:
confirm whether your directory inside libcrypto.0.9.8.dylib this library
< br />
I have followed this path did find the library file, which is not my place to configure a problem?
Reply:
reference to the third floor dream238 reply:
Directory not found
Directory does not exist? Look carefully warning and error in the description, and then try to troubleshoot compiled parameters.


Errors and xcode versions may have a relationship?
Reply:
Although knot posted, but now the problem only then thoroughly understand the need to write it down for reference.
First, as prompt as, Directory not found. Find out which directory does not exist? followed by optional string of words that pointed to the directory does not exist, the reason will appear in this directory because you set the compiler to find the directory is it, simply delete this directory can (TARGETS-> Build Settings-> Search Paths-> Library Search Paths), delete the corresponding directory. Of course, this is just a warning that you can ignore, this does not affect the program running (from the program robustness considerations, not recommended).
Secondly, library not found. This shows the back of the library can not be found, why add the library but can not find it? This is because you add the library file the wrong way. You just added a reference to the library, but in your project directory and do not have this library. And looking at the library when xcode will go from the current directory, and therefore can not be found. Add the correct way is: Assuming your project name: proj, copy the library file you want to add to the proj directory, and project files at the same level. Then, on xcode right click your project, select Add files to "proj". This will not have those problems.
Reply:
reference to the 10th floor zhangjie121 reply:
Although knot posted, but now the problem only then thoroughly understand the need to write it down for reference.
First, as prompt as, Directory not found. Find out which directory does not exist? followed by optional string of words that pointed to the directory does not exist, the reason will appear in this directory because you set the compiler to find the directory is it, simply delete this directory can (TARGETS-> Build Settings-> Search Paths-> Library Search Paths), delete the corresponding directory. Of course, this is just a warning that you can ignore, this does not affect the program running (from the program robustness considerations, not recommended).
Secondly, library not found. This shows the back of the library can not be found, why add the library but can not find it? This is because you add the library file the wrong way. You just added a reference to the library, but in your project directory and do not have this library. And looking at the library when xcode will go from the current directory, and therefore can not be found. Add the correct way is: Assuming your project name: proj, copy the library file you want to add to the proj directory, and project files at the same level. Then, on xcode right click your project, select Add files to "proj". This will not have those problems.


xcode own library does not need to copy the project to come inside. Where no configuration is not good.
Only custom libraries only need to copy to your own projects and come.

No comments:

Post a Comment