Сообщение Re[3]: А чем компилировать .cpp файлы под Убунтой? от 26.02.2024 7:35
Изменено 26.02.2024 7:36 kov_serg
Re[3]: А чем компилировать .cpp файлы под Убунтой?
Здравствуйте, Mihal9, Вы писали:
M>Здравствуйте, kov_serg, Вы писали:
_>>g++-10 -std=c++20 mancala.cpp -lpthread -o manca -O2 -march=native
M>g++-10: command not found
M>Ok, sudo apt install g++-10
M>Reading package lists... Done
M>Building dependency tree
M>Reading state information... Done
M>Note, selecting 'clang-10-examples' for regex 'g++-10'
M>Note, selecting 'cuda-nvjpeg-10-1' for regex 'g++-10'
M>Note, selecting 'clang-10' for regex 'g++-10'
M>Note, selecting 'libclang-10-dev' for regex 'g++-10'
M>Note, selecting 'python-clang-10' for regex 'g++-10'
M>Note, selecting 'clang-10-doc' for regex 'g++-10'
M>Note, selecting 'python3-clang-10' for regex 'g++-10'
M>cuda-nvjpeg-10-1 is already the newest version (10.1.243-1).
M>cuda-nvjpeg-10-1 set to manually installed.
M>Some packages could not be installed. This may mean that you have
M>requested an impossible situation or if you are using the unstable
M>distribution that some required packages have not yet been created
M>or been moved out of Incoming.
M>The following information may help to resolve the situation:
M>The following packages have unmet dependencies:
M> clang-10 : Depends: libclang-common-10-dev (= 1:10.0.0-4ubuntu1~18.04.2) but it is not going to be installed
M> libclang-10-dev : Depends: libclang-common-10-dev (= 1:10.0.0-4ubuntu1~18.04.2) but it is not going to be installed
M>E: Unable to correct problems, you have held broken packages.
M>Что сие значит? Спасибо
sudo aptitude install g++10
и потом выбираете вариант который устроит
ps: занимательная книжка
M>Здравствуйте, kov_serg, Вы писали:
_>>g++-10 -std=c++20 mancala.cpp -lpthread -o manca -O2 -march=native
M>g++-10: command not found
M>Ok, sudo apt install g++-10
M>Reading package lists... Done
M>Building dependency tree
M>Reading state information... Done
M>Note, selecting 'clang-10-examples' for regex 'g++-10'
M>Note, selecting 'cuda-nvjpeg-10-1' for regex 'g++-10'
M>Note, selecting 'clang-10' for regex 'g++-10'
M>Note, selecting 'libclang-10-dev' for regex 'g++-10'
M>Note, selecting 'python-clang-10' for regex 'g++-10'
M>Note, selecting 'clang-10-doc' for regex 'g++-10'
M>Note, selecting 'python3-clang-10' for regex 'g++-10'
M>cuda-nvjpeg-10-1 is already the newest version (10.1.243-1).
M>cuda-nvjpeg-10-1 set to manually installed.
M>Some packages could not be installed. This may mean that you have
M>requested an impossible situation or if you are using the unstable
M>distribution that some required packages have not yet been created
M>or been moved out of Incoming.
M>The following information may help to resolve the situation:
M>The following packages have unmet dependencies:
M> clang-10 : Depends: libclang-common-10-dev (= 1:10.0.0-4ubuntu1~18.04.2) but it is not going to be installed
M> libclang-10-dev : Depends: libclang-common-10-dev (= 1:10.0.0-4ubuntu1~18.04.2) but it is not going to be installed
M>E: Unable to correct problems, you have held broken packages.
M>Что сие значит? Спасибо
sudo aptitude install g++10
и потом выбираете вариант который устроит
ps: занимательная книжка
Re[3]: А чем компилировать .cpp файлы под Убунтой?
Здравствуйте, Mihal9, Вы писали:
M>Здравствуйте, kov_serg, Вы писали:
_>>g++-10 -std=c++20 mancala.cpp -lpthread -o manca -O2 -march=native
M>g++-10: command not found
M>Ok, sudo apt install g++-10
M>Reading package lists... Done
M>Building dependency tree
M>Reading state information... Done
M>Note, selecting 'clang-10-examples' for regex 'g++-10'
M>Note, selecting 'cuda-nvjpeg-10-1' for regex 'g++-10'
M>Note, selecting 'clang-10' for regex 'g++-10'
M>Note, selecting 'libclang-10-dev' for regex 'g++-10'
M>Note, selecting 'python-clang-10' for regex 'g++-10'
M>Note, selecting 'clang-10-doc' for regex 'g++-10'
M>Note, selecting 'python3-clang-10' for regex 'g++-10'
M>cuda-nvjpeg-10-1 is already the newest version (10.1.243-1).
M>cuda-nvjpeg-10-1 set to manually installed.
M>Some packages could not be installed. This may mean that you have
M>requested an impossible situation or if you are using the unstable
M>distribution that some required packages have not yet been created
M>or been moved out of Incoming.
M>The following information may help to resolve the situation:
M>The following packages have unmet dependencies:
M> clang-10 : Depends: libclang-common-10-dev (= 1:10.0.0-4ubuntu1~18.04.2) but it is not going to be installed
M> libclang-10-dev : Depends: libclang-common-10-dev (= 1:10.0.0-4ubuntu1~18.04.2) but it is not going to be installed
M>E: Unable to correct problems, you have held broken packages.
M>Что сие значит? Спасибо
sudo aptitude install g++10
и потом выбираете вариант который устроит
ps: занимательная книжка p.36,p.99
M>Здравствуйте, kov_serg, Вы писали:
_>>g++-10 -std=c++20 mancala.cpp -lpthread -o manca -O2 -march=native
M>g++-10: command not found
M>Ok, sudo apt install g++-10
M>Reading package lists... Done
M>Building dependency tree
M>Reading state information... Done
M>Note, selecting 'clang-10-examples' for regex 'g++-10'
M>Note, selecting 'cuda-nvjpeg-10-1' for regex 'g++-10'
M>Note, selecting 'clang-10' for regex 'g++-10'
M>Note, selecting 'libclang-10-dev' for regex 'g++-10'
M>Note, selecting 'python-clang-10' for regex 'g++-10'
M>Note, selecting 'clang-10-doc' for regex 'g++-10'
M>Note, selecting 'python3-clang-10' for regex 'g++-10'
M>cuda-nvjpeg-10-1 is already the newest version (10.1.243-1).
M>cuda-nvjpeg-10-1 set to manually installed.
M>Some packages could not be installed. This may mean that you have
M>requested an impossible situation or if you are using the unstable
M>distribution that some required packages have not yet been created
M>or been moved out of Incoming.
M>The following information may help to resolve the situation:
M>The following packages have unmet dependencies:
M> clang-10 : Depends: libclang-common-10-dev (= 1:10.0.0-4ubuntu1~18.04.2) but it is not going to be installed
M> libclang-10-dev : Depends: libclang-common-10-dev (= 1:10.0.0-4ubuntu1~18.04.2) but it is not going to be installed
M>E: Unable to correct problems, you have held broken packages.
M>Что сие значит? Спасибо
sudo aptitude install g++10
и потом выбираете вариант который устроит
ps: занимательная книжка p.36,p.99