Paste number 143394: no title

Index of paste annotations: 1

Paste number 143394: no title
Pasted by: egp
When:5 years, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+32N6
Channel:None
Paste contents:
Raw Source | XML | Display As
$ git clone --recursive git://github.com/HaxeFoundation/haxe.git
Cloning into 'haxe'...
remote: Counting objects: 56349, done.
remote: Compressing objects: 100% (131/131), done.
remote: Total 56349 (delta 63), reused 0 (delta 0)
Receiving objects: 100% (56349/56349), 26.64 MiB | 969.00 KiB/s, done.
Resolving deltas: 100% (35494/35494), done.
Checking connectivity... готово.
Submodule 'extra/haxelib_src' (https://github.com/HaxeFoundation/haxelib.git) registered for path 'extra/haxelib_src'
Submodule 'libs' (https://github.com/HaxeFoundation/ocamllibs.git) registered for path 'libs'
Cloning into 'extra/haxelib_src'...
remote: Counting objects: 1813, done.
remote: Total 1813 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1813/1813), 376.38 KiB | 206.00 KiB/s, done.
Resolving deltas: 100% (866/866), done.
Checking connectivity... готово.
Submodule path 'extra/haxelib_src': checked out '8c5fb02d784ad257ac4684ffc443c719a96f3020'
Cloning into 'libs'...
remote: Counting objects: 1975, done.
remote: Total 1975 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (1975/1975), 996.10 KiB | 313.00 KiB/s, done.
Resolving deltas: 100% (1085/1085), done.
Checking connectivity... готово.
Submodule path 'libs': checked out '99fff320911ee1cc513f473fc32b68a5cbaddc36'
$ make
make: *** Не заданы цели и не найден make-файл.  Останов.
$ ls
docs  haxe
$ cd haxe/a
bash: cd: haxe/a: Нет такого файла или каталога
$ cd haxe/
$ make
make -C libs/extlib OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/extlib'
ocamlopt -g -a -o extLib.cmxa enum.mli bitSet.mli dynArray.mli extArray.mli extHashtbl.mli extList.mli extString.mli global.mli IO.mli option.mli pMap.mli std.mli uChar.mli uTF8.mli base64.mli unzip.mli refList.mli optParse.mli dllist.mli multiArray.mli enum.ml bitSet.ml dynArray.ml extArray.ml extHashtbl.ml extList.ml extString.ml global.ml IO.ml option.ml pMap.ml std.ml uChar.ml uTF8.ml base64.ml unzip.ml refList.ml optParse.ml dllist.ml multiArray.ml extLib.ml
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/extlib'
make -C libs/extc OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/extc'
ocamlc -I zlib extc_stubs.c
ocamlopt -a -o extc.cmxa -I ../extlib extc.ml
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/extc'
make -C libs/neko OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/neko'
ocamlopt -I ../extlib -a -o neko.cmxa nast.ml nxml.ml binast.ml nbytecode.ml ncompile.ml
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/neko'
make -C libs/javalib OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/javalib'
ocamlopt -g -I ../extlib -a -o java.cmxa jData.ml jReader.ml
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/javalib'
make -C libs/ilib OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/ilib'
ocamlopt -g -I ../extlib -a -o il.cmxa peData.ml peReader.ml peWriter.ml ilMeta.mli ilData.mli ilMetaTools.ml ilMetaDebug.ml ilMetaReader.ml
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/ilib'
make -C libs/ziplib OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/ziplib'
ocamlopt -g -I ../extlib -I ../extc -a -o zip.cmxa zlib.mli zlib.ml zip.mli zip.ml
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/ziplib'
make -C libs/swflib OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/swflib'
ocamlc -I ../extlib -I ../extc -g as3.mli
ocamlopt -I ../extlib -I ../extc -g -c as3code.ml
ocamlc -I ../extlib -I ../extc -g png.mli
ocamlopt -I ../extlib -I ../extc -g -c png.ml
ocamlopt -I ../extlib -I ../extc -g -c swf.ml
ocamlopt -I ../extlib -I ../extc -g -c actionScript.ml
ocamlopt -I ../extlib -I ../extc -g -c as3parse.ml
ocamlopt -I ../extlib -I ../extc -g -c swfPic.ml
ocamlc -I ../extlib -I ../extc -g as3hl.mli
ocamlopt -I ../extlib -I ../extc -g -c as3hlparse.ml
ocamlopt -I ../extlib -I ../extc -g -c swfParser.ml
ocamlopt -o swflib.cmxa -a  as3code.cmx png.cmx swf.cmx actionScript.cmx as3parse.cmx swfPic.cmx as3hlparse.cmx swfParser.cmx
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/swflib'
make -C libs/xml-light OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/xml-light'
ocamlyacc xml_parser.mly
ocamlc  xml.mli
ocamlc  dtd.mli
ocamlc  xml_parser.mli
ocamlopt  -c xml_parser.ml
ocamllex xml_lexer.mll
247 states, 1217 transitions, table size 6350 bytes
ocamlc  xml_lexer.mli
ocamlopt  -c xml_lexer.ml
ocamlopt  -c dtd.ml
ocamlc  xmlParser.mli
ocamlopt  -c xmlParser.ml
ocamlopt  -c xml.ml
ocamlopt -o xml-light.cmxa -a  xml_parser.cmx xml_lexer.cmx dtd.cmx xmlParser.cmx xml.cmx
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/xml-light'
make -C libs/ttflib OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/ttflib'
ocamlopt -I ../extlib -I ../swflib tTFData.ml tTFParser.ml tTFTools.ml tTFSwfWriter.ml tTFCanvasWriter.ml tTFJsonWriter.ml -g -a -o ttf.cmxa
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/ttflib'
make -C libs/objsize OCAMLOPT=ocamlopt OCAMLC=ocamlc native
make[1]: Вход в каталог `/media/n1/workspace1/tmp_building_haxe/haxe/libs/objsize'
ocamlc -I . c_objsize.c
ocamlopt -a -o objsize.cmxa  objsize.mli objsize.ml
make[1]: Выход из каталога `/media/n1/workspace1/tmp_building_haxe/haxe/libs/objsize'
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c ast.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c type.ml
ocamllex lexer.mll
149 states, 1540 transitions, table size 7054 bytes
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c lexer.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c common.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genxml.ml
ocamlopt -pp camlp4o -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c parser.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c typecore.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c optimizer.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c typeload.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c codegen.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c gencommon.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genas3.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c gencpp.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genjs.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genneko.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genphp.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genswf8.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genswf9.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genswf.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genjava.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c gencs.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c genpy.ml
File "genpy.ml", line 919, characters 4-27:
Warning 11: this match case is unused.
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c interp.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c dce.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c filters.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c typer.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c matcher.ml
echo "let version_extra = None" > version.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c version.ml
ocamlopt -g -I libs/extlib -I libs/extc -I libs/neko -I libs/javalib -I libs/ziplib -I libs/swflib -I libs/xml-light -I libs/ttflib -I libs/ilib -I libs/objsize -c main.ml
ocamlopt -o haxe -cclib libs/extc/extc_stubs.o -cclib -lz -cclib libs/objsize/c_objsize.o   unix.cmxa str.cmxa libs/extlib/extLib.cmxa libs/xml-light/xml-light.cmxa libs/swflib/swflib.cmxa libs/extc/extc.cmxa libs/neko/neko.cmxa libs/javalib/java.cmxa libs/ziplib/zip.cmxa libs/ttflib/ttf.cmxa libs/ilib/il.cmxa libs/objsize/objsize.cmxa ast.cmx type.cmx lexer.cmx common.cmx genxml.cmx parser.cmx typecore.cmx optimizer.cmx typeload.cmx codegen.cmx gencommon.cmx genas3.cmx gencpp.cmx genjs.cmx genneko.cmx genphp.cmx genswf8.cmx genswf9.cmx genswf.cmx genjava.cmx gencs.cmx genpy.cmx interp.cmx dce.cmx filters.cmx typer.cmx matcher.cmx version.cmx main.cmx
$ sudo make install
[sudo] password for egp: 
rm -f /usr/lib/haxe
rm: невозможно удалить «/usr/lib/haxe»: Это каталог
make: [install] Ошибка 1 (игнорирована)
mkdir -p /usr/lib/haxe
rm -rf /usr/lib/haxe/std
cp -rf std /usr/lib/haxe/std
cp -rf extra /usr/lib/haxe
mkdir -p /usr/lib/haxe/lib
rm -f /usr/bin/haxe
cp haxe /usr/lib/haxe
ln -s /usr/lib/haxe/haxe /usr/bin/haxe
chmod -R a+rx /usr/lib/haxe
chmod 777 /usr/lib/haxe/lib
# cp extra/haxelib_src/haxelib_script.sh /usr/bin/haxelib
echo "#!/bin/sh" > /usr/bin/haxelib
echo "exec haxe -cp /usr/lib/haxe/extra/haxelib_src/src --run tools.haxelib.Main \"\$@\"" >> /usr/bin/haxelib
chmod a+rx /usr/bin/haxe /usr/bin/haxelib
$ cd ../../
$ mkdir tmp_building_samples
$ cd tmp_building_samples/
$ haxelib install nme
You already have nme version 5.1.8 installed
$ haxelib install gm2d
You already have gm2d version 3.1.12 installed
$ haxelib run nme demo gm2d 10-wwx2014 cpp
Create demo /home/egp/haxe/haxelib/gm2d/3,1,12//samples/10-wwx2014 for target cpp
haxelib run hxcpp Build.xml haxe -Ddesktop="1" -Dgm2d="1" -Dhaxe3="1" -Dhaxe_ver="3.2" -Dhxcpp="1" -Dhxcpp_api_level="312" -Dlinux="1" -Dnme="1" -Dnme5="1" -Dnme_install_tool="1" -Dnme_ver="5.1.8" -Dopenfl="nme" -I"/media/n1/workspace1/tmp_building_samples//10-wwx2014/linux/haxe/" -I"/home/egp/haxe/haxelib/hxcpp/3,1,39/" -I"/home/egp/haxe/haxelib/nme/5,1,8/" -I"/home/egp/haxe/haxelib/gm2d/3,1,12/" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/local/lib/haxe/std/"
g++ -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -frtti -o obj/linux//__pch/haxe/hxcpp.h.gch /home/egp/haxe/haxelib/hxcpp/3,1,39/include/hxcpp.h
g++ -Iobj/linux//__pch/haxe -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -x c++ -frtti ./src/nme/utils/WeakRef.cpp -oobj/linux/5e828ce3_WeakRef.o
g++ -Iobj/linux//__pch/haxe -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -x c++ -frtti ./src/nme/utils/Endian.cpp -oobj/linux/5e828ce3_Endian.o
g++ -Iobj/linux//__pch/haxe -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -x c++ -frtti ./src/nme/ui/Keyboard.cpp -oobj/linux/250c09a8_Keyboard.o
g++ -Iobj/linux//__pch/haxe -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -x c++ -frtti ./src/nme/utils/CompressionAlgorithm.cpp -oobj/linux/5e828ce3_CompressionAlgorithm.o
Error: In file included from ./src/nme/utils/Endian.cpp:4:0:
include/nme/utils/Endian.h:28:3: error: ‘HX_DO_RTTI_ALL’ does not name a type
   HX_DO_RTTI_ALL;
   ^
In file included from /home/egp/haxe/haxelib/hxcpp/3,1,39/include/hxcpp.h:206:0:
./src/nme/utils/Endian.cpp: In function ‘void nme::utils::sMarkStatics(hx::MarkContext*)’:
./src/nme/utils/Endian.cpp:46:22: error: ‘__mClass’ is not a member of ‘nme::utils::Endian_obj’
  HX_MARK_MEMBER_NAME(Endian_obj::__mClass,"__mClass");
                      ^
/home/egp/haxe/haxelib/hxcpp/3,1,39/include/hx/GC.h:146:52: note: in definition of macro ‘HX_MARK_MEMBER_NAME’
 #define HX_MARK_MEMBER_NAME(x,name) hx::MarkMember(x, __inCtx )
                                                    ^
./src/nme/utils/Endian.cpp: In function ‘void nme::utils::sVisitStatics(hx::VisitContext*)’:
./src/nme/utils/Endian.cpp:53:23: error: ‘__mClass’ is not a member of ‘nme::utils::Endian_obj’
  HX_VISIT_MEMBER_NAME(Endian_obj::__mClass,"__mClass");
                       ^
/home/egp/haxe/haxelib/hxcpp/3,1,39/include/hx/GC.h:167:54: note: in definition of macro ‘HX_VISIT_MEMBER_NAME’
 #define HX_VISIT_MEMBER_NAME(x,name) hx::VisitMember(x, __inCtx )
                                                      ^
./src/nme/utils/Endian.cpp: At global scope:
./src/nme/utils/Endian.cpp:60:19: error: ‘Class nme::utils::Endian_obj::__mClass’ is not a static member of ‘class nme::utils::Endian_obj’
 Class Endian_obj::__mClass;
                   ^
./src/nme/utils/Endian.cpp: In static member function ‘static void nme::utils::Endian_obj::__register()’:
./src/nme/utils/Endian.cpp:69:13: error: ‘__mClass’ was not declared in this scope
  hx::Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.utils.Endian"), hx::TCanCast< Endian_obj> ,sStaticFields,0 /* sMemberFields */,
             ^
Error: Build failed
$ 

***********************

Related page: 
http://gamehaxe.com/2014/05/28/wwx2014-talk-hxcpp-magic/



Annotations for this paste:

Annotation number 1: untitled
Pasted by: egp
When:5 years, 3 months ago
Share:Tweet this! | http://paste.lisp.org/+32N6/1
Paste contents:
Raw Source | Display As
I've corrected some of the lib/path hell.

So these results are more correct:

$ which haxe
/usr/bin//haxe
$ which haxelib
/usr/bin//haxelib
$ echo $PATH
/usr/bin/:/home/egp/bin_ext4/haxe_2014-08-06_development_0097423/haxe-3.1.3/:/media/e1/bin_ext4/neko-2.0.0-linux/:/home/egp/bin_ext4/haxe_2014-08-06_development_0097423/haxe-3.1.3/:/media/e1/bin_ext4/neko-2.0.0-linux/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
$ echo $LD_LIBRARY_PATH
/media/e1/bin_ext4/neko-2.0.0-linux/:/usr/lib/neko
$ echo $HAXE_LIBRARY_PATH
/usr/lib/haxe/std/:/home/egp/bin_ext4/haxe_2014-08-06_development_0097423/haxe-3.1.3/std/:/home/egp/haxe/haxelib/:/home/egp/bin_ext4/haxe_2014-08-06_development_0097423/haxe-3.1.3/lib/
$ pwd
/home/egp/ws1/tmp_building_samples
$ ls
$ ls -al
итого 20
drwxrwxrwx 1 root root    48 авг.  14 06:14 .
drwxrwxrwx 1 root root 20480 авг.  14 05:57 ..
$ haxelib install nme
You already have nme version 5.1.8 installed
$ haxelib install gm2d
You already have gm2d version 3.1.12 installed
$ haxelib run nme demo gm2d 10-wwx2014 cpp
Create demo /home/egp/haxe/haxelib/gm2d/3,1,12//samples/10-wwx2014 for target cpp
haxelib run hxcpp Build.xml haxe -Ddesktop="1" -Dgm2d="1" -Dhaxe3="1" -Dhaxe_ver="3.2" -Dhxcpp="1" -Dhxcpp_api_level="312" -Dlinux="1" -Dnme="1" -Dnme5="1" -Dnme_install_tool="1" -Dnme_ver="5.1.8" -Dopenfl="nme" -I"/media/n1/workspace1/tmp_building_samples//10-wwx2014/linux/haxe/" -I"/home/egp/haxe/haxelib/hxcpp/3,1,39/" -I"/home/egp/haxe/haxelib/nme/5,1,8/" -I"/home/egp/haxe/haxelib/gm2d/3,1,12/" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/local/lib/haxe/std/"
g++ -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -frtti -o obj/linux//__pch/haxe/hxcpp.h.gch /home/egp/haxe/haxelib/hxcpp/3,1,39/include/hxcpp.h
g++ -Iobj/linux//__pch/haxe -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -x c++ -frtti ./src/nme/utils/Endian.cpp -oobj/linux/5e828ce3_Endian.o
g++ -Iobj/linux//__pch/haxe -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -x c++ -frtti ./src/nme/ui/Keyboard.cpp -oobj/linux/250c09a8_Keyboard.o
g++ -Iobj/linux//__pch/haxe -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -x c++ -frtti ./src/nme/utils/WeakRef.cpp -oobj/linux/5e828ce3_WeakRef.o
g++ -Iobj/linux//__pch/haxe -Iinclude -I/home/egp/haxe/haxelib/nme/5,1,8/include -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -fpic -fPIC -DHX_LINUX -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -m32 -I/home/egp/haxe/haxelib/hxcpp/3,1,39/include -x c++ -frtti ./src/nme/text/TextLineMetrics.cpp -oobj/linux/788f5664_TextLineMetrics.o
Error: In file included from ./src/nme/utils/Endian.cpp:4:0:
include/nme/utils/Endian.h:28:3: error: ‘HX_DO_RTTI_ALL’ does not name a type
   HX_DO_RTTI_ALL;
   ^
In file included from /home/egp/haxe/haxelib/hxcpp/3,1,39/include/hxcpp.h:206:0:
./src/nme/utils/Endian.cpp: In function ‘void nme::utils::sMarkStatics(hx::MarkContext*)’:
./src/nme/utils/Endian.cpp:46:22: error: ‘__mClass’ is not a member of ‘nme::utils::Endian_obj’
  HX_MARK_MEMBER_NAME(Endian_obj::__mClass,"__mClass");
                      ^
/home/egp/haxe/haxelib/hxcpp/3,1,39/include/hx/GC.h:146:52: note: in definition of macro ‘HX_MARK_MEMBER_NAME’
 #define HX_MARK_MEMBER_NAME(x,name) hx::MarkMember(x, __inCtx )
                                                    ^
./src/nme/utils/Endian.cpp: In function ‘void nme::utils::sVisitStatics(hx::VisitContext*)’:
./src/nme/utils/Endian.cpp:53:23: error: ‘__mClass’ is not a member of ‘nme::utils::Endian_obj’
  HX_VISIT_MEMBER_NAME(Endian_obj::__mClass,"__mClass");
                       ^
/home/egp/haxe/haxelib/hxcpp/3,1,39/include/hx/GC.h:167:54: note: in definition of macro ‘HX_VISIT_MEMBER_NAME’
 #define HX_VISIT_MEMBER_NAME(x,name) hx::VisitMember(x, __inCtx )
                                                      ^
./src/nme/utils/Endian.cpp: At global scope:
./src/nme/utils/Endian.cpp:60:19: error: ‘Class nme::utils::Endian_obj::__mClass’ is not a static member of ‘class nme::utils::Endian_obj’
 Class Endian_obj::__mClass;
                   ^
./src/nme/utils/Endian.cpp: In static member function ‘static void nme::utils::Endian_obj::__register()’:
./src/nme/utils/Endian.cpp:69:13: error: ‘__mClass’ was not declared in this scope
  hx::Static(__mClass) = hx::RegisterClass(HX_CSTRING("nme.utils.Endian"), hx::TCanCast< Endian_obj> ,sStaticFields,0 /* sMemberFields */,
             ^
Error: Build failed
$ 

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.