I am really new to using macintosh, Kinect and sensors and I am trying to install drivers of Kinect Xbox on my mac OS X Yosemite v. 10.10.5 and I found out that I should install OpenNI, SensorKinect and NITE. I am trying first to install some libraries, so as to move on with the installation, using the command: sudo port install libtool.
However, when I type it, what I take is this:
sudo: port: command not found.
I have also tried to check my PATH, but it didn't help.
I have searched everywhere I could to find out why this happens, but I didn't manage to find an answer. Could you please help me?
I solved it using sudo /opt/local/bin/port install wxWidgets-3.0
Related
I am trying to install homebrew on windows and still searching many ways to do it.
As they said to me on the homepage, homebrew support windows 10, and I can install it.
But I can not find any way to install it on the internet.
Could you please give me some codes or some way to install homebrew to windows ?
Thank you very much.
This article seems to provide a decent guide to setting up the Linux subsystem in Windows 10.
So I've been searching everywhere and I'm completely stuck right now. Initially I just installed the binaries which came with luarocks.exe and luarocks_admin.exe but with that there was no config file so when I go to install the luarocks-mysql module, luarocks was unable to find the lua library and said I needed to set the LUA_LIBDIR variable in the config. I can't make changes to the luarocks config though because it either doesn't exist or I can't find it.
After getting this problem I went back to install the luarocks all in one package but I'm unable to follow the instructions because I can't find the install.bat file that they were talking about. Sorry if this is a lot but I'm just running into a bunch of problems right now.
EDIT: Just use Ubuntu, it's 100 times easier.
I had similar problems. I didn't look for a solution and just installed wsl on windows 10.
https://learn.microsoft.com/en-us/windows/wsl/install
Then execute the commands in the console:
sudo apt install lua5.3 liblua5.3-0 liblua5.3-dev
sudo apt install luarocks
I'm trying to install Opencv 3.2.0 and Nvidia CUDA toolkit 8.0 on Ubuntu 16.04 but I can't configure them together. I get the following error when I try to make project using both:
CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find CUDA: Found unsuitable version "8.0", but required is exact
version "7.5" (found /usr/local/cuda)
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:386 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.5/Modules/FindCUDA.cmake:949 (find_package_handle_standard_args)
/usr/local/share/OpenCV/OpenCVConfig.cmake:86 (find_package)
/usr/local/share/OpenCV/OpenCVConfig.cmake:105 (find_host_package)
CMakeLists.txt:10 (find_package)
-- Configuring incomplete, errors occurred!
I have tried installing cuda toolkit 7.5 but its not compatible with ubuntu 16.04 I believe. I'm really clueless now, I hope someone can help with this.
Thanks
so I solved this issue by managing to install toolkit 7.5. Here is how I did it:
Updated nvidia driver for my Operating System
Download cuda toolkit 7.5 and extract it to a folder
$ mkdir ~/Downloads/NVIDIA_TOOLKIT
$ cd ~/Downloads
$ ./cuda_7.5.18_linux.run -extract=~/Downloads/NVIDIA_TOOLKIT;
go to the virtual console by pressing Ctrl + Alt + F1 and turn off
lightdm service
$ sudo service lightdm stop
cd to downloads and install the extracted toolkit and samples
$ cd ~/Downloads/NVIDIA_TOOLKIT
$ sudo ./cuda-linux64-rel-6.0.37-18176142.run
$ sudo ./cuda-samples-linux-6.0.37-18176142.run
Set environment variables in .bashrc file
$ PATH=/usr/local/cuda-7.5/bin
$ LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64
Turn back on the lightdm service
$ sudo service lightdm start
Reboot and you should be able to use the nvcc compiler
For openCV you will have to downgrade your gcc/ g++ compiler to 4.9 since it is not yet compatible with the higher versions
I upgraded my mac to Sierra and I can't install qt. I wrote "brew install qt" and I received the message below. Do you have any recommendations?
"This formula either does not compile or function as expected on macOS
versions newer than El Capitan due to an upstream incompatibility.
Error: An unsatisfied requirement failed this build."
if you really need qt4, you can try
brew install cartr/qt4/qt
I was able to sucessfully work around this on a fresh install of Sierra this evening.
It looks like qt.rb will execute just fine on MacOS Sierra, you just need to remove the Maximum OS requirement entry to allow it to run.
This is what was required on my machine.
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/qt.rb
Comment out line 36 as follows
#depends_on MaximumMacOSRequirement => :el_capitan
I am curious if this works for others.
Thanks
Searching with
brew search qt
you can see there is a QT5
brew install qt5
According to https://github.com/Homebrew/homebrew-core/issues/1957#issuecomment-225806023 there will be no support for qt(4)
Qt4 is not supported anymore; users should upgrade to Qt5. Homebrew backported a fix for 10.11 but doesn’t intend to maintain this forever. There’s currently a pull-request that may fix that. You’ll have to wait for it to be merged if you want to install Qt4 with Homebrew.
install qt4
Please note: Qt4 is unsupported by its creators, so there are likely security/usability problems with it that will never be resolved. If you can, please consider migrating your projects to Qt5.
resource : https://github.com/cartr/homebrew-qt4
brew tap cartr/qt4
brew tap-pin cartr/qt4
brew install qt
I'm trying to install a library on my mac and one of the requirements of this library that I should install MPICH and ensure that the system paths are configured to point to it instead of the default OpenMPI installation.
So I installed MPICH2 using macport and I want to make sure that the system is using that one, how can I do that?
You need to do it the same way you would with any other library/program. Set your LD_LIBRARY_PATH and PATH variables appropriately so that the MPICH path is in front of Open MPI.
However, I would point out that on Mavericks, I don't think Open MPI is still distributed as part of the operating system anymore.
You're also welcome to use Homebrew to install MPICH. The MPICH project has moved on from being called MPICH2 since it went to version 3.0. The latest version is 3.1.2. You can either download it and install it yourself at www.mpich.org/downloads or via Homebrew on Mac. I believe it's also in Macports but I don't know enough about that.
It should have given you directions on completion of the install. Use 'port notes mpich-default' (assuming mpich-default is what you installed) to see them again. They will be something like; 'sudo port select mpich mpich-default-fortran'.
Use 'mpicc -show' and make sure it looks correct after the above command to verify your PATH is correct.