Can Not Find Header File in Xcode - html

I'm trying to use the objective-c-html-parser to parse html string in Xcode 4.3.2. The following url is the instruction about how to config it. But I still get the error "libxml/HTMLparser.h" file not found. Can someone know how to resolve this issue?
objective-c-html-parser instruction: https://github.com/zootreeves/Objective-C-HMTL-Parser

you need to add this "$(SDKROOT)/usr/include/libxml2" in your header search paths and it will solve your problem!

Related

Brackets config not valid JSON?

I'm using the latest version of Adobe Brackets for macOS and can't seem to get a config working.
Even if I take the defaultPreferences.json and simply copy it to my own brackets.json file I get an error upon loading Brackets saying that it is not valid JSON.
Here is my config: https://pastr.io/view/rBxYg3kffvJ - can anyone spot the problem?

pydrive: RedirectMissingLocation: Redirected but the response is missing a Location: header

I need to override an existing file inside a google drive folder with a new file. This is what I have.
file = drive.CreateFile({'id': <id_of_file_which_I_wish_to_overwrite>})
file.SetContentFile(<my_file_path>)
file.Upload()
print('title: %s, mimeType: %s' % (file5['title'], file5['mimeType']))
I keep getting an error from file.Upload() line such as this:
RedirectMissingLocation: Redirected but the response is missing a Location: header.
Any ideas of what's causing this? What this Location is or the header? I noticed that I am not getting this error when I run the same code without file.SetContentFile and instead only change file metadata instead of overwriting it.
You know, PyDrive is a wrapper library of google-api-python-client.
According to this issue, there is some problem between google-api-python-client and httplib2.
So try installing a 0.15.0 version of httplib2.
pip install httplib2==0.15.0
You should take a look at the size of the file that is being uploaded on Google Drive since you are getting the RedirectMissingLocation error.
Running the code above works for a much much smaller subset of that same data on the file.

cocos2d-x Get data from file (xxx.ccbi) failed

Anyone has the same trouble?It happpens when i want to load the ccbi file into the cocos2d-x project.I have debuged it .The resources path is correct.Maybe it's the version problem of cocosbuilde...Any help appreciated.
i just code as below ,here is the code link:
http://www.plungeinteractive.com/blog/2012/12/26/cocosbuilder-and-cocos2d-x-helloworld-example/
May be it's because of version incompatibility between CocosBuilder and CCBReader as you said. If it is check your log for confirmation.
In XCode if we do folder references for new files sometimes it doesn't includes it properly on next Build. Clear and Rebuilding solves this.
One more time properly check Resource is correct path or not.

Lexical or Preprocessor issue when trying to archive project using the v2 BoxSDK

We're using the new v2 BoxSDK, and followed the steps on the github repo to integrate it as a subproject. Everything builds and runs fine, but we can't archive the project. We get the error:
Lexical or Preprocessor Issue: 'BoxSDK/BoxSDK.h' file not found
I've tried several combinations of setting User Header Search Paths, but can't seem to find anything that works. It looks like the header files are being put in:
"IntermediateBuildFilesPath/UninstalledProducts/include"
Has anyone had any luck getting the v2 BoxSDK working in an app when archiving?
Thanks for any help.
Finally worked it out. You have to add the following entry to your Header Search Paths:
"$(PROJECT_TEMP_DIR)/../UninstalledProducts/include"
Make sure you have the quotes in there.
Add "$(BUILT_PRODUCTS_DIR)" to your header search path.
On XCode 7.1 following Header Search Path worked for me for the Release Build
$(PROJECT_TEMP_DIR)/../UninstalledProducts/iphoneos/include

Error: token "#" is not valid in preprocessor expressions

Can anyone tell me what would be the cause of the error
/mysql_com.h:306:5: error: token # is not valid in preprocessor expressions
while this mysql_com.h file does not contain any #. So how can I fix this error.
I think it's similar to the error when we open windows edited file in linux, then at that time ^V appers. But in this case # is not anywhere in the file.
Thanks in advance. Looking for your kind response.
Looks like this sort of problem has been reported when a '.h.in' file is included at some point, instead of the usual '.h' header file (eg. this) - perhaps because of some missing files or misconfigured include paths?
As has been previously suggested, I'd try tracing things back through the definition of MYSQL_VERSION_ID and double check that the correct .h files and include paths are present on your machine.
You have to check what is stored in MYSQL_VERSION_ID. Go to the library file, where this constant defined having the syntax like below :-
#define MYSQL_VERSION_ID BLAH-BLAH
Try to resolve this BLAH-BLAH, because this definitely have some problem, that have "#" symbol.