Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [SOLVED] - cmake issue - Ubuntu - SMFL2-Snapshot  (Read 4707 times)

0 Members and 1 Guest are viewing this topic.

aNewHobby

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Live 4 Ever Or Die Trying
[SOLVED] - cmake issue - Ubuntu - SMFL2-Snapshot
« on: May 04, 2012, 10:39:57 am »
I am getting this error.. any ideas?

Quote
cmake -G "Unix Makefiles" -D CMAKE_BUILD_TYPE=Release -D BUILD_SHARED_LIBS=TRUE .
-- The CXX compiler identification is unknown
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at cmake/Config.cmake:62 (message):
  Unsupported compiler
Call Stack (most recent call first):
  CMakeLists.txt:20 (include)


-- Configuring incomplete, errors occurred!

I was following the tutorial here...
http://sfmlcoder.wordpress.com/2011/08/16/building-sfml-2-0-with-make-for-gcc/

And have all the libraries installed and have run all the apt-get stuff from this page....
« Last Edit: May 04, 2012, 11:03:56 am by aNewHobby »
Twitter: @Jyinkies
My Own Little Spot on the Net: - Live4everOrDieTrying.info (Blog)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: cmake issue - Ubuntu - SMFL2-Snapshot
« Reply #1 on: May 04, 2012, 10:59:18 am »
Do you have g++ properly installed?
Laurent Gomila - SFML developer

aNewHobby

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
    • Live 4 Ever Or Die Trying
Re: cmake issue - Ubuntu - SMFL2-Snapshot
« Reply #2 on: May 04, 2012, 11:03:27 am »
Do you have g++ properly installed?

I believe so.... but I was just coming back to close this thread... I found a fix....

Quote
sudo apt-get install build-essential checkinstall

run this to install "build-essentials" and then the rest of sfml-coders instructions seam to work fine.
Twitter: @Jyinkies
My Own Little Spot on the Net: - Live4everOrDieTrying.info (Blog)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: [SOLVED] - cmake issue - Ubuntu - SMFL2-Snapshot
« Reply #3 on: May 04, 2012, 11:10:05 am »
So you were trying to compile and use SFML without first having a working programming environment. Looks like you're doing things in the wrong order ;)
Laurent Gomila - SFML developer

 

anything