I'm trying to compile a mex file to use socket connection within matlab. The problem is that it is always saying that I don't have sdk or compiler installed. But I have installed visual studio 2010 express, visual studio 2012 express, visual studio 2012 professional and nothing is changing the error. Also I have installed the sdk. Is there anything that I could try? The matlab version is R2012b and I'm using windows 7, 64 bits.
Thanks!
You can try gnumex, which lets you access the mingw compilers on Windows. It works with mingw-w64 which is the 64 bit version of mingw. You have to install the mingw compiler suite, then run gnumex in Matlab to tell it where mingw is and set it up.
I believe that Visual Studio 2012 is only supported on the latest R2013a. Use VS2010 for your MATLAB version.
In addition, the Express editions of VS do not contain 64-bit compilers. You need to either get the Professional edition, or download the free Windows SDK.
See the list of supported compilers for more information
You are asking how to compile the mex-file directly on the Matlab's command line.
An alternative would be to compile the mex-file from Visual Studio. You might be interested in my answer to
No C++ compiler found in MATLAB using mex
Have you run mex -setup to tell MATLAB which compiler you want to use?
See this page on Building MEX-Files for more information
May be this link wil be useful for you
http://support.brainvoyager.com/available-tools/52-matlab-tools-bvxqtools/339-how-to-get-a-64-bit-compiler-under-windows-to-use-with-matlab.html
Related
I am trying to export a FMU from windows machine using Dymola, to be used on both Linux and Windows OS. I guess such fmu will have linux64 and linux32 binaries along with win32 and win64 ones. However, I am not sure how to trigger Dymola to generate binaries for Linux runnable fmu (if it possible to do that).
The Dymola (2020X) installation is using Visual Studio 2019 compiler with both 'Desktop development with C++' and 'Linux development with C++' options. My assumption was that 'Linux development with C++' would make Dymola to compile .so files, however I see only dlls included in the fmu.
Unfortunately you cannot create Windows and Linux binaries for FMU:s in one operation. Great suggestion, though.
Are you using a network or nodelocked license? Maybe a dual boot/virtual machine could help.
When i compiled the code in VS-Code gives error -> Microsoft Visual C++ 14.0 is required
Installing twisted in (windows 10)
1: pip install python-twisted gives an error
Could not find a version that satisfies the requirement python-twisted (from versions: )
No matching distribution found for python-twisted
2: pip/pip3 install twisted
Failed building wheel for twisted
Running setup.py clean for twisted
Failed to build twisted
Note: There are two python versions installed in my PC But python command gives the actual version 3.7.2 an i am using it. Where the other one is 3.6.6 just residing in my disk
I have already installed visual studio along with python but working on visual studio code. It was good util this program!
I have tried 2 methods(mentioned u there) to install twisted and many other answers on stack overflow to resolve the issue.
I am following the kivy documentation and expecting it to work well
You have to install VC++14.0 compiler. You could download installer for Visual Studio 2017 or 2019, and ask for VC++2015 v14.0 to be installed.
This is how it looks in my VS 2017 installation. You might download just command line compiler as well, but I never tried it. Link to download https://visualstudio.microsoft.com/visual-cpp-build-tools/
I am trying to run EasyPHP on Windows 10 (64 bit) system. Initially the error was regarding msvcr110.dll missing, which I resolved somehow. Now its showing the error of 0xc00007b unable to start program correctly. I have tried to run the compatibility troubleshoot as well as run as administrator option. Its just not working. Any other effective solutions ?
This usually happens when you have mix of x86 and x64 libraries installed. You should probably uninstall all x86 versions of Microsoft Visual C++ Redistributables and install their x64 bit counterparts (just google them and make sure you download 64 bit version of that library).
We have got a solaris shared object(.so) compiled using sun studio creator[Sun C++ 5.10] (no access to source code).
I have to develop c++ application based on that solaris library in windows using ide's eclipse cdt/visual studio.
Preferably eclipse cdt.
Tried using Mingw not woring.
Can g++ from MinGW link to sun studio library.
I hope you aren't expecting something as simple as a linker flag ...
You have here incompatible formats (ELF vs PE), incompatible ABIs (Solaris vs Windows) and possibly incompatible machine code (SPARC vs x86 vs x64).
If the library is suitable for that, the "simplest" solution would be to create a helper service running on a Solaris server that expose the library function as RPCs, and consume them on Windows.
I am trying to connect to oracle database from c++ using OCCI, I am following these instructions from Mark Williams, But when I run my program it gives error as MSVCR90.dll is missing from your computer. I suppose its problem related to vc compiler maybe its trying to use vc10 and oracle dll searches for vc9 dll? The oracle version I am trying to connect to is 10g.
Is it possible to configure VS2010 to use VC9 instead of VC10?
I am using Visual Studio 2010 under Windows 7.
Indeed, the client application requires a different version of the MSVC runtime from what is installed on your computer. Msvcr90.dll is the Common Runtime library for Microsoft Visual C++ 2008. You will need to install this. (Note that for this version, it is no longer considered a shared system directory, so it installs as a Windows side-by-side assembly.)
You can install it by downloading the installers here or here: