osx-mavericks

CGAL: How can I successfully compile and link CGAL examples (on Mac OS X 10.9 Mavericks)

别来无恙 提交于 2019-12-02 17:11:32
问题 I found the CGAL examples not to compile under Mac OS X 10.9 (Mavericks). You can compile the main CGAL 4.3 library successfully and also link with it, but when using certain types of the library, I am receiving errors as shown below. Specifically, I was interested in using the example Surface_reconstruction_points_3 , which I tried to build initially, receiving this error: Linking CXX executable poisson_reconstruction Undefined symbols for architecture x86_64: "CGAL::File_writer_OFF::write

gdb 7.7 does not step-in on OS-X Mavericks with gcc4.7.3 (Macports)

我是研究僧i 提交于 2019-12-02 16:50:12
问题 Here is a simple program: #include <iostream> #include <vector> namespace Example { template <int dim> class Problem { public: void run() { std::cout<<"here.."<<std::endl; } }; } int main(int argc, char *argv[]) { Example::Problem<2> problem; problem.run(); return 0; } compiled with Macport's gcc 4.7.3: g++-mp-4.7 -g -O0 prog.cc -o prog If I try to debug in gdb 7.7 ( self-compiled , not Macport's one!): $gdb file prog b main r s I can't step-in the function : 34 problem.run(); (gdb) s here..

OSX Mavericks - BIND no longer installed… how to get local DNS server working?

拈花ヽ惹草 提交于 2019-12-02 16:45:01
I have always used BIND on OSX to provide a local DNS resolver for my local development machines, particularly to facilitate virtual machines accessing my local dev environment. Foolishly I decided to upgrade to OSX Mavericks overnight and it appears BIND is no longer installed - even when the command line developer tools are added. Anyone have a suggestion of how to restore this functionality, or if the latest OSX has an alternative DNS solution in place? Thanks, Steve You can install bind with Homebrew: http://brew.sh/ Installing Homebrew and using it to installing bind seems the best route.

Alert“Developer tools access needs to take control of another process for debugging to continue.Type your password to allow this.”

拥有回忆 提交于 2019-12-02 16:44:05
I am using OS X Mavericks with Xcode 4.6.3. I am running the app on simulator as i don't have a developer account. Whenever i run the project on simulator it keeps asking me "Developer tools access needs to take control of another process for debugging to continue. Type your password to allow this". The same issue i also experienced on OS X Mountain Lion with Xcode 4.6.2, so its definitely not related to the OS Version or Xcode Version. I have gone through Stackoverflow's issue related threads,Q&A. Thanks The first time you launched XCode, it probably asked you if you wanted to enable

pecl installs for previous php version

匆匆过客 提交于 2019-12-02 16:20:54
I've upgraded my MacBook to Mavericks and ruined my development environment. The problem I have right now is that my pear/pecl still tries to install for my previous (5.3) version of PHP instead of version 5.4. PHP version: $ php -v PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38) Copyright (c) 1997-2013 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans Pear $ pear version PEAR Version: 1.9.4 PHP Version: 5.4.17 Zend Engine Version: 2.4.0 Running on: Darwin MBP-retina.local 13.0.0 Darwin Kernel Version 13.0

NSSharingService to send email and read email body

时光毁灭记忆、已成空白 提交于 2019-12-02 16:09:50
问题 I am using NSSharingService to bring up an email compose window in the Mail app: NSSharingService* sharingService = [NSSharingService sharingServiceNamed:NSSharingServiceNameComposeEmail]; [sharingService setRecipients:@[@"test@blahblah.com"]]; [sharingService setSubject:@"Test"]; sharingService.delegate = self; It brings up the compose email window fine, and when I enter in some text and actually send the email, I even get a callback to the delegate: - (void)sharingService:(NSSharingService

Maven not found in Mac OSX mavericks

你离开我真会死。 提交于 2019-12-02 14:48:14
After upgrading my Mac OSX 10.8 to 10.9, Maven not found in the /usr/share path but its installed in 10.8. when I try this command: $ maven -version got this result -bash: mvn: command not found but it worked fine on 10.8? Any idea? Maven is not installed any more by default on Mac OS X 10.9. You need to install it yourself, for example using Homebrew . if you don't want to install homebrew (or any other package manager) just for installing maven, you can grab the binary from their site: http://maven.apache.org/download.cgi extract the content to a folder (e.g. /Applications/apache-maven-3.1.1

How to stop apache permanently on mac Mavericks?

余生颓废 提交于 2019-12-02 14:03:19
I'm trying to install zend server on mac and need to uninstall the apache server that is auto included with Mavericks so that the Apache server included with Zend is used instead. Can it be prevented from running on startup or permanently removed? Try this: sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist This will stop a running instance of Apache, and record that it should not be restarted. It records your preference in /private/var/db/launchd.db/com.apple.launchd/overrides.plist . try this sudo killall httpd it will stop all If you got to this page as I did and

How to add platform android (cordova) on Mac

让人想犯罪 __ 提交于 2019-12-02 13:24:54
问题 i have follow the instructions.phonegab docs and How to add android to cordova platform? PATH error? my .bash_profile: export PATH=/usr/local/bin:$PATH export PATH=$PATH:~/Development/adt-bundle-mac-x86_64-20140321/sdk/platform-tools export PATH=${PATH}:~/Development/adt-bundle-mac-x86_64-20140321/sdk/platform-tools:~/Development/adt-bundle-mac-x86_64-20140321/sdk/tools [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* eval "$

CGAL: How can I successfully compile and link CGAL examples (on Mac OS X 10.9 Mavericks)

筅森魡賤 提交于 2019-12-02 11:43:52
I found the CGAL examples not to compile under Mac OS X 10.9 (Mavericks). You can compile the main CGAL 4.3 library successfully and also link with it, but when using certain types of the library, I am receiving errors as shown below. Specifically, I was interested in using the example Surface_reconstruction_points_3 , which I tried to build initially, receiving this error: Linking CXX executable poisson_reconstruction Undefined symbols for architecture x86_64: "CGAL::File_writer_OFF::write_header(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, unsigned long, unsigned long,