1
Extensions / Re: How to Create a New Extension
« on: August 22, 2014, 06:04:46 am »
Hello!
The user above me is asking how to run the script. Well I figured that out but I have another problem. After I drag and drop the build script into terminal i get the following error:
aljosas-mini:project lupsina$ /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build
mkdir: ../ndll: File exists
mkdir: ../ndll/iPhone: File exists
dyld: Library not loaded: @executable_path/libneko.dylib
Referenced from: /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/../../../haxelib
Reason: no suitable image found. Did find:
/usr/lib/libneko.dylib: mach-o, but wrong architecture
/Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build: line 4: 841 Trace/BPT trap: 5 ../../../haxelib run hxcpp Build.xml -Dandroid
dyld: Library not loaded: @executable_path/libneko.dylib
Referenced from: /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/../../../haxelib
Reason: no suitable image found. Did find:
/usr/lib/libneko.dylib: mach-o, but wrong architecture
/Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build: line 5: 843 Trace/BPT trap: 5 ../../../haxelib run hxcpp Build.xml -Diphoneos
dyld: Library not loaded: @executable_path/libneko.dylib
Referenced from: /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/../../../haxelib
Reason: no suitable image found. Did find:
/usr/lib/libneko.dylib: mach-o, but wrong architecture
/Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build: line 6: 844 Trace/BPT trap: 5 ../../../haxelib run hxcpp Build.xml -Diphoneos -DHXCPP_ARMV7
dyld: Library not loaded: @executable_path/libneko.dylib
Referenced from: /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/../../../haxelib
Reason: no suitable image found. Did find:
/usr/lib/libneko.dylib: mach-o, but wrong architecture
/Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build: line 7: 845 Trace/BPT trap: 5 ../../../haxelib run hxcpp Build.xml -Diphonesim
I was using bundled version of haxe (3.0.1) but now I've installed 3.1.3 and the problem persists.
also what should this command suppose to do?
export DYLD_LIBRARY_PATH=/path-to-stencyl/plaf/neko-mac
export PATH=$PATH:/path-to-stencyl/plaf/neko-mac
because after i replace "path-to-stencyl" and run everything in terminal it happens nothing (cursor jumps to new line).
So any ideas about the error? Am I missing something?
The user above me is asking how to run the script. Well I figured that out but I have another problem. After I drag and drop the build script into terminal i get the following error:
aljosas-mini:project lupsina$ /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build
mkdir: ../ndll: File exists
mkdir: ../ndll/iPhone: File exists
dyld: Library not loaded: @executable_path/libneko.dylib
Referenced from: /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/../../../haxelib
Reason: no suitable image found. Did find:
/usr/lib/libneko.dylib: mach-o, but wrong architecture
/Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build: line 4: 841 Trace/BPT trap: 5 ../../../haxelib run hxcpp Build.xml -Dandroid
dyld: Library not loaded: @executable_path/libneko.dylib
Referenced from: /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/../../../haxelib
Reason: no suitable image found. Did find:
/usr/lib/libneko.dylib: mach-o, but wrong architecture
/Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build: line 5: 843 Trace/BPT trap: 5 ../../../haxelib run hxcpp Build.xml -Diphoneos
dyld: Library not loaded: @executable_path/libneko.dylib
Referenced from: /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/../../../haxelib
Reason: no suitable image found. Did find:
/usr/lib/libneko.dylib: mach-o, but wrong architecture
/Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build: line 6: 844 Trace/BPT trap: 5 ../../../haxelib run hxcpp Build.xml -Diphoneos -DHXCPP_ARMV7
dyld: Library not loaded: @executable_path/libneko.dylib
Referenced from: /Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/../../../haxelib
Reason: no suitable image found. Did find:
/usr/lib/libneko.dylib: mach-o, but wrong architecture
/Users/lupsina/Applications/Stencyl/plaf/haxe/extensions/mytest/project/build: line 7: 845 Trace/BPT trap: 5 ../../../haxelib run hxcpp Build.xml -Diphonesim
I was using bundled version of haxe (3.0.1) but now I've installed 3.1.3 and the problem persists.
also what should this command suppose to do?
export DYLD_LIBRARY_PATH=/path-to-stencyl/plaf/neko-mac
export PATH=$PATH:/path-to-stencyl/plaf/neko-mac
because after i replace "path-to-stencyl" and run everything in terminal it happens nothing (cursor jumps to new line).
So any ideas about the error? Am I missing something?