osx-mavericks

Save Excel sheets as HTML

亡梦爱人 提交于 2019-12-11 05:20:04
问题 I'm attempting to save each sheet in a workbook ( foo , bar , baz ) as a separate HTML document ( foo.html , bar.html , baz.html ): set theDirectory to (path to desktop as text) & "Output:" set theSource to choose file with prompt "Choose file:" default location "/Users/<user>/Desktop/" of type {"XLS", "XLSX"} tell application "Microsoft Excel" activate set theWorkbook to open theSource set theSheets to every sheet of active workbook repeat with theSheet in theSheets set theDestination to

OpenCV installed but not linked error message on OS-X Mavericks

元气小坏坏 提交于 2019-12-11 04:39:51
问题 When I give the following command brew install homebrew/science/opencv or brew install opencv I get the following message. Warning: opencv-2.4.7.1 already installed, it's just not linked Any idea how to fix this. I already have the following in the .bash_profile based on the links. Installing openCV 2.4.2 on Mac OS X 10.9 (Mavericks) export PYTHONPATH=/usr/local/Cellar/opencv/2.4.6.1/lib/python2.7/site-packages:$PYTHONPATH Linking Python with Open CV on Mac export PYTHONPATH=/usr/local/lib

'pip3 --version' failing with a SyntaxError

耗尽温柔 提交于 2019-12-11 04:08:51
问题 This all began when I set out to install the Requests library for Python 3 (I'm running on OSX Mavericks with Python 2.7.5 (installed by brew install python ) and 3.4.2 (installed by brew install python3 ). When I run pip3 --version (or anything related to the pip3 command) I see this: $ pip3 --version Traceback (most recent call last): File "/usr/local/bin/pip3", line 7, in <module> from pip import main File "/usr/local/lib/python3.4/site-packages/pip/__init__.py", line 11, in <module> from

How can I install and use latest Git on Mac OS X 10.9?

心已入冬 提交于 2019-12-11 03:43:47
问题 I downloaded Git 2.4.3 from sourceforge via http://git-scm.com/download/mac for my Macbook Pro OS X 10.9.5, then installed it. When I typed git --version into the terminal, this message appeared: xcode-select: note: no developer tools were found at '/Applications/Xcode.app', requesting install. Choose an option in the dialog to download the command line developer tools When I typed which git this appeared: /usr/bin/git . When I typed git version 2.4.3 this appeared: git version 1.9.5 (Apple

Upgrade vRaptor to 3.5.3 java.lang.NoClassDefFoundError: br/com/caelum/vraptor/validator/Validator

梦想的初衷 提交于 2019-12-11 01:58:51
问题 I have trouble when update my pom.xml for upgrade some jars, like vraptor and hibernate... My environment is, Web project, maven, tomcat 7, vraptor , jpa, osx mavericks, before update jars, all work's fine, after the update i got this error on start tomcat: SEVERE: Exception starting filter vraptor java.lang.NoClassDefFoundError: br/com/caelum/vraptor/validator/Validator at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java

Cuda Clang and OS X Mavericks

烂漫一生 提交于 2019-12-11 01:49:31
问题 I'm currently trying to build a Cuda project with Cmake on MacOS 10.9. My C and C++ compiler are gcc, but it seems that since Mavericks gcc and g++ links to clang, which is not supported by CUDA. Has anyone found a good solution to use the real gcc, or to make clang work without "dumpspecs"? 回答1: The issue with 10.9 is that gcc is actually clang. Please try latest CUDA toolkit and explicitely point NVCC to use /usr/bin/clang (nvcc -ccbin /usr/bin/clang). This way NVCC will know it's dealing

How to link in std C++ library on Mac OS X Mavericks?

醉酒当歌 提交于 2019-12-11 00:46:22
问题 I'm porting an application to OS X Darwin and am getting link errors with missing symbols like: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::find_last_of(char const*, unsigned long, unsigned long) const operator delete[](void*) typeinfo for std::runtime_error std::set_unexpected(void (*)()) std::exception::~exception() [...] I expect these should come from libstdc++ but I don't see how to link that in using clang. Here is my attempted link line and

Mavericks: library not found for -lwfdb

微笑、不失礼 提交于 2019-12-10 20:23:36
问题 Moving from 10.8 to 10.9 broke my WFDB installation, library not found for -lwfdb . This program #include <wfdb/wfdb.h> int main(void) { return 0; } errors on linking (since Mavericks, -I/usr/include has to be included, otherwise the compiler errors): 567 ~/ clang -I/usr/include c.c -o c -lwfdb ld: library not found for -lwfdb I've tried also adding -L/usr/lib (where libwfdb.10.5.20.dylib , libwfdb.10.dylib and libwfdb.dylib are located), but ld still can't find -lwfdb , Seems like Mavericks

Displaying two fullscreen windows on two monitors in Adobe AIR on Mac OS X (Mavericks)

半世苍凉 提交于 2019-12-10 20:08:12
问题 I'm on Mac OS X (Mavericks). Using Adobe AIR, I want to display separate fullscreen windows on each of my two monitors (builtin laptop retina display and external hdmi monitor). I'm able to get a fullscreen window on my main monitor and an almost fullscreen window on the secondary one. When I say 'almost', I mean that the window is fullscreen except for the space at the top where the menu bar would be (the desktop's background image is showing): At first I thought it was a problem with AIR

Can't find get-launch-1.0 from Gstreamer

孤者浪人 提交于 2019-12-10 19:18:03
问题 I'm running on an OSX Mac, I've Installed the various packages in GStreamer 1.5.1 found here: http://gstreamer.freedesktop.org/data/pkg/osx/ . Whenever I try to run a command with gst-launch I get -bash: gst-launch-1.0: command not found . Similarly I get an error trying to run gst-inspect . The framework is not present in the /System/Library/Frameworks folder after installation. Any suggestions? 回答1: If you want to run the commands you need to install it from command line: Search for all