Giter Site home page Giter Site logo

Comments (39)

Randonee avatar Randonee commented on June 11, 2024

From the looks of the basisApple lib link you are trying to use the code dir as the library directory which wont work. You will need to build and install the lib. If you have ant installed you can run "ant install"

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

I installed it using haxelib first, and then I tried setting up as dev using "haxelib dev", but I wasn't really sure what I was doing.

Do you mind elaborating on why it won't work as dev?

I'll try building it myself using ant.

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

For osx you will probably want the latest from git.

Haxelib dev isn't working because the basisApple haxelib needs to be built. The binary parts aren't stored in git.

The basic build instructions are here:
https://github.com/Randonee/Basis#building-from-source

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

OK, built with ant, and now the compilation ran 👍

However, the example app doesn't run, I get the following error at the end of the compilation process:

➜  example git:(master) haxelib run basis build.basis osx
haxelib run hxcpp Build.xml haxe -DHXCPP_M64="1" -DbasisApple="1" -Dhaxe3="1" -Dhaxe_svn="1" -Dhaxe_ver="3.1" -Dmacos="1" -Dosx="1" -Dstatic_link="1"
g++ -Iinclude -Iobjc_include -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti ./src/BasisStart.cpp -oobj/darwin64-stat//src/BasisStart.o
ar -cr ../obj//basis.ndll obj/darwin64-stat//src/BasisStart.o
ranlib ../obj//basis.ndll
Called from ? line 1
Called from basisapple/Main.hx line 7
Called from basisapple/Main.hx line 10
Called from basis/BuildTool.hx line 51
Called from basis/settings/XmlSettings.hx line 37
Called from basis/BuildTool.hx line 60
Called from basisapple/AppleBuildTool.hx line 29
Called from basisapple/AppleBuildTool.hx line 42
Called from basisapple/AppleBuildTool.hx line 267
Called from /Users/fullofcaffeine/workspace/code/haxe/std/neko/_std/sys/io/File.hx line 62
Called from /Users/fullofcaffeine/workspace/code/haxe/std/neko/_std/sys/io/File.hx line 50
Uncaught exception - [file_open,/usr/lib/haxe/lib/hxcpp/3,0,2/bin/Mac64/regexp.a]

Any ideas?

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

Are you using the latest version of xcode? I have not yet tested with it and it may not work. I know that openFL had issues with the latest xcode as well.

You could also try rebuilding the osx extensions with the ant task "ant osx"

Does the ios example app build for you?

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Xcode: 4.4.1 (OSX Lion)

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

It does seem to build, but then fails with the output above.

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Here's the full output:

➜  example git:(master) ✗ haxelib run basis build.basis osx
haxelib run hxcpp Build.xml haxe -DHXCPP_M64="1" -DbasisApple="1" -Dhaxe3="1" -Dhaxe_svn="1" -Dhaxe_ver="3.1" -Dmacos="1" -Dosx="1" -Dstatic_link="1"
g++ -Iinclude -Iobjc_include -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti ./src/BasisStart.cpp -oobj/darwin64-stat//src/BasisStart.o
ar -cr ../obj//basis.ndll obj/darwin64-stat//src/BasisStart.o
ranlib ../obj//basis.ndll
Called from ? line 1
Called from basisapple/Main.hx line 7
Called from basisapple/Main.hx line 10
Called from basis/BuildTool.hx line 51
Called from basis/settings/XmlSettings.hx line 37
Called from basis/BuildTool.hx line 60
Called from basisapple/AppleBuildTool.hx line 29
Called from basisapple/AppleBuildTool.hx line 42
Called from basisapple/AppleBuildTool.hx line 267
Called from /Users/fullofcaffeine/workspace/code/haxe/std/neko/_std/sys/io/File.hx line 62
Called from /Users/fullofcaffeine/workspace/code/haxe/std/neko/_std/sys/io/File.hx line 50
Uncaught exception - [file_open,/usr/lib/haxe/lib/hxcpp/3,0,2/bin/Mac64/regexp.a]
➜  example git:(master) ✗ ls
assets                   build                    build.basis              iosDeveloperSettings.xml src
➜  example git:(master) ✗ rm -rf build
➜  example git:(master) ✗ haxelib run basis build.basis osx
haxelib run hxcpp Build.xml haxe -DHXCPP_M64="1" -DbasisApple="1" -Dhaxe3="1" -Dhaxe_svn="1" -Dhaxe_ver="3.1" -Dmacos="1" -Dosx="1" -Dstatic_link="1"
Creating obj/darwin64-stat//__pch/haxe/hxcpp.h.gch...
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -frtti -o obj/darwin64-stat//__pch/haxe/hxcpp.h.gch /usr/lib/haxe/lib/hxcpp/3,0,2//include/hxcpp.h
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/haxe/ds/StringMap.cpp -oobj/darwin64-stat//src/haxe/ds/StringMap.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/haxe/ds/IntMap.cpp -oobj/darwin64-stat//src/haxe/ds/IntMap.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/haxe/Log.cpp -oobj/darwin64-stat//src/haxe/Log.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/example/osx/OSXExample.cpp -oobj/darwin64-stat//src/example/osx/OSXExample.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/example/ApplicationMain.cpp -oobj/darwin64-stat//src/example/ApplicationMain.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/basis/osx/OSXApplication.cpp -oobj/darwin64-stat//src/basis/osx/OSXApplication.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/basis/object/TypeValues.cpp -oobj/darwin64-stat//src/basis/object/TypeValues.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/basis/object/ObjectManager.cpp -oobj/darwin64-stat//src/basis/object/ObjectManager.o
+ /Applications/Xcode.app/Contents/Developer/usr/bin/../libexec/as/x86_64/as -arch x86_64 -force_cpusubtype_ALL -oobj/darwin64-stat//src/basis/object/TypeValues.o /var/folders/hh/tt6_ggh56m92wgrdtyt5_qmm0000gp/T//cco2ifJQ.s 
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/basis/EventManager.cpp -oobj/darwin64-stat//src/basis/EventManager.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/basis/BasisApplication.cpp -oobj/darwin64-stat//src/basis/BasisApplication.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSNotificationCenter.cpp -oobj/darwin64-stat//src/apple/foundation/NSNotificationCenter.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSNotification.cpp -oobj/darwin64-stat//src/apple/foundation/NSNotification.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSFormatter.cpp -oobj/darwin64-stat//src/apple/foundation/NSFormatter.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSFileWrapper.cpp -oobj/darwin64-stat//src/apple/foundation/NSFileWrapper.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSAssertionHandler.cpp -oobj/darwin64-stat//src/apple/foundation/NSAssertionHandler.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSException.cpp -oobj/darwin64-stat//src/apple/foundation/NSException.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSError.cpp -oobj/darwin64-stat//src/apple/foundation/NSError.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSPurgeableData.cpp -oobj/darwin64-stat//src/apple/foundation/NSPurgeableData.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSMutableData.cpp -oobj/darwin64-stat//src/apple/foundation/NSMutableData.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSData.cpp -oobj/darwin64-stat//src/apple/foundation/NSData.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSAffineTransform.cpp -oobj/darwin64-stat//src/apple/foundation/NSAffineTransform.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSWindowController.cpp -oobj/darwin64-stat//src/apple/appkit/NSWindowController.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSToolbar.cpp -oobj/darwin64-stat//src/apple/appkit/NSToolbar.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSTextViewDelegate.cpp -oobj/darwin64-stat//src/apple/appkit/NSTextViewDelegate.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSTextView.cpp -oobj/darwin64-stat//src/apple/appkit/NSTextView.o
+ /Applications/Xcode.app/Contents/Developer/usr/bin/../libexec/as/x86_64/as -arch x86_64 -force_cpusubtype_ALL -oobj/darwin64-stat//src/apple/appkit/NSTextViewDelegate.o /var/folders/hh/tt6_ggh56m92wgrdtyt5_qmm0000gp/T//ccBqu73L.s 
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSTextTableBlock.cpp -oobj/darwin64-stat//src/apple/appkit/NSTextTableBlock.o
+ /Applications/Xcode.app/Contents/Developer/usr/bin/../libexec/as/x86_64/as -arch x86_64 -force_cpusubtype_ALL -oobj/darwin64-stat//src/apple/appkit/NSTextView.o /var/folders/hh/tt6_ggh56m92wgrdtyt5_qmm0000gp/T//cc1Kna6d.s 
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSTextTable.cpp -oobj/darwin64-stat//src/apple/appkit/NSTextTable.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSTextBlock.cpp -oobj/darwin64-stat//src/apple/appkit/NSTextBlock.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSTextStorage.cpp -oobj/darwin64-stat//src/apple/appkit/NSTextStorage.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSMutableAttributedString.cpp -oobj/darwin64-stat//src/apple/foundation/NSMutableAttributedString.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/foundation/NSAttributedString.cpp -oobj/darwin64-stat//src/apple/foundation/NSAttributedString.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSTextContainer.cpp -oobj/darwin64-stat//src/apple/appkit/NSTextContainer.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSText.cpp -oobj/darwin64-stat//src/apple/appkit/NSText.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSSpeechRecognizerDelegate.cpp -oobj/darwin64-stat//src/apple/appkit/NSSpeechRecognizerDelegate.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSSpeechRecognizer.cpp -oobj/darwin64-stat//src/apple/appkit/NSSpeechRecognizer.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSSound.cpp -oobj/darwin64-stat//src/apple/appkit/NSSound.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSScroller.cpp -oobj/darwin64-stat//src/apple/appkit/NSScroller.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSScrollView.cpp -oobj/darwin64-stat//src/apple/appkit/NSScrollView.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSScreen.cpp -oobj/darwin64-stat//src/apple/appkit/NSScreen.o
+ /Applications/Xcode.app/Contents/Developer/usr/bin/../libexec/as/x86_64/as -arch x86_64 -force_cpusubtype_ALL -oobj/darwin64-stat//src/apple/appkit/NSScrollView.o /var/folders/hh/tt6_ggh56m92wgrdtyt5_qmm0000gp/T//ccg2XNC8.s 
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSSavePanel.cpp -oobj/darwin64-stat//src/apple/appkit/NSSavePanel.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSRulerView.cpp -oobj/darwin64-stat//src/apple/appkit/NSRulerView.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSRulerMarker.cpp -oobj/darwin64-stat//src/apple/appkit/NSRulerMarker.o
+ /Applications/Xcode.app/Contents/Developer/usr/bin/../libexec/as/x86_64/as -arch x86_64 -force_cpusubtype_ALL -oobj/darwin64-stat//src/apple/appkit/NSRulerView.o /var/folders/hh/tt6_ggh56m92wgrdtyt5_qmm0000gp/T//ccTbkgiy.s 
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSPrinter.cpp -oobj/darwin64-stat//src/apple/appkit/NSPrinter.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSPrintInfo.cpp -oobj/darwin64-stat//src/apple/appkit/NSPrintInfo.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSPasteboard.cpp -oobj/darwin64-stat//src/apple/appkit/NSPasteboard.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSMutableParagraphStyle.cpp -oobj/darwin64-stat//src/apple/appkit/NSMutableParagraphStyle.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSTextTab.cpp -oobj/darwin64-stat//src/apple/appkit/NSTextTab.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSParagraphStyle.cpp -oobj/darwin64-stat//src/apple/appkit/NSParagraphStyle.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSPanel.cpp -oobj/darwin64-stat//src/apple/appkit/NSPanel.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSWindow.cpp -oobj/darwin64-stat//src/apple/appkit/NSWindow.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSMenuItem.cpp -oobj/darwin64-stat//src/apple/appkit/NSMenuItem.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSMenu.cpp -oobj/darwin64-stat//src/apple/appkit/NSMenu.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSLayoutManager.cpp -oobj/darwin64-stat//src/apple/appkit/NSLayoutManager.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSImageView.cpp -oobj/darwin64-stat//src/apple/appkit/NSImageView.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSImage.cpp -oobj/darwin64-stat//src/apple/appkit/NSImage.o
+ /Applications/Xcode.app/Contents/Developer/usr/bin/../libexec/as/x86_64/as -arch x86_64 -force_cpusubtype_ALL -oobj/darwin64-stat//src/apple/appkit/NSImageView.o /var/folders/hh/tt6_ggh56m92wgrdtyt5_qmm0000gp/T//ccNSRbmH.s 
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSGraphicsContext.cpp -oobj/darwin64-stat//src/apple/appkit/NSGraphicsContext.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSGradient.cpp -oobj/darwin64-stat//src/apple/appkit/NSGradient.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSFontDescriptor.cpp -oobj/darwin64-stat//src/apple/appkit/NSFontDescriptor.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSFont.cpp -oobj/darwin64-stat//src/apple/appkit/NSFont.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSEvent.cpp -oobj/darwin64-stat//src/apple/appkit/NSEvent.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSDocument.cpp -oobj/darwin64-stat//src/apple/appkit/NSDocument.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSCursor.cpp -oobj/darwin64-stat//src/apple/appkit/NSCursor.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSColorSpace.cpp -oobj/darwin64-stat//src/apple/appkit/NSColorSpace.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSColor.cpp -oobj/darwin64-stat//src/apple/appkit/NSColor.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSClipView.cpp -oobj/darwin64-stat//src/apple/appkit/NSClipView.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSButtonCell.cpp -oobj/darwin64-stat//src/apple/appkit/NSButtonCell.o
+ /Applications/Xcode.app/Contents/Developer/usr/bin/../libexec/as/x86_64/as -arch x86_64 -force_cpusubtype_ALL -oobj/darwin64-stat//src/apple/appkit/NSClipView.o /var/folders/hh/tt6_ggh56m92wgrdtyt5_qmm0000gp/T//ccwOzwj8.s 
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSButton.cpp -oobj/darwin64-stat//src/apple/appkit/NSButton.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSControl.cpp -oobj/darwin64-stat//src/apple/appkit/NSControl.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSView.cpp -oobj/darwin64-stat//src/apple/appkit/NSView.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSBitmapImageRep.cpp -oobj/darwin64-stat//src/apple/appkit/NSBitmapImageRep.o
+ /Applications/Xcode.app/Contents/Developer/usr/bin/../libexec/as/x86_64/as -arch x86_64 -force_cpusubtype_ALL -oobj/darwin64-stat//src/apple/appkit/NSView.o /var/folders/hh/tt6_ggh56m92wgrdtyt5_qmm0000gp/T//cc3Owbwt.s 
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSImageRep.cpp -oobj/darwin64-stat//src/apple/appkit/NSImageRep.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSApplication.cpp -oobj/darwin64-stat//src/apple/appkit/NSApplication.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSResponder.cpp -oobj/darwin64-stat//src/apple/appkit/NSResponder.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSActionCell.cpp -oobj/darwin64-stat//src/apple/appkit/NSActionCell.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/apple/appkit/NSCell.cpp -oobj/darwin64-stat//src/apple/appkit/NSCell.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/basis/object/AbstractObject.cpp -oobj/darwin64-stat//src/basis/object/AbstractObject.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/basis/object/IObject.cpp -oobj/darwin64-stat//src/basis/object/IObject.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/Type.cpp -oobj/darwin64-stat//src/Type.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/Std.cpp -oobj/darwin64-stat//src/Std.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/Reflect.cpp -oobj/darwin64-stat//src/Reflect.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/IMap.cpp -oobj/darwin64-stat//src/IMap.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/BasisMain.cpp -oobj/darwin64-stat//src/BasisMain.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/cpp/Lib.cpp -oobj/darwin64-stat//src/cpp/Lib.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/__boot__.cpp -oobj/darwin64-stat//src/__boot__.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/__files__.cpp -oobj/darwin64-stat//src/__files__.o
g++ -Iinclude -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/haxe ./src/__resources__.cpp -oobj/darwin64-stat//src/__resources__.o
g++ -Iinclude -DHX_DECLARE_MAIN -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti ./src/__lib__.cpp -oobj/darwin64-stat//src/__lib__.o
Creating obj/darwin64-stat//__pch/runtime/hxcpp.h.gch...
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -frtti -o obj/darwin64-stat//__pch/runtime/hxcpp.h.gch /usr/lib/haxe/lib/hxcpp/3,0,2//include/hxcpp.h
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Boot.cpp -oobj/darwin64-stat//src/hx/Boot.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Anon.cpp -oobj/darwin64-stat//src/hx/Anon.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/CFFI.cpp -oobj/darwin64-stat//src/hx/CFFI.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Date.cpp -oobj/darwin64-stat//src/hx/Date.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/GC.cpp -oobj/darwin64-stat//src/hx/GC.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/GCInternal.cpp -oobj/darwin64-stat//src/hx/GCInternal.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Hash.cpp -oobj/darwin64-stat//src/hx/Hash.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Interface.cpp -oobj/darwin64-stat//src/hx/Interface.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Lib.cpp -oobj/darwin64-stat//src/hx/Lib.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Object.cpp -oobj/darwin64-stat//src/hx/Object.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/StdLibs.cpp -oobj/darwin64-stat//src/hx/StdLibs.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Debug.cpp -oobj/darwin64-stat//src/hx/Debug.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/Thread.cpp -oobj/darwin64-stat//src/hx/Thread.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/hx/RunLibs.cpp -oobj/darwin64-stat//src/hx/RunLibs.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/Array.cpp -oobj/darwin64-stat//src/Array.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/Class.cpp -oobj/darwin64-stat//src/Class.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/Dynamic.cpp -oobj/darwin64-stat//src/Dynamic.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/Enum.cpp -oobj/darwin64-stat//src/Enum.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/Math.cpp -oobj/darwin64-stat//src/Math.o
g++ -D_CRT_SECURE_NO_DEPRECATE -DHX_UNDEFINE_H -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti -Iobj/darwin64-stat//__pch/runtime /usr/lib/haxe/lib/hxcpp/3,0,2//src/String.cpp -oobj/darwin64-stat//src/String.o
ar -cr BasisMain.a obj/darwin64-stat//src/haxe/ds/StringMap.o obj/darwin64-stat//src/haxe/ds/IntMap.o obj/darwin64-stat//src/haxe/Log.o obj/darwin64-stat//src/example/osx/OSXExample.o obj/darwin64-stat//src/example/ApplicationMain.o obj/darwin64-stat//src/basis/osx/OSXApplication.o obj/darwin64-stat//src/basis/object/TypeValues.o obj/darwin64-stat//src/basis/object/ObjectManager.o obj/darwin64-stat//src/basis/EventManager.o obj/darwin64-stat//src/basis/BasisApplication.o obj/darwin64-stat//src/apple/foundation/NSNotificationCenter.o obj/darwin64-stat//src/apple/foundation/NSNotification.o obj/darwin64-stat//src/apple/foundation/NSFormatter.o obj/darwin64-stat//src/apple/foundation/NSFileWrapper.o obj/darwin64-stat//src/apple/foundation/NSAssertionHandler.o obj/darwin64-stat//src/apple/foundation/NSException.o obj/darwin64-stat//src/apple/foundation/NSError.o obj/darwin64-stat//src/apple/foundation/NSPurgeableData.o obj/darwin64-stat//src/apple/foundation/NSMutableData.o obj/darwin64-stat//src/apple/foundation/NSData.o obj/darwin64-stat//src/apple/foundation/NSAffineTransform.o obj/darwin64-stat//src/apple/appkit/NSWindowController.o obj/darwin64-stat//src/apple/appkit/NSToolbar.o obj/darwin64-stat//src/apple/appkit/NSTextViewDelegate.o obj/darwin64-stat//src/apple/appkit/NSTextView.o obj/darwin64-stat//src/apple/appkit/NSTextTableBlock.o obj/darwin64-stat//src/apple/appkit/NSTextTable.o obj/darwin64-stat//src/apple/appkit/NSTextBlock.o obj/darwin64-stat//src/apple/appkit/NSTextStorage.o obj/darwin64-stat//src/apple/foundation/NSMutableAttributedString.o obj/darwin64-stat//src/apple/foundation/NSAttributedString.o obj/darwin64-stat//src/apple/appkit/NSTextContainer.o obj/darwin64-stat//src/apple/appkit/NSText.o obj/darwin64-stat//src/apple/appkit/NSSpeechRecognizerDelegate.o obj/darwin64-stat//src/apple/appkit/NSSpeechRecognizer.o obj/darwin64-stat//src/apple/appkit/NSSound.o obj/darwin64-stat//src/apple/appkit/NSScroller.o obj/darwin64-stat//src/apple/appkit/NSScrollView.o obj/darwin64-stat//src/apple/appkit/NSScreen.o obj/darwin64-stat//src/apple/appkit/NSSavePanel.o obj/darwin64-stat//src/apple/appkit/NSRulerView.o obj/darwin64-stat//src/apple/appkit/NSRulerMarker.o obj/darwin64-stat//src/apple/appkit/NSPrinter.o obj/darwin64-stat//src/apple/appkit/NSPrintInfo.o obj/darwin64-stat//src/apple/appkit/NSPasteboard.o obj/darwin64-stat//src/apple/appkit/NSMutableParagraphStyle.o obj/darwin64-stat//src/apple/appkit/NSTextTab.o obj/darwin64-stat//src/apple/appkit/NSParagraphStyle.o obj/darwin64-stat//src/apple/appkit/NSPanel.o obj/darwin64-stat//src/apple/appkit/NSWindow.o obj/darwin64-stat//src/apple/appkit/NSMenuItem.o obj/darwin64-stat//src/apple/appkit/NSMenu.o obj/darwin64-stat//src/apple/appkit/NSLayoutManager.o obj/darwin64-stat//src/apple/appkit/NSImageView.o obj/darwin64-stat//src/apple/appkit/NSImage.o obj/darwin64-stat//src/apple/appkit/NSGraphicsContext.o obj/darwin64-stat//src/apple/appkit/NSGradient.o obj/darwin64-stat//src/apple/appkit/NSFontDescriptor.o obj/darwin64-stat//src/apple/appkit/NSFont.o obj/darwin64-stat//src/apple/appkit/NSEvent.o obj/darwin64-stat//src/apple/appkit/NSDocument.o obj/darwin64-stat//src/apple/appkit/NSCursor.o obj/darwin64-stat//src/apple/appkit/NSColorSpace.o obj/darwin64-stat//src/apple/appkit/NSColor.o obj/darwin64-stat//src/apple/appkit/NSClipView.o obj/darwin64-stat//src/apple/appkit/NSButtonCell.o obj/darwin64-stat//src/apple/appkit/NSButton.o obj/darwin64-stat//src/apple/appkit/NSControl.o obj/darwin64-stat//src/apple/appkit/NSView.o obj/darwin64-stat//src/apple/appkit/NSBitmapImageRep.o obj/darwin64-stat//src/apple/appkit/NSImageRep.o obj/darwin64-stat//src/apple/appkit/NSApplication.o obj/darwin64-stat//src/apple/appkit/NSResponder.o obj/darwin64-stat//src/apple/appkit/NSActionCell.o obj/darwin64-stat//src/apple/appkit/NSCell.o obj/darwin64-stat//src/basis/object/AbstractObject.o obj/darwin64-stat//src/basis/object/IObject.o obj/darwin64-stat//src/Type.o obj/darwin64-stat//src/Std.o obj/darwin64-stat//src/Reflect.o obj/darwin64-stat//src/IMap.o obj/darwin64-stat//src/BasisMain.o obj/darwin64-stat//src/cpp/Lib.o obj/darwin64-stat//src/__boot__.o obj/darwin64-stat//src/__files__.o obj/darwin64-stat//src/__resources__.o obj/darwin64-stat//src/__lib__.o obj/darwin64-stat//src/hx/Anon.o obj/darwin64-stat//src/hx/Boot.o obj/darwin64-stat//src/hx/CFFI.o obj/darwin64-stat//src/hx/Date.o obj/darwin64-stat//src/hx/GC.o obj/darwin64-stat//src/hx/GCInternal.o obj/darwin64-stat//src/hx/Hash.o obj/darwin64-stat//src/hx/Interface.o obj/darwin64-stat//src/hx/Lib.o obj/darwin64-stat//src/hx/Object.o obj/darwin64-stat//src/hx/StdLibs.o obj/darwin64-stat//src/hx/Debug.o obj/darwin64-stat//src/hx/Thread.o obj/darwin64-stat//src/hx/RunLibs.o obj/darwin64-stat//src/Array.o obj/darwin64-stat//src/Class.o obj/darwin64-stat//src/Dynamic.o obj/darwin64-stat//src/Enum.o obj/darwin64-stat//src/Math.o obj/darwin64-stat//src/String.o
ranlib BasisMain.a
g++ -Iinclude -Iobjc_include -c -fvisibility=hidden -O2 -I/usr/lib/haxe/lib/hxcpp/3,0,2//include -DHX_MACOS -m64 -DSTATIC_LINK -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -x c++ -frtti ./src/BasisStart.cpp -oobj/darwin64-stat//src/BasisStart.o
ar -cr ../obj//basis.ndll obj/darwin64-stat//src/BasisStart.o
ranlib ../obj//basis.ndll
Called from ? line 1
Called from basisapple/Main.hx line 7
Called from basisapple/Main.hx line 10
Called from basis/BuildTool.hx line 51
Called from basis/settings/XmlSettings.hx line 37
Called from basis/BuildTool.hx line 60
Called from basisapple/AppleBuildTool.hx line 29
Called from basisapple/AppleBuildTool.hx line 42
Called from basisapple/AppleBuildTool.hx line 267
Called from /Users/fullofcaffeine/workspace/code/haxe/std/neko/_std/sys/io/File.hx line 62
Called from /Users/fullofcaffeine/workspace/code/haxe/std/neko/_std/sys/io/File.hx line 50
Uncaught exception - [file_open,/usr/lib/haxe/lib/hxcpp/3,0,2/bin/Mac64/regexp.a]

I rebuilt the osx libs before trying to compile again, with "ant osx", by the way.

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

try running "ant osx" then "ant install"

Then build again

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

do you have hxcpp installed? (haxelib install hxcpp)

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Yes:

➜  example git:(master) ✗ haxelib install hxcpp
You already have hxcpp version 3.0.2 installed
➜  example git:(master) ✗ haxelib path hxcpp
/usr/lib/haxe/lib/hxcpp/3,0,2/
-D hxcpp
Haxe Compiler 3.1.0 - (C)2005-2013 Haxe Foundation
➜  example git:(master) ✗ haxelib 
Haxe Library Manager 3.1.0-rc.3 - (c)2006-2013 Haxe Foundation

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

it looks like there is a problem with the file at /usr/lib/haxe/lib/hxcpp/3,0,2/bin/Mac64/regexp.a
BasisApple is trying to copy it. If the file is there maybe there is a permissions problem?

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Oh, it's not present!

➜  Mac64  ls /usr/lib/haxe/lib/hxcpp/3,0,2/bin/Mac64         
regexp.dylib std.dylib    zlib.dylib

What do you think I should do? Reinstall hxcpp?

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

yes, try that. I just reinstalled hxcpp and the file was included.

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

Actually, I take that back. The files are not installed by default. They may need to be built. One sec, I'll track down where they come from.

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

run this command to build the correct hxcpp libs: haxelib

run hxcpp BuildLibs.xml -DHXCPP_M64 -Dstatic_link Ddll_import

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

Sorry that is:

haxelib run hxcpp BuildLibs.xml -DHXCPP_M64 -Dstatic_link Ddll_import

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

➜ BasisApple git:(master) ✗ haxelib run hxcpp BuildLibs.xml -DHXCPP_M64 -Dstatic_link Ddll_import

Called from ? line 1
Called from BuildTool.hx line 1529
Called from BuildTool.hx line 673
Called from a C function
Called from BuildTool.hx line 700
Called from sys/io/File.hx line 33
Uncaught exception - [file_contents,BuildLibs.xml]

Why is this command needed? Where is that documented?

Marcelo

On Thursday, September 26, 2013 at 5:31 PM, Aaron wrote:

Sorry that is:
haxelib run hxcpp BuildLibs.xml -DHXCPP_M64 -Dstatic_link Ddll_import


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Alright, I had to go to:

/usr/lib/haxe/lib/hxcpp/3,0,2/runtime

Now the libs are build. Let's see how it goes.

Marcelo

On Thursday, September 26, 2013 at 5:32 PM, Marcelo Serpa wrote:

➜ BasisApple git:(master) ✗ haxelib run hxcpp BuildLibs.xml -DHXCPP_M64 -Dstatic_link Ddll_import

Called from ? line 1
Called from BuildTool.hx line 1529
Called from BuildTool.hx line 673
Called from a C function
Called from BuildTool.hx line 700
Called from sys/io/File.hx line 33
Uncaught exception - [file_contents,BuildLibs.xml]

Why is this command needed? Where is that documented?

Marcelo

On Thursday, September 26, 2013 at 5:31 PM, Aaron wrote:

Sorry that is:
haxelib run hxcpp BuildLibs.xml -DHXCPP_M64 -Dstatic_link Ddll_import


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

Its needed because the needed hxcpp libs are not built by by default. I'm adding it to the BasisApple doc now.

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Oh :'(

Is there a workaround to that?

Thank you for the help, btw.

Marcelo

On Thursday, September 26, 2013 at 5:40 PM, Aaron wrote:

Its needed because the needed hxcpp libs are not built by by default. I'm adding it to the BasisApple doc now.


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Oh, the screenshot hasn't gone through.

It says:

"You can't use this version of the application Example with this version of Mac OSX X.

You have Mac OS X 10.7.5, the application requires Mac OSX 10.8 or later"

Is there a way to build a version compatible with OSX 10.7.5?

Marcelo

On Thursday, September 26, 2013 at 5:42 PM, Marcelo Serpa wrote:

Oh :'(

Is there a workaround to that?

Thank you for the help, btw.

Marcelo

On Thursday, September 26, 2013 at 5:40 PM, Aaron wrote:

Its needed because the needed hxcpp libs are not built by by default. I'm adding it to the BasisApple doc now.


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

Thanks for giving it a try and helping fix bugs :)

A workaround would be to have the build tool build the libs if they are not already.

For osx 7.5, try setting it in Xcode
There is a field in the Summary settings called "Deployment Target" that can be set to 7.0

This is something I'll add as a setting to the basis xml build file

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

No worries. Thanks for guiding me.

By the way, I have another issue. I've set it to build for 10.7, but I'm getting this now when running the app:

dyld: Library not loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
Referenced from: /Users/fullofcaffeine/Library/Developer/Xcode/DerivedData/Example-astmjcoukzwovwdclairifdggqha/Build/Products/Debug/Example.app/Contents/MacOS/Example
Reason: Incompatible library version: Example requires version 64.0.0 or later, but ApplicationServices provides version 1.0.0

Any ideaS?

Marcelo

On Thursday, September 26, 2013 at 5:56 PM, Aaron wrote:

Thanks for giving it a try and helping fix bugs :)
A workaround would be to have the build tool build the libs if they are not already.
For osx 7.5, try setting it in Xcode
There is a field in the Summary settings called "Deployment Target" that can be set to 7.0
This is something I'll add as a setting to the basis xml build file


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Removing CoreGraphics from the frameworks in Xcode and building without it allows the app to run. However, it just appears in the Dock, but does not render any windows. Any ideas?

Marcelo

On Thursday, September 26, 2013 at 6:06 PM, Marcelo Serpa wrote:

No worries. Thanks for guiding me.

By the way, I have another issue. I've set it to build for 10.7, but I'm getting this now when running the app:

dyld: Library not loaded: /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
Referenced from: /Users/fullofcaffeine/Library/Developer/Xcode/DerivedData/Example-astmjcoukzwovwdclairifdggqha/Build/Products/Debug/Example.app/Contents/MacOS/Example
Reason: Incompatible library version: Example requires version 64.0.0 or later, but ApplicationServices provides version 1.0.0

Any ideaS?

Marcelo

On Thursday, September 26, 2013 at 5:56 PM, Aaron wrote:

Thanks for giving it a try and helping fix bugs :)
A workaround would be to have the build tool build the libs if they are not already.
For osx 7.5, try setting it in Xcode
There is a field in the Summary settings called "Deployment Target" that can be set to 7.0
This is something I'll add as a setting to the basis xml build file


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

This seems to be the same problem:
http://stackoverflow.com/questions/13715229/cannot-set-deployment-target-below-osx-10-8-error-dyld-library-not-loaded

There are no windows by default. Select Example->new window
A new window should open that can be typed in.

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

NICE!

Works :)

This is awesome!

I'll play with it tonight this weekend. Seems to be what I was looking for, and a nice way to get into C/Objective C and Cocoa without having to deal with ObjC directly (most of the time)

You mentioned about the inheritance limitation. How are you dealing with it when it comes to architecting your apps? Any other gotchas I should be aware of?

Marcelo

On Thursday, September 26, 2013 at 6:16 PM, Aaron wrote:

This seems to be the same problem:
http://stackoverflow.com/questions/13715229/cannot-set-deployment-target-below-osx-10-8-error-dyld-library-not-loaded
There are no windows by default. Select Example->new window
A new window should open that can be typed in.


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

Great!

I really haven't gone to far with osx yet. The big limitation will be that not many of the framework classes are available. I've been adding them as I've needed them which is why ios has so many more.

You can add classes using ObjcToHaxeExtern but it is not a simple process if types are missing or delegates are needed.

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Do you mind documenting somewhere the process of adding another fw class? I would love to help.

Marcelo

On Thursday, September 26, 2013 at 6:40 PM, Aaron wrote:

Great!
I really haven't gone to far with osx yet. The big limitation will be that not many of the framework classes are available. I've been adding them as I've needed them which is why ios has so many more.
You can add classes using ObjcToHaxeExtern but it is not a simple process if types are missing or delegates are needed.


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

By the way, what's ObjcToHaxeExtern ?

Marcelo

On Thursday, September 26, 2013 at 6:42 PM, Marcelo Serpa wrote:

Do you mind documenting somewhere the process of adding another fw class? I would love to help.

Marcelo

On Thursday, September 26, 2013 at 6:40 PM, Aaron wrote:

Great!
I really haven't gone to far with osx yet. The big limitation will be that not many of the framework classes are available. I've been adding them as I've needed them which is why ios has so many more.
You can add classes using ObjcToHaxeExtern but it is not a simple process if types are missing or delegates are needed.


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

There is currently some talk on the mailing list about using libffi to create a more robust bridge to objective c.
https://groups.google.com/forum/?hl=en#!topic/haxelang/kdbSdacKpiM

This could potentially solve the major issues currently with BasisApple (no inheritance). I've been holding off adding more to BasisApple because of this.

ObjcToHaxeExtern converts apple objc header files to haxe externs.
https://github.com/Randonee/ObjcToHaxeExtern

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Oh yeah, I saw that one. I think it's worth trying. Do you have a small scenario in mind where I could try to apply it? Maybe we could test it out. Thanks for pointing out ObcToHaxeExtern.

Marcelo

On Thursday, September 26, 2013 at 6:54 PM, Aaron wrote:

There is currently some talk on the mailing list about using libffi to create a more robust bridge to objective c.
https://groups.google.com/forum/?hl=en#!topic/haxelang/kdbSdacKpiM
This could potentially solve the major issues currently with BasisApple (no inheritance). I've been holding off adding more to BasisApple because of this.
ObjcToHaxeExtern converts apple objc header files to haxe externs.
https://github.com/Randonee/ObjcToHaxeExtern


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

By the way, do you know the status of the ObjC target?

Marcelo

On Thursday, September 26, 2013 at 6:56 PM, Marcelo Serpa wrote:

Oh yeah, I saw that one. I think it's worth trying. Do you have a small scenario in mind where I could try to apply it? Maybe we could test it out. Thanks for pointing out ObcToHaxeExtern.

Marcelo

On Thursday, September 26, 2013 at 6:54 PM, Aaron wrote:

There is currently some talk on the mailing list about using libffi to create a more robust bridge to objective c.
https://groups.google.com/forum/?hl=en#!topic/haxelang/kdbSdacKpiM
This could potentially solve the major issues currently with BasisApple (no inheritance). I've been holding off adding more to BasisApple because of this.
ObjcToHaxeExtern converts apple objc header files to haxe externs.
https://github.com/Randonee/ObjcToHaxeExtern


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

I haven't had the time to look to far into the libffi stuff.
The basic idea is to interfaces with the objc runtime:
https://developer.apple.com/library/ios/DOCUMENTATION/Cocoa/Reference/ObjCRuntimeRef/Reference/reference.html

Not sure of the ObjC target status.

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Also:

  1. Could we add the OSX target version to the build file? Editing the Xcode project file every time does't scale very well.
  2. What's your current workflow? Do you manually compile using haxelib run bases basis.build after every change?

Thanks :)

Marcelo

On Thursday, September 26, 2013 at 6:56 PM, Marcelo Serpa wrote:

By the way, do you know the status of the ObjC target?

Marcelo

On Thursday, September 26, 2013 at 6:56 PM, Marcelo Serpa wrote:

Oh yeah, I saw that one. I think it's worth trying. Do you have a small scenario in mind where I could try to apply it? Maybe we could test it out. Thanks for pointing out ObcToHaxeExtern.

Marcelo

On Thursday, September 26, 2013 at 6:54 PM, Aaron wrote:

There is currently some talk on the mailing list about using libffi to create a more robust bridge to objective c.
https://groups.google.com/forum/?hl=en#!topic/haxelang/kdbSdacKpiM
This could potentially solve the major issues currently with BasisApple (no inheritance). I've been holding off adding more to BasisApple because of this.
ObjcToHaxeExtern converts apple objc header files to haxe externs.
https://github.com/Randonee/ObjcToHaxeExtern


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Oh I get you. Instead of compiling, it would access the objects at runtime. I'll look into it.

Marcelo

On Thursday, September 26, 2013 at 7:08 PM, Marcelo Serpa wrote:

Also:

  1. Could we add the OSX target version to the build file? Editing the Xcode project file every time does't scale very well.
  2. What's your current workflow? Do you manually compile using haxelib run bases basis.build after every change?

Thanks :)

Marcelo

On Thursday, September 26, 2013 at 6:56 PM, Marcelo Serpa wrote:

By the way, do you know the status of the ObjC target?

Marcelo

On Thursday, September 26, 2013 at 6:56 PM, Marcelo Serpa wrote:

Oh yeah, I saw that one. I think it's worth trying. Do you have a small scenario in mind where I could try to apply it? Maybe we could test it out. Thanks for pointing out ObcToHaxeExtern.

Marcelo

On Thursday, September 26, 2013 at 6:54 PM, Aaron wrote:

There is currently some talk on the mailing list about using libffi to create a more robust bridge to objective c.
https://groups.google.com/forum/?hl=en#!topic/haxelang/kdbSdacKpiM
This could potentially solve the major issues currently with BasisApple (no inheritance). I've been holding off adding more to BasisApple because of this.
ObjcToHaxeExtern converts apple objc header files to haxe externs.
https://github.com/Randonee/ObjcToHaxeExtern


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

Randonee avatar Randonee commented on June 11, 2024
  1. You should be able to do this by adding your own plist file. . You can find all the undocumented build settings here: https://github.com/Randonee/BasisApple/blob/master/buildtool/src/basisapple/settings/XmlAppleSettings.hx

  2. Yes. If something more complicated is needed I've been using ant.

from basisapple.

fullofcaffeine avatar fullofcaffeine commented on June 11, 2024

Thank you for your help! This is really promising and deserves its own marketing site - should get more attention, at least - for now - inside our own community. There might be some interesting integration/collaboration opportunities there.

Marcelo

On Thursday, September 26, 2013 at 7:33 PM, Aaron wrote:

  1. You should be able to do this by adding your own plist file. . You can find all the undocumented build settings here: https://github.com/Randonee/BasisApple/blob/master/buildtool/src/basisapple/settings/XmlAppleSettings.hx
  2. Yes. If something more complicated is needed I've been using ant.


Reply to this email directly or view it on GitHub (#5 (comment)).

from basisapple.

Randonee avatar Randonee commented on June 11, 2024

Any time and I couldn't agree more.

from basisapple.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.