Problem with CMakeLists.txt

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
varuma
Level 1
Level 1
Posts: 14
Joined: Sat Nov 18, 2017 5:00 pm

Problem with CMakeLists.txt

Postby varuma » Sat Nov 18, 2017 5:07 pm

Hi,

I made the following thing due to install compiler:

sudo apt-get install nvidia-cuda-dev nvidia-cuda-toolkit libmicrohttpd-dev libssl-dev cmake cmake-curses-gui build-essential

Then I had to make the following steps:

cmake .
make install

But this error appears: The source directory "THE DIRECTORY WHERE IS THE EXE I NEED TO COMPILE" does not appear to contain CMakeLists.txt

What can I do?

varuma
Level 1
Level 1
Posts: 14
Joined: Sat Nov 18, 2017 5:00 pm

Re: Problem with CMakeLists.txt

Postby varuma » Sat Nov 18, 2017 8:08 pm

Please, advice me what can I do..

User avatar
phd21
Level 14
Level 14
Posts: 5037
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Problem with CMakeLists.txt

Postby phd21 » Sat Nov 18, 2017 9:31 pm

Hi "varuma",

Welcome to the wonderful world of Linux Mint and its excellent forum !

It would help to know more about your system setup. If you run "inxi -Fxzd" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

What exactly are you trying to do, what website(s) are involved, what have you downloaded, and what have you done already?

If you have a Nvidia video card, you can install the driver easily using the link below without compiling anything. There are also Nvidia tools in the Software Manager or Synaptic Package Manager (SPM).

NVIDIA: how to install the latest video card drivers
https://sites.google.com/site/easylinuxtipsproject/12

FYI: It is always better to install any application using the Software Manager or Synaptic Package Manager (SPM) first, then developer installation files (deb file, AppImage, snap package, flatpak, run, sh (scripts), etc..), using a PPA and or their software repository instructions, last option is to compile from source code.

How to Build a CMake-Based Project
http://preshing.com/20170511/how-to-build-a-cmake-based-project/



Hope this helps ...
Phd21: Mint KDE 17.3 & 18.2, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

varuma
Level 1
Level 1
Posts: 14
Joined: Sat Nov 18, 2017 5:00 pm

Re: Problem with CMakeLists.txt

Postby varuma » Sun Nov 19, 2017 6:58 am

Hi,

Yesterday I turned off my laptop and now I can't start Linux.
The following screen appears:

Failed to start the X server (your grafical interface). It us likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?

What can I do?

varuma
Level 1
Level 1
Posts: 14
Joined: Sat Nov 18, 2017 5:00 pm

Re: Problem with CMakeLists.txt

Postby varuma » Sun Nov 19, 2017 7:14 am

Initializing build-in extension DRI2
Loading extension GLX
(EE)
Fatal server error:
(EE) no screen found (EE)
(EE)
Please consult the X.org Foundation support
(EE) Please also check the log file at /var/log/Xorg.0.log for additio
(EE) Server terminated with error (1). Closing log file.

User avatar
phd21
Level 14
Level 14
Posts: 5037
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Problem with CMakeLists.txt

Postby phd21 » Sun Nov 19, 2017 12:49 pm

Hi "varuma",

You did not answer any of my questions???

If you tried compiling and installing Nvidia drivers, then you might be able to boot into recovery mode, select "root" and type in:

Code: Select all

sudo apt-get purge nvidia*

Code: Select all

reboot


After restarting, if it comes up, install the Nvidia drivers using the instructions in the link I gave you.

Otherwise, restore from a backup, or install a fresh copy of Linux Mint.

Good Luck ...


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.2, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde


Return to “Installation & Boot”