User Tools

Site Tools


acdsn:acdsn-a:mac

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
acdsn:acdsn-a:mac [2013/11/02 13:44] – [Driver] sbolayacdsn:acdsn-a:mac [2015/07/08 08:43] (current) – [Install wxPerl for Mac] tret
Line 1: Line 1:
 +==== Install wxPerl for Mac ====
 +
 +  $ sudo cpanm Wx
 +
 +If you get the error ''failed to find Carbon/Carbon.r'', follow this:
 +
 +Find your ''Carbon.r''.
 +
 +  $ sudo find / -name Carbon.r -print
 +  $ # => /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Carbon.framework/Versions/A/Headers/Carbon.r
 +
 +We're only interested by the path up to the ''Frameworks'' directory.
 +
 +Go to your Wx build directory.
 +
 +  $ cd ~/.cpanm/work/timestamp.something/Wx-0.9927
 +
 +Edit ''cpp/wxPerl.osx/Makefile'' and add the path to the ''Frameworks'' to the ''Rez'' call (line 36).
 +
 +You should have a line like this:
 +  $(RESTOOLDIR)/Rez -F /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks -d __DARWIN__ -useDF -o $(BUILD)/wxPerl.rsrc $(ARCH_FLAGS) wxPerl.r
 +  
 +Rebuild!
 +
 +  $ sudo make && sudo make install
 +
 ==== Compile acdsn-a for Mac ==== ==== Compile acdsn-a for Mac ====
 FIXME FIXME
acdsn/acdsn-a/mac.1383399885.txt.gz · Last modified: 2013/11/02 13:44 by sbolay