Issue with CMake setup in Visual studio - visual-studio

love to get some help regarding an issue with the Cmake extension in VScode that im hoping someone has experienced before, I'm driving myself mad on this small error. I am completely new with VScode so please let me know if you need more infomation, anyway the error when i try to build is;
Bad CMake executable “”. Is it installed or settings contain the correct path (cmake.cmakePath)?
I am using windows and have tried adding the Cmake location to my path, even tried on another laptop but nothing is working. Any help would be amazing.
Cheers.

Related

Downloaded vscode from microsoft store and added gcc to my system but this error is endless.I cant find anything related im a newbie to vs code

'--stdin=Microsoft-MIEngine-In-hrfttbtn.mmd' '--stdout=Microsoft-MIEngine-Out-gka2czk5.mqa' '--stderr=Microsoft-MIEngine-Error-hsnnph0t.o2d' '--pid=Microsoft-MIEngine-Pid-tbum3xkd.daz' '--dbgExe=C:\MinGW\bin\gdb.exe' '--interpreter=mi'
i reinstalled vs code and gcc removed entire complier from my system but it didnt work as i thought it will work please help with this problem

why can't i compile in visual studio?

All that shows up when I press Build is this, could someone explain why this is happening and how to fix it? I can't find this problem mentioned anywhere else.
I have the latest version, I haven't tried anything, because I honestly don't know what I can do to try to fix this. I can't find anyone else with the same problem. I have another project that can compile perfectly fine, and it was made in the exact way I made this one, so I can't figure out why this is happening.

VS2015 F# compilation error Microsoft.Common.CurrentVersion.targets

Please help !!!!
I don't know how it exactly happened, but my VS2015 looks f*cked up and I can't compile my projects anymore...
I just remember excluding by mistake a .fsx file from the project in solution explorer and tried to reinsert it again
but maybe this isn't the cause, and its due to some automatic update ?
when i compile my program i get this error
I tried creating a new project, reinstalling Nuget packages in the new project, copied/pasted the old source .fs files into new files in the new project, but i still get the error
i don't think it has anything to do with Seq.tail, anything other program will have something underlined as well, but the Microsoft.Common.CurrentVersion.targets warnings remain
I'm thinking about reinstalling everything but will it solve the problem ???
I feel really desperate... Thanks very much to anyone who can help

Code keeps breaking no matter what I try

Ive been trying to get my very simple code that I posted here: SiftFeatureDetector .detect function broken? to work.
But it keeps breaking, it compiles fine but refuses to run.
I have OpenCV 2.4.2, Windows XP.
Here is what I have done:
I first tried it on Visual C++ 2010 with OpenCV 2.4.2, I have added all the libraries included in F:\opencv\build\include along with the non-free ones I have also linked the bin folder in linker: F:\opencv\build\x86\vc10\lib
But it continues to break at that same line. It is very frustrating as Aurelius mentioned my code worked on his machine.
I then took out my second laptop and installed codeblocks on it, I linked all the correct libraries and dll files but it gives a different error:
the procedure entry point __gxx_personality_v0 could not be located in the dynamic link library libstdc++-6.dll
Can anyone PLEASE help me fix this issue, its been 3 days now and i dont feel Im near a solution. Its so frustrating when my code is ok but the application refuses to work. Its obviously some wrong setting. Please help me fix this.
Thank you
I would like to mention that simple programs like displaying an image, itterating over pixels, changing color and detecting a color works fine, its this sift that is causing the problem
There are many similiar topics on stackoverflow like libstdc++-6.dll not found
Google: https://www.google.pl/search?q=libstdc%2B%2B-6+opencv&sugexp=chrome,mod=9&sourceid=chrome&ie=UTF-8
To sum it up as it says about different problems.
First of all you are using downloaded builds. This builds can be done with different compilator version than yours and it's probably the issue.
Solution: compile OpenCV on your computer, link those libs and use dlls then everything should work

MSBuild error with linked files

When I use msbuild I get the following error:
CS2001 Source file could not be found.
I have noticed the only files that I get this error for are used as a linked reference to the file, so this could be the issue. Any idea's how to get them to build?
I should add that I am able to build the solution in visual studio without a problem.
Hi everyone! Just want to let anyone who cares know what the problem was. It was a length issue as I stated in my comment. I changed the path to just my c drive and everything built fine. Thanks to everyone who took the time to look at this for me. I appreciate it.
Just want to let anyone who cares know what the problem was. It was a length issue as I stated in my comment. I changed the path to just my c drive and everything built fine. Thanks to everyone who took the time to look at this for me. I appreciate it.

Resources