osx-yosemite

Problems with apache MAMP 3 and Yosemite

橙三吉。 提交于 2019-12-14 02:43:30
问题 I've just installed the new Mac's operative system (Yosemite) but now I have problems to set up apache with MAMP Version 3.0.6. Someone know if there is a conflict with MAMP and Yosemita? How can I solve this problem because I don't want to install other server? 回答1: I just upgraded to Yosemite as well and MAMP SQL/Apache servers wouldn't start. Installed MAMP 3.0.7.1 and the servers start now. Upgrade MAMP and you should be good to go. 回答2: I do not know whats up with mampp, but xampp has

OS X Yosemite Javascript for Automation and iTunes

梦想的初衷 提交于 2019-12-13 21:30:34
问题 I'm trying to click on button "Free" to download application in iTunes. I'm using Javascript for Automation to open iTunes application page: itunes = Application('iTunes'); itunes.activate(); console.log( itunes.name() ); console.log( itunes.version() ); delay(1) appUrl = "itms://itunes.apple.com/us/app/ibooks/id364709193?mt=8"; win = itunes.openLocation(appUrl); The script opens iBook page. How to find and click button "Free"? How to list all elements on open page? Thank you for any help.

AppleScript: Error thrown when trying to read UI elements enabled

倾然丶 夕夏残阳落幕 提交于 2019-12-13 17:47:00
问题 If I run the following from Terminal osascript -e 'tell application "System Events" to get UI elements enabled' I get "true" or "false" as expected But if I were to create a file with the following contents; #!/usr/bin/osascript on supportsAssistiveDevices() tell application "System Events" set isEnabled to UI elements enabled return isEnabled as boolean end tell end supportsAssistiveDevices log supportsAssistiveDevices() and run it via ./myfile , I get the following error; ./hasguiscript:87

Cmake on OSX Yosemite 10.10.3 - GLEW: package 'gl' not found

风格不统一 提交于 2019-12-13 17:35:58
问题 A while ago I decided to learn and delve myself in Cmake and ran into some annoying issues. Following some tutorials (involving opengl and glew), I built a basic application that ran fine on a windows emulated machine but at a specific moment, emulation wouldn't just do the trick anymore and I switched to Xcode and also Cmake. So I set up a basic folder structure: build CMakeLists.txt inc lib src lib folder includes the folders: glew glfw Which are unzipped straight from their original

Multiple Eclipse IDE apps don't show up on Launchpad

半腔热情 提交于 2019-12-13 16:06:05
问题 I need help with Eclipse IDE on Launchpad. I have the Mac OS X Yosemite and I've downloaded Eclipse IDE Java, PHP and C/C++. After I extracted and dragged and dropped the Eclipse IDE Java into my Applications, it shows up on Launchpad. But then when I extracted, dragged and dropped Eclipse IDE Java into my Applications, the app doesn't show up on Launchpad, and the same would be for the C/C++ as well. I have Java SE 6 installed, but reviews online doesn't help me I would really like to have

Rails server not visible on network after Yosemite upgrade to 10.10.3 on WiFi

白昼怎懂夜的黑 提交于 2019-12-13 05:48:21
问题 I have a rails server running on my machine that was available to the local network, everything worked fine and i could access my server from other devices using the local dress 192.168.x.x:3000, after the updating the os to 10.10.3 (i had Yosemite before but i can't remember the version) this no longer works, my firewall is disabled and i've tried to start the server using "rails server --binding=0.0.0.0" but it is still not visible for other devices on the network. EDIT: i now see that the

vtk build mac os x 10.10 , no rule to make target '…libpython2.7.dylib'

半城伤御伤魂 提交于 2019-12-13 03:55:27
问题 I am trying to build this code on Mac OS X 10.10 with vtk-6.1.1. After "cmake" I run "make" and it delivers me the following error: Scanning dependencies of target ReadDICOMSeries [100%] Building CXX object CMakeFiles/ReadDICOMSeries.dir /ReadDICOMSeries.cxx.o make[2]: *** No rule to make target `/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib', needed by `ReadDICOMSeries.app/Contents/MacOS/ReadDICOMSeries'. Stop. make[1]: *** [CMakeFiles

Compiling WxWidgets on Mac OSX 10.10

£可爱£侵袭症+ 提交于 2019-12-13 03:46:52
问题 I'm trying to compile WxWidgets 3.0.2 on my mac OSX 10.10 and I get the following message: Blockquote ... ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [/Users/.../wxWidgets-3.0.2/build_rel/lib/libwx_osx_cocoau-3.0.0.2.0.dylib] Error 1 I'm compiling using these flags ../configure --with-osx_cocoa --with-macosx-version-min=10.7 --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms

Opening a window for status bar OS X 10.10 application

拈花ヽ惹草 提交于 2019-12-13 02:39:35
问题 I'm developing a status bar OS X application with Swift 1.2 and storyboards. My application doesn't have an initial controller because I don't want any windows to be displayed when the app is being launched. But, I need to open a preferences window if the app hasn't been configured. How do I do that properly? Now I'm doing that with NSPopover , but that's an ugly solution and doesn't provide a good UX. Is there a way to open a window, a view controller, if an application doesn't have an entry

Unable to install JRE8/JRE7 on OS X Yosemite

半世苍凉 提交于 2019-12-13 02:33:30
问题 I downloaded JRE8 from the Oracle site ( jre-8u25-macosx-x64.dmg ). Then I opened dmg and run the installation. The installation progress started, but then the following error occurred: The installation failed. The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. The same error if I try to install JRE7. I also tried to download jre-7u71-macosx-x64.tar.gz and unpack it, but after that Java refused to work correctly. java