• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 42 43 44 45 46 ... 1174 Next »

C & CXX compiler identification is unknown when using cmake .. - Linux Mint
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
C & CXX compiler identification is unknown when using cmake .. - Linux Mint
04-21-2021, 08:26 AM
#1
noooooooob Offline
Junior Member
**
Posts: 4
Threads: 2
Joined: Apr 2021
Sad 
I'm using Linux Mint Cinnamon 4.8.6 and I'm trying to build Dolphin in the terminal because I was unable to use
Code:
sudo apt-add-repository ppa:dolphin-emu/ppa
because it said 'PPA was not found'

What I'm getting when I'm using cmake in the terminal of my system is.

Code:
cmake ..
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:5 (project):
  The CMAKE_C_COMPILER:

    clang

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:5 (project):
  The CMAKE_CXX_COMPILER:

    clang++

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/local/dolphin-emu/Build/CMakeFiles/CMakeOutput.log".
See also "/home/local/dolphin-emu/Build/CMakeFiles/CMakeError.log".
I don't know if this was the correct place to post this but I really need help. I've been trying for fix this issue for about an hour or so and decided to post about it on the forums. Thanks in advance.
Find
Reply
04-22-2021, 02:23 AM
#2
KHg8m3r Online
Doesn't sleep, just Dolphin and Robots
*******
Posts: 5,821
Threads: 4
Joined: Sep 2013
Linux Mint Cinnamon is based on Ubuntu, so on the Building Dolphin on Linux page, make sure you run the command to install all the dependencies you need
Find
Reply
04-22-2021, 03:45 AM (This post was last modified: 04-22-2021, 04:25 AM by noooooooob.)
#3
noooooooob Offline
Junior Member
**
Posts: 4
Threads: 2
Joined: Apr 2021
(04-22-2021, 02:23 AM)KHg8m3r Wrote: Linux Mint Cinnamon is based on Ubuntu, so on the Building Dolphin on Linux page, make sure you run the command to install all the dependencies you need

After installing all the dependencies and then using
Code:
cmake ..
I get
Code:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:5 (project):
 The CMAKE_C_COMPILER:

   clang

 is not a full path and was not found in the PATH.

 Tell CMake where to find the compiler by setting either the environment
 variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
 the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:5 (project):
 The CMAKE_CXX_COMPILER:

   clang++

 is not a full path and was not found in the PATH.

 Tell CMake where to find the compiler by setting either the environment
 variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
 to the compiler, or to the compiler name if it is in the PATH.


-- Configuring incomplete, errors occurred!
See also "/home/local/dolphin-emu/Build/CMakeFiles/CMakeOutput.log".
See also "/home/local/dolphin-emu/Build/CMakeFiles/CMakeError.log".
Find
Reply
04-22-2021, 05:12 AM (This post was last modified: 04-22-2021, 05:13 AM by KHg8m3r.)
#4
KHg8m3r Online
Doesn't sleep, just Dolphin and Robots
*******
Posts: 5,821
Threads: 4
Joined: Sep 2013
So, to be more specific, Dolphin can't find the C and CXX compiler. To check what you have installed, run this command: dpkg --list | grep compiler
You'll get output that should look like this if you have the GNU C and C++ compilers installed that Dolphin needs:

Code:
ii  g++                                        4:7.4.0-1ubuntu2.3                               amd64        GNU C++ compiler
ii  g++-7                                      7.5.0-3ubuntu1~18.04                             amd64        GNU C++ compiler
ii  gcc                                        4:7.4.0-1ubuntu2.3                               amd64        GNU C compiler
ii  gcc-7                                      7.5.0-3ubuntu1~18.04                             amd64        GNU C compiler


If you do not have these installed, install gcc and g++ using apt install

If you do have these, run "gcc -v" and "g++ -v" to see if you can call them in a terminal. If not, your PATH isn't setup properly to call to the gcc and g++ compilers
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode