My jupyter notebook gave errors when trying to run cython
The error was: Unable to find vcvarsall.bat
I spent a day reading about it and installed Windows Visual Studio 2019 as it was suggested to install visual studio. This did not help.
Installation of Visual Studio 2019 Build Tools and selecting C++ in the installer fixed the issue. In Anaconda 3 with python 3.7, cython works fine with visual studio c-compiler.
Related
I just installed WiX on my machine and then installed the extension for Visual Studio 2017. When I attempt to build the Product.wxs I get "Could not find wix.targets at ''" back. I can run a build from the command line using candle and light, but I need to be able to do this with VS. Is there a place I can configure Visual Studio to look for the wix.targets file. I'm guessing that is the problem since it looking at '' for the file.
Create a WiX v3 project not v4.
After follow this instruction, http://www.gamefromscratch.com/post/2014/09/29/Cocos2D-x-Tutorial-Series-Installation-Creating-a-Project-and-Hello-World.aspx
_Download and setup cocos
_Run cocos new -l cpp -p com.gamefromscratch.helloworld -d E:\4-Project\cocos\projec\helloworld helloworld
_Open visual studio solution inside proj.win32 folder.
I open cocos via visual studio on my windows 7 x64, and visual studio tell me that cocos2d namespace is ambigious. I tried to run the same project with same visual studio on windows 10, the problem disappeared. Althought project can still be run and debug perfectly fine, those red line still keep coming.
Here is my visual studio and config ( default of cocos)!
If I'm not wrong the cocos2d namespace is the "USING_NS_CC" macro and is in the HelloWorld .cpp file, you have a syntax error in the header file, to correct it:
class HelloWorld : public cocos2d::Layer
{
...
}
To create a cocos2d project and work on a desktop platform like Windows is very simple as long as you have at least the following:
Visual Studio 2012 (for Windows)
Python 2.7.5
After downloading cocos2d-x, you should open the command line (CMD) and paste the following:
python
"C:\Users\User\Downloads\folder-cocos2d-x\tools\cocos2d-console\bin\cocos.py"
new MyGame -d "C:\Users\User\Documents" -l cpp
Replacing a valid route will of course take a few minutes to create your new project
Documentation
After serveral hour unsuccess. I finally installed c++ resharper and disable visual studio IDE. The problem finally gone!
I'm trying to install BIDS Helper, for use on Visual Studio 2015. The most recent pack, posted in May 2015 on Codeplex, does not appear to be compatible with VS 2015. After downloading it to my Program Files, I get a bunch of DLL files, but no installation files (the prompt said it should have been auto added, during the download). Am I missing something?
In Visual Studio 2015 (and above once we support them) you can install BIDS Helper from the Visual Studio Gallery as described here.
I have already tried uninstalling and reinsalling Visual C++ Redistributable and also installed all windows updates.But the problem still persists.Please help
I have previously given up on installing OpenCV on my Windows 7 PC but now it has come back to haunt me, this time I'm trying to build its libraries using Visual Studio Community 2015.
I have tried finding a decent procedure on how to install it but they all sound simple until you encounter tons of errors when building ALL_BUILD in VS.
Here's what I did:
Downloaded the OpenCV 3.1 installer
Ran the installer and installed OpenCV in C:\
Added the OPENCV_DIR environment variable pointing to C:\opencv\build
Opened cmake-gui and set the source and build folders to C:\opencv\sources and C:\opencv\build, respectively
Clicked Configure, unchecked WITH_VTK option, clicked Configure again, then clicked Generate
Opened the generated solution file in C:\opencv\build
Right-clicked on the ALL_BUILD project and clicked Build
Only 11 projects were successfully built and 79 failed. The procedure they have on the OpenCV website is so outdated that it made me give up a long time ago. And there are several other resources that give equally confusing instructions.
Your help will be appreciated!
Upon further investigation, I saw this error frequently generated through build:
nvcc fatal : nvcc cannot find a supported version of Microsoft Visual Studio. Only the versions 2010, 2012, and 2013 are supported
This is caused by CUDA not supporting Visual Studio 2015 yet. So, I unchecked WITH_CUDA in cmake-gui, clicked Generate, opened the generated OpenCV solution file and built ALL_BUILD. No errors were generated after that.