I try update stdfx ... "cg.h" local:
Command g++ work and find reference local ... with arquives the same directory, but not work for others process ...
Who to found reference <Cg/cg.h> , correctly?!
With Xcode, i try reference #include <Cg.cg.h> ;
work only: Link Binary With Libraries ...
Not found <Cg/cg.h>... i have install , more one time ...
_(env)ag010:turbulenz_engine rsantos$ python manage.py tools_ ... make -C cgfx2json/ g++ -arch x86_64 -arch i386 -I../common -I../../external/boost/1.43/include -O2 -c cgfx2json.cpp -o obj/release/cgfx2json.o In file included from cgfx2json.cpp:3: ./stdafx.h:40:10: fatal error: 'Cg/cg.h' file not found
include <Cg/cg.h>
1 error generated. make[1]: * [obj/release/cgfx2json.o] Error 1 make: * [cgfx2json/] Error 2
I try add path , but not working ...
$ sudo vi /etc/paths
/usr/bin /bin /usr/sbin /sbin /usr/local/bin /Library/Frameworks/Cg.framework /Library/Frameworks/Cg.framework/Versions/1.0 /Library/Frameworks/Cg.framework/Versions/1.0/Headers /Library/Frameworks/Cg.framework/Versions/1.0/Headers/cg.h
i try add to path ...
$ vi ~/.bash_profile
alias ls="ls -G"
export PATH=/Users/rsantos/bin/Sencha/Cmd/3.1.1.274:/Users/rsantos/work/MD-Widgets/util:$PATH export SENCHA_CMD_3_0_0="/Users/rsantos/bin/Sencha/Cmd/4.0.3.74" export ANDROID_HOME=/Users/rsantos/Util/AndroidSDK/adt-bundle-mac-x86_64-20130219 export PATH=/Users/rsantos/Util/AndroidSDK/adt-bundle-mac-x86_64-20130219/platform-tools:/Users/rsantos/Util/AndroidSDK/adt-bundle-mac-x86_64-20130219/tools:$PATH export PATH="/usr/local/mysql/bin:$PATH" export PATH=/Users/rsantos/bin/Sencha/Cmd/4.0.2.67:$PATH export PATH=/Users/rsantos/bin/Sencha/Cmd/4.0.3.74:$PATH
export PATH=/Library/Frameworks/Cg.framework:$PATH export PATH=/Library/Frameworks/Cg.framework/Versions/1.0:$PATH export PATH=/Library/Frameworks/Cg.framework/Versions/1.0/Headers:$PATH export Cg_INCLUDE_DIR="/Library/Frameworks/Cg.framework/Versions/1.0"
I try update stdfx ... "cg.h" local: Command g++ work and find reference local ... with arquives the same directory, but not work for others process ...
Who to found reference <Cg/cg.h> , correctly?!
With Xcode, i try reference #include <Cg.cg.h> ; work only: Link Binary With Libraries ...
include <Cg/cg.h>
void a() {
CGcontext context = cgCreateContext(); }
***I emulate Ubuntu 14.04, with virtual box, and trubulenz works fine...