The following is a step-by-step guide for installing Caffe on Mac OS X (Tested with OS X Yosemite 10.10.3, mid-2014 rMBP with 2.8 GHz Intel Core i7, NVIDIA GeForce GT 750M 2048 MB) For the past couple of days, I struggled to get Caffe to work on my macbook. © 2012 - 2019 Bastards Canteen, All rights reserved. GŌN – Free Metering Plugin For PC & Mac. Newfangled Audio – Pendulate – PC & MAC. Pendulate's chaotic oscillator is matched with a wavefolder and low pass gate, inspired by the ideas of Don Buchla. These three modules combine to make inconceivable sounds you've never heard and will want to hear again. The other issue I know of is, that some Macs only support 32 bit windows and some only support 64 bit, but I'm not sure if that applies to mid-2012 models. Pingback: Apple MacBook Pro 'Core 2 Duo' 2.33 17″ Install Windows 8 (32 bit version) Musings from Pittsburgh.
Update: The instruction is also available in Chinese. 0.1 x 10 2. I'd like to thank panovr for providing Chinese translation. (http://ylzhao.blogspot.com/2015/04/mac-os-x-1010caffe.html)
The following is a step-by-step guide for installing Caffe on Mac OS X (Tested with OS X Yosemite 10.10.3, mid-2014 rMBP with 2.8 GHz Intel Core i7, NVIDIA GeForce GT 750M 2048 MB)
For the past couple of days, I struggled to get Caffe to work on my macbook. Caffe is a deep learning framework from Berkeley and you can read more about it at http://caffe.berkeleyvision.org/. If you are reading this, you probably have noticed you have to get dependencies setup correctly and download libraries and toolkits from several places or compilation will fail. Install documentation on the website was a bit out-dated, incomplete, and somewhat convoluted. So, I've decided to share my success story, and for simplicity's sake, I made it into a step-by-step guide on how to install Caffe on Mac OS X. For the maximal computing performance, I made use of my fancy NVIDIA GPU and took advantage of NVIDA's cuDNN GPU-accelerated library.
Now, take a deep breath.
Homebrew
Install package manager for OSX called Homebrew
Anaconda Python
Download and install Anaconda Python (includes hdf5, which is used by Caffe)
Set PATH
CUDA
Install CUDA 7.0 (for OSX)
Install latest standalone CUDA driver (apparently, one included in CUDA Toolkit is outdated)
Set PATH
Set DYLD_LIBRARY_PATH
BLAS - Intel MKL
OSX native BLAS library has some instability issue. Alternatively, install Intel MKL (math kernal library, which is a component of Intel Parallel Studio XE Composer Edition) using free student license, https://software.intel.com/en-us/qualify-for-free-software/student (Later, don't forget to set BLAS := mkl in Makefile.config)
Make sure to select every components in Intel Parallel Studio XE (honestly, I don't know what's used and what's not, but apparently default installation was missing some components)
cuDNN
Install NVIDIA cuDNN from https://developer.nvidia.com/cudnn (Later, don't forget to uncomment the USE_CUDNN := 1 flag in Makefile.config). You first need to signup and get approved by NVIDIA CUDA Register Developer Program.
Dependencies via homebrew
First, we need to modify something.
Replace the following lines
with Dark pokemon rom hacks.
then
Download Caffe from GitHub
From your home directory or any directory you want to download caffe
Makefile.config
Open Makefile.config file and edit the following:
Uncomment CUDNN to enable GPU support
Check your Python path
Read through each line carefully and modify configuration to suit your need!!!
Environment variables
Set following environmental variables:
Let's make Caffe
Make and test
You should get a message like the following. You can safely ignore disabled tests.
Software kasir toko full version. Now make pycaffe and distribute.
Enjoy!
(Last updated: 05/04/2016)
Note 1: CUDA 6 the 32-bit and 64-bit library files were merged under /usr/local/cuda/lib
The following is a step-by-step guide for installing Caffe on Mac OS X (Tested with OS X Yosemite 10.10.3, mid-2014 rMBP with 2.8 GHz Intel Core i7, NVIDIA GeForce GT 750M 2048 MB)
For the past couple of days, I struggled to get Caffe to work on my macbook. Caffe is a deep learning framework from Berkeley and you can read more about it at http://caffe.berkeleyvision.org/. If you are reading this, you probably have noticed you have to get dependencies setup correctly and download libraries and toolkits from several places or compilation will fail. Install documentation on the website was a bit out-dated, incomplete, and somewhat convoluted. So, I've decided to share my success story, and for simplicity's sake, I made it into a step-by-step guide on how to install Caffe on Mac OS X. For the maximal computing performance, I made use of my fancy NVIDIA GPU and took advantage of NVIDA's cuDNN GPU-accelerated library.
Now, take a deep breath.
Homebrew
Install package manager for OSX called Homebrew
Anaconda Python
Download and install Anaconda Python (includes hdf5, which is used by Caffe)
Set PATH
CUDA
Install CUDA 7.0 (for OSX)
Install latest standalone CUDA driver (apparently, one included in CUDA Toolkit is outdated)
Set PATH
Set DYLD_LIBRARY_PATH
BLAS - Intel MKL
OSX native BLAS library has some instability issue. Alternatively, install Intel MKL (math kernal library, which is a component of Intel Parallel Studio XE Composer Edition) using free student license, https://software.intel.com/en-us/qualify-for-free-software/student (Later, don't forget to set BLAS := mkl in Makefile.config)
Make sure to select every components in Intel Parallel Studio XE (honestly, I don't know what's used and what's not, but apparently default installation was missing some components)
cuDNN
Install NVIDIA cuDNN from https://developer.nvidia.com/cudnn (Later, don't forget to uncomment the USE_CUDNN := 1 flag in Makefile.config). You first need to signup and get approved by NVIDIA CUDA Register Developer Program.
Dependencies via homebrew
First, we need to modify something.
Replace the following lines
with Dark pokemon rom hacks.
then
Download Caffe from GitHub
From your home directory or any directory you want to download caffe
Makefile.config
Open Makefile.config file and edit the following:
Uncomment CUDNN to enable GPU support
Check your Python path
Read through each line carefully and modify configuration to suit your need!!!
Environment variables
Set following environmental variables:
Let's make Caffe
Make and test
You should get a message like the following. You can safely ignore disabled tests.
Software kasir toko full version. Now make pycaffe and distribute.
Enjoy!
(Last updated: 05/04/2016)
Note 1: CUDA 6 the 32-bit and 64-bit library files were merged under /usr/local/cuda/lib
Note 2: To run CUDA applications in console mode on MacBook Pro with both an integrated GPU and a discrete GPU, use the following settings before dropping to console mode: Uncheck System Preferences > Energy Saver > Automatic Graphic Switch
Note 3: You might need the following environment variables for Intel MKL. I didn't needed.
References:
permalink: /2015/04/03/how-to-install-caffe-on-mac-os-x-10-10-for-dummies-like-me/
This article is a discussion of the general purpose of DOSBox SVN builds, and a list of which known public ones exist and where to get them. The first part is a FAQ covering various questions regarding DOSBox SVN builds; it is followed by a listing, description of and links to known SVN builds, as well as a selection of useful related links.
The official DOSBox SVN repository is hosted at sourceforge.net:
- https://sourceforge.net/projects/dosbox/
- 1SVN Builds FAQ
- 2List of SVN Builds
- 3Useful Links
SVN Builds FAQ
What are SVN builds?
SVN builds are versions of DOSBox that people have built from the latest version of the DOSBox source code, which is stored on sourceforge.net in something called an SVN repository. SVN builds contain changes that have been made by the DOSBox developers since the latest official release. Some enhanced SVN builds also contain unofficial features and fixes that have been created by enthusiasts in the DOSBox development community.
Why should I use an SVN build?
Every so often a new official version of DOSBox is released. Active development continues between releases, however, with new features and fixes continuously added to DOSBox's SVN repository that eventually result in the next release. At the time of this writing, the last official release (0.74) is several years old, and is therefore missing a significant amount of work performed by the developers. If you're having trouble running a game with the current DOSBox release, it's worth trying an SVN build to see if the problem has been addressed since then. You may also want access to the new features or optimizations if you are having compatibility or performance issues.
Which one should I use?
That's up to you. Consult the list below to see which features the different builds contain and decide which one you want to try first. If you are interested in trying an SVN build in hopes that it will fix a problem you're having in the latest release version, you should probably start with a 'plain' (no-enhancements) SVN build. Also, see replies to this post from the maintainers for additional info on their builds.
How do I use it?
Some SVN builds come packaged as a fully-functional DOSBox distribution, so you can simply unpack the archive into an empty folder and run it. Other builds contain only a custom dosbox executable binary (e.g. dosbox.exe) and possibly some supporting libraries, and require that you first install the latest official release of DOSBox and then unpack the SVN build over the top of it - replacing the release versions of the files with the SVN versions. Some developers also recommend regenerating your dosbox.conf configuration file so that you will see any new config options that have been added. Consult this forum thread for info on how to regenerate a config file.
What do I do if I find bugs in an SVN build?
Bastard Cafe Support Pack For Macbook
First, search the DOSBox community forums to see if it's already been reported. If it hasn't, post as much information as possible (see the help request guidelines). Update: Note that bugs in plain SVN builds are probably the only ones of interest to the DOSBox developers. Problem reports for the other builds should be addressed to their respective maintainers, as problems could be caused by experimental patches that aren't part of the official SVN source code.
Where can I go to talk about SVN builds? (forum thread)
Please feel free to discuss SVN build-related topics in the forum thread where this article originally started.
List of SVN Builds
Plain/vanilla/clean SVN builds
The following SVN builds are based directly off of the official DOSBox SVN source code. Use these builds to test the latest official SVN changes:
- EmuCR for Windows
- URL: http://www.emucr.com/search/label/DOSBox
- Notes: Updated daily, although there are reports that it may lag behind if multiple changes are checked in by the DOSBox developers on the same day followed by no changes for some time after.
- Compiled without screenshot, video recording and IPX support.
- Dominus for OS X 10.4 - 10.12 (ppc/intel)
- URL: https://www.dropbox.com/s/kbrf5elbcu66kst/Dosbox-Snapshot.dmg?dl=1
- Notes: Automatically updated on changes to SVN.
- Yesterplay 80 for Windows and Linux
- URL: https://blog.yesterplay80.net/dosbox-ece-en/
- Notes: Also provides a modified DOSBox ECE (Enhanced Community Edition) build.
Enhanced SVN builds
The following SVN builds contain additional fixes and/or features that are not officially part of DOSBox. Many people prefer them due to the included extra features that are not included in in the SVN. Note that if you have problems with these builds, it may be due to the unofficial changes that have been made by their maintainers and not the official DOSBox code itself that is to blame:
- DOSBox SVN-lfn (DOSBox with Long File Name (LFN), mouse copy/paste support and more) by Wengier
- Last updated: 2017-09-20
- SVN base version: r4052
- URL: http://www.wpdos.org/dosbox-vdos-lfn.html (introduction + source + Windows binary + links to forum discussions)
- URL: http://bit.ly/12jANWF (latest Windows binary + required DLLs, zipped)
- URL: http://bit.ly/1laDvGX (alternative Windows binary compiled with MinGW instead of Visual Studio, zipped)
- Description: This is an enhanced build of DOSBox based on its SVN version that adds features like Windows-style Long File Name (LFN) and mouse copy/paste support. With this both the DOSBox shell commands and many native LFN-aware DOS programs should now be able to use LFN in DOSBox, and users can also use the right mouse button to select, copy and paste text from and to DOSBox (when the mouse is not locked). It now also includes features such as automatic drive mounting, improved command-line handling, APM power off, direct parallel port passthrough used for printing, DOS APIs that communicate with the Windows clipboard, and DBCS support for displaying CJK (East Asian) characters. Windows binaries are provided, but sources should work on other platforms such as Linux and macOS/OS X too (pdcurses might be required for the cross-platform clipboard copy/paste feature). Please see README.TXT file inside the binary package for more information.
- dosbox-patched for Ubuntu Linux (Oneiric and newer)
- Last updated: Daily
- SVN base version: ?
- URL: https://code.launchpad.net/~i30817/+archive/dosbox-patched
- Description: 'Daily build of dosbox trunk with mt32 patch (roms go into ~/.dosbox)'. Automatically-built PPA packages built from DOSBox SVN trunk with Munt MT-32 emulation patch.
- DOSBox-X by TheGreatCodeholio
- Last updated: It is constantly updated
- URL: http://www.vogons.org/viewtopic.php?t=31881 (discussion + links)
- URL: https://github.com/joncampbell123/dosbox-x/releases
- Description: 'This is a branch of DOSBox 0.74 that I have been working on and off for the past 8 months. I've been modifying a lot in the source to make the emulation more accurate, to fix other parts of the emulation, and to widen the kind of hardware DOSBox emulates. I call it 'DOSBox-x' for lack of a better name.'
Obsolete SVN/CVS builds
These builds appear to be no longer maintained, and are listed here for historical reference.
- DOSBox SVN Daum by ykhwong for Windows, OSX, and Linux
- Last updated: 2015-01-25
- SVN base version: r3894
- URL: http://ykhwong.x-y.net/ (Windows binary, Linux x86 source)
- URL: http://cafe.daum.net/dosbox
- Description: The last version broke this build in various places and uses out of date and not fully working changes of the DOSBox-X branch. It is no longer recommended to use it.The Windows build incorporates Direct3D with pixelshaders, OpenglHQ, Innovation, Glide, zip/7z mount, Beep, NE2000 Ethernet, Graphis user interface (menu), Save/Load states, Vertical sync, CPU flags optimization, Various DOS commands (PROMPT, VOL, LABEL, MOUSE, etc) and CONFIG.SYS commands (DEVICE, BUFFERS, FILES, etc), Continuous turbo key, Core-switch key, Show details (from menu bar), Nice DOSBox icon, Font patch (cp437), MAKEIMG command, INTRO, Ctrl-break patch, DBCS support patch, Automatic mount, Printer output, MT-32 emulation (MUNT), MP3CUE, Overscan border, Stereo-swap, SDL_Resize, MemSize128, Internal 3dfx voodoo chip emulation, etc. Recent versions include DOSBox-X branch changes as well.
- 'Mega Build' series (by H-A-L-9000)
- Last updated: 2010-11-18
- SVN base version: r3661
- URL: http://home.arcor.de/h-a-l-9000/ (Windows binary, Linux source, Intel Mac OS X port by thedoctor45)
- URL: http://www.vogons.org/viewtopic.php?t=26170 to discuss the Mac port
- Description: Builds of DOSBox focused on serial/networking support. Contains the NE2000 patch, parallel port passthrough and file forwarding, virtual printer, SVGA enhacements, OPL passthrough, and others. The Windows installer contains the debug-enabled build as option.
- 'UBER BUILD' (by Virusek)
- Last Updated: 2010-07-23
- SVN base version: r3623
- URL: http://www.vogons.org/viewtopic.php?p=193022#193022 (Windows binary, source)
- Description: All patches from gulikoza's build (coreswitch, direct3d, glide, mt32, openglhq, physfs, NE2000, printer and oplpassthrough). Updated Glide patch by gulikoza to 24.11.2009. SDL_sound support. Some other small fixes (mostly VS2010 compatibility fixes).
- Zirias
- Last Updated: 2010-05-12
- URL: http://www.vogons.org/viewtopic.php?p=186679#186679 (Debian i386 + amd64 binary & source packages)
- Description: Debian Linux APT packaged version of DOSBox with Glide support.
- Tharos (by XTale)
- Last updated: 2010-03-28
URL: http://builds.tharos-online.de/index.php?dir=&sort=date&order=desc- Notes: Daily builds seem to have stopped as of 3/28/10.
Bastard Cafe Support Pack For Mac Download
- gulikoza
- Last Updated: 2009-07-09
- URL: http://www.si-gamer.net/gulikoza/ (Windows binary, source)
- Description: Build of DOSBox focused on GLIDE support.
- DOSBox for Mac OSX (by rhoenie/Marcus Herbert)
- Last updated: 2008-08-09
- URL: http://www.spam-filter.de/bastelstunde#dosbox
- Description: DosBox 0.72 for G3 & DosBox CVS for OSX (G4/G5/i386)
- DOSBox CVS for Linux (by Moe)
- Last updated: 2006-12-15
URL: http://garni.ch/dosbox/- Description: Recently Moe has decided to provide a DOSBox Linux (x86, 32-bit, Athlon64-optimized) binary including some useful patches. It is built against latest CVS and includes at least these patches: addkey, adlib optimize, Innovation SSI-2001, Self-Modifying-Code optimizations, SVGA chipsets, CD-Image cycling, Glide emulation, Printer emulation.
- Notes: Moe is also the creator of OPENGL-HQ. OPENGL-HQ is another scaler that is implemented in SDL.dll. Unfortunately it may be some time (or never), until OPENGL-HQ is implemented in the official SDL so until then you'll have to download it from here (or compile it yourself). Neat thing about this is that you can use this SDL.DLL with any SDL program (e.g. DOSBox, SCUMMVM..).
- DOSBox with MT-32 emulation (by Canadacow)
- Last updated: 2004-10-15
URL: http://www.artworxinn.com/alex/downloads.htm- Description: This build is no longer useful; it was made before DOSBox 0.63 came out and contains MT-32 emulation code that is much older than the current Munt releases. Note that more current MT-32 emulation is also included as an unofficial feature of some of the newer SVN builds.
Useful Links
SVN changelog
The following links list the latest changes to the official DOSBox source code on its sourceforge.net SVN repository:
- http://source.dosbox.com/dosboxsvn.txt (auto-generated changelog provided by Qbix)
- http://sourceforge.net/p/dosbox/code-0/4052/log/?path=/dosbox (sourceforge.net SVN log) - fixed on 2017-09-20
SVN build news
The following link(s) provide news related to DOSBox SVN builds:
- http://www.emucr.com/search/label/DOSBox (EmuCR posts with DOSBox tag, which includes news regarding DOSBox SVN builds, frontends and other DOSBox ports)
Debugger-enabled builds
Qbix has a thread on the DOSBox forum containing links to some special DOSBox builds that have a built-in debugger:
Making your own SVN build
The following DOSBoxWiki article discusses the process of making your own SVN build from the official DOSBox SVN source code:
Unofficial ports
The following DOSBoxWiki article discusses unofficial ports for other operating systems, which are not in any way supported by the DOSBox team.
Snapshot of latest DOSBox SVN source code
Snapshots of the latest SVN versions of the DOSBox source code are available at the following URL(s) :
- http://source.dosbox.com/dosboxsvn.tgz (auto-generated tarball provided by Qbix)
- https://sourceforge.net/p/dosbox/code-0/HEAD/tree/dosbox/trunk/ (sourceforge.net SVN browser for official DOSBox SVN repository)