Issue 187: BuildTool.hx wrong paths
Status:  Invalid
Owner: ----
Closed:  Jan 2013
Reported by MIIsmagi...@gmail.com, Jul 12, 2012
nme test build.nmml mac
...
Called from ? line 1
Called from BuildTool.hx line 1246
Called from BuildTool.hx line 554
Called from a C function
Called from BuildTool.hx line 591
Called from BuildTool.hx line 710
Called from BuildTool.hx line 746
Called from BuildTool.hx line 200
Uncaught exception - Error : 256 - build cancelled
Error: Source path "bin/cpp/mac/obj/ApplicationMain" does not exist

correct path is bin/cpp/mac/obj/src/ApplicationMain
Jul 12, 2012
Project Member #1 gameh...@gmail.com
Hi,
I think the build is failing before these messages come out, then executable file "obj/ApplicationMain" is not found because it did not build.
So the problem is in the "..."
Jul 12, 2012
#2 MIIsmagi...@gmail.com
ok

there is full listing

nme test build.nmml mac    
haxelib run hxcpp Build.xml haxe -Dcpp -Ddesktop -Dhaxe_208 -Dhaxe_209 -Dhaxe_210 -Dmac -Dnme -Dnme_install_tool -Dsys -Dtrue
Creating hxcpp.h.gch...
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/2,09,3//include -DHX_MACOS -m32 -DHXCPP_SET_PROP -frtti -o hxcpp.h.gch /usr/lib/haxe/lib/hxcpp/2,09,3//include/hxcpp.h
g++ -I. -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/2,09,3//include -DHX_MACOS -m32 -DHXCPP_SET_PROP -x c++ -frtti ./src/sys/io/FileSeek.cpp -oobj/darwin//src/sys/io/FileSeek.o
./src/sys/io/FileSeek.cpp:53: error: variable or field ‘sVisitStatic’ declared void
./src/sys/io/FileSeek.cpp:53: error: ‘HX_VISIT_PARAMS’ was not declared in this scope
./src/sys/io/FileSeek.cpp: In static member function ‘static void sys::io::FileSeek_obj::__register()’:
./src/sys/io/FileSeek.cpp:70: error: ‘sVisitStatic’ was not declared in this scope
Called from ? line 1
Called from BuildTool.hx line 1246
Called from BuildTool.hx line 554
Called from a C function
Called from BuildTool.hx line 591
Called from BuildTool.hx line 710
Called from BuildTool.hx line 746
Called from BuildTool.hx line 200
Uncaught exception - Error : 256 - build cancelled
Error: Source path "bin/cpp/mac/obj/ApplicationMain" does not exist


My actions:
install latest haxe, neko, nme, hxcpp from the box
git clone https://github.com/elsassph/nme-bunnymark.git
and nme test build.nmml mac
Jul 13, 2012
#3 MIIsmagi...@gmail.com
And of course i have XCode and gcc
Jul 13, 2012
#4 MIIsmagi...@gmail.com
also i have the same problem with cpp helloworld http://haxe.org/doc/start/cpp
Jul 13, 2012
#5 MIIsmagi...@gmail.com
ok, i am understand my mistake. Iam used unstable haxe 2.10 compile from source. With 2.09 all is ok.
Good luck!
Jan 30, 2013
Project Member #6 si...@haxe.org
(No comment was entered for this change.)
Status: Invalid