SFML community forums
Help => General => Topic started by: sasquatch on December 16, 2011, 10:25:38 pm
-
[I got answer to this question, and I changed topic to suit my second question]
Hi.
Im just begginer in programming stuff, so probably I will ask some silly questions, but unfortunetly i spent lot of time trying to figure it out and nothing helped.
I was trying to make files for VS2010 with CMake. Everything was going fine. Then I accidentaly deleted some files, so I decided to make all again. But when im trying to configure my CMake i get that error:
The C compiler identification is unknown
The CXX compiler identification is unknown
Check for working C compiler: bcc32
CMake Error: your C compiler: "bcc32" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
Check for working C compiler: bcc32 -- broken
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):
The C compiler "bcc32" is not able to compile a simple test program.
It fails with the following output:
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:11 (project)
CMake Error: your C compiler: "bcc32" was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: "bcc32" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
Configuring incomplete, errors occurred!
I was thinking that maybe I change something accidentaly, so I reinstalled CMake, and redownloaded SMFL 2.0 files. Still same error...
I hope you can help me a bit, cause its depressing.
Tom
-
Delete your cache.
-
[Delated previous question].
I gone back to C::B, as SFML works fine with that. I got another error, that I was googling about for quite a time and there is no answer. I have this code:
#include <iostream>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
using namespace sf;
int main()
{
sf::String Text("Hello SFML");
return 0;
}
and it gives me error:
Undefined reference to 'sf::Unicode::Text::Text(char const*)'
||Info: resolving vtable for sf::String by linking to __imp___ZTVN2sf6StringE |
I have no idea what to do with it... I linked proper libraries. What is going wrong?