I have installed Windows on a virtual machine to debug a game i'm developing primarily on Linux (I haven't used Windows since i was 9 years old). I use CMake to build it, and i have installed LLVM+CLang for compiling. CMake complains about a missing "RC Compiler" which i cannot find to install anywhere on the web. The error thrown is "No CMAKE_RC_COMPILER could be found." What should I do?
Related
I installed mingw and checked it in cmd by writing c++ --version it runs sucessful but whenever i open my codelite it says could not locate any mingw on your machine i have tried reinstalling both mingw and codelite few times nothing works someone please help me
Tried scanning mingw compiler on codelite but it could not locate mingw and it(mingw) is already installed in my machine and running too help me please
I don't know much about this IDE but this link is probably what you are looking for.
https://wiki.codelite.org/pmwiki.php/Main/AddNewCompiler
Since the scan failed you will have to manually add the path to your compiler in codelite. The compiler will most likely be in the mingw folder under the name 'g++.exe'.
I have a problem with cmake after I installed a new SDK 10 version (now it should be 10.0.10586.0). But when I run cmake cmakelists.txt, I got this error message:
-- Building for: Visual Studio 14 2015
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:2 (project):
No CMAKE_C_COMPILER could be found.
I googled a while but could not find the right answer. My problem is that I can use VS2015 to build my application (old projects) using the new SDK. Everything seems to be fine. But cmake will try to build one small generated project (CompilerIdCXX.vcxproj). But in this project, SDK 8 is used (which is not available in my system anymore).
Could you help me, many thanks in advance
Problem solved (sorta of), I have to reinstall an older version of SDK10 aside from the version 10.0.10586.0. It is weird that uninstalling the older version had somehow damaged the environment.
I'm trying to install NaoQI C++ SDK on Windows following the instructions in http://doc.aldebaran.com/2-1/dev/cpp/install_guide.html.
I got stuck in Part E. Step.3, when running qibuild make. At first, it gave error messages similar to this question: https://community.aldebaran.com/en/forum/error-occurred-when-building-prodect-hellworld-1176.
After I added add_definitions("-DNOMINMAX") to CmakeLists.txt as suggested, the error message becomes:
LINK : fatal error LNK1104: cannot open file 'c:\NaoQi\Devtool\naoqi-sdk\lib\boost_signals-vc100-mt-gd-1_50.lib'
I cannot find any file called boost_signals-vc100-mt-gd-1_50.lib in naoqi sdk. I guess it should be compiled automatically when running qibuild configure or qibuild make but somehow it didn't.
The SDK version is naoqi-sdk-2.0.2.53-win32-vs2010, and OS is Windows 8.1(x64).
With Visual Studio 2010, CMake 2.8.10, qibuild 3.6.2 and Python 2.7.8.
I don't know if it makes any difference, but when running "qibuild configure", I'm getting following messages:
— Looking for include file pthread.h
— Looking for include file pthread.h – not found
I checked PTHREAD_INCLUDE_DIRS which is c:/NaoQi/Devtool/naoqi-sdk/include and pthread.h is under this path.
Solved it!
If anybody wants to know, here is how I solve it.
Compile your own boost library and copy them into naoqi-sdk/lib.
Open the VisualStudio solution file and change the configuration to release mode.
The Windows version SDK doesn't have debug version ALCOMMON, ALPROXY and ALVALUE libraries. That's why the debug mode doesn't work.
I have looked at various questions and other websites regarding this. I'm not able to find and proper solution
I have downloaded Eclipse which came along with the Android Development Tools. I'm using the the same eclipse for running java programs. Now that i want to run C/C++ programs,
I downloaded and installed the CDT plugin for eclipse.
Then I downloaded minGW, set the environment variable "Path" under system variables to the "bin" directory of minGW
But when I run the program, it gives and Error "Launch Failed. Binary not found."
Please help me resolve this issue
Thank you
First of all, I know that this question already exists multiple times in Stackoverflow but the answers provided for all of them didn't solve my issue(See section "Solutions worked for others" at the end of this question).
I am using the Eclipse IDE(Juno) with CDT plugin and Cygwin installed in my Windows-7 64-bit platform.
I successfully compiled and run the Hello World 'C' program but the Hello World "C++ program" is having Launch failed. Binary not found error.
I am also having recipe for target project.exe failed error in my auto-generated makefile.
Error line in makefile: #echo 'Building target: $#'
Additionally:
In c/c++ build -> toolchain editor ->
Current toolchain : Cygwin GCC
Current Builder : Gnu Make Builder
Used Tools:
GCC Assembler,
GCC Archiver,
Cygwin C++ Compiler,
Cygwin C Compiler,
Cygwin C Linker,
Cygwin C++ Linker.
When I change Current Builder from "Gnu Make Builder" to "CDT Internal Builder" the recipe for target project.exe failed error disappears but the Launch failed. Binary not found error still exists.
And also I dont have MinGW installed.
Solutions worked for others :
Before running the project directly using the run command, first Build the project and then run.
I build the project every time before I run it.
Eclipse can't find or point to an .exe file but the exe file runs fine when run from windows explorer and the answer to it is add -arch i386 to miscellaneous under linker.
My build runs without error but not creating the exe file. So this doesnt apply to me
Project->Properties->C/C++ Build->Settings->Binary Parsers
set "Cygwin PE Parser" and/or " PE Window Parser" and alike.
Tried all of them with different combinations but did not work
I also did :
adding the cygwin install dir to the path variable
added all the includes folders needed for cygwin for both GNU C and GNU C++ in Paths-and-Symbols -> includes
Saved the project before building and then running
restarted eclipse again
checked if g++ is installed using which g++ in terminal
and so on.
What could be a fix to this problem? Or do I have to install MinGW (I tried already to install MinGW with the installer.exe they provided and it failed on downloading the files several times) and try again.
I couldn't find the solution. Please show me what am I missing here.
Thanks in advance.