Forum > C++ > How to modify android.mk when my program included "procees.h”

How to modify android.mk when my program included "procees.h”

By lemon Posted 2012-02-12 04:45 Comments 2
lemon
  • Posts: 3

I modified the android.mk like this:

LOCAL_C_INCLUDE :=¥(LOCAL_PATH)/../../cocos2dx …
¥(LOCAL_PATH)/../../../Program Files/Microsoft Visual 10.0/VC/include

And my“process.h is in the dierect”D/Program Files/Microsoft Visual 10.0/VC/include"
my project is in the "D/cocos2dxproject/test/android/..

When i execute build_native.sh with cygwin,
it turn out : process.h no such file or directory
is there someone helps me?
thinks

zhangxm
  • Posts: 2081
  • Location: Xiamen, China

#1 RE: 2012-02-13 02:46

I think the problem is that there is blank space in file path, such as “Program Files” and “Microsoft Visual 10.0”.

lemon
  • Posts: 3

#2 RE: 2012-02-14 06:34

thinks for your answer! I turn to use the lib within cocos2d-x.

Loggin to reply

Copyright © 2010 - 2013 Cocos2d-x.orgClustrmaps