Jak dodać bibliotekę GMP w DEV C++
Ostatnio zmodyfikowano 2016-04-03 10:54
osobliwy_nick Temat założony przez niniejszego użytkownika |
» 2016-03-25 21:48:53 Przy statycznej to samo:
$ ./configure --prefix=${gmp_install} checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... no checking whether make supports nested variables... no checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=32 checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no checking compiler icc -no-gcc ... no checking compiler cc -O ... no configure: error: could not find a working compiler, see config.log for details
Co to znaczy?
Nie tylko ja mam takie problemy:
https://gmplib.org/list-archives/gmp-bugs/2015-July/003706.html |
|
mateczek |
» 2016-03-26 02:35:26 |
|
Elaine |
» 2016-03-26 05:41:55 A tak na przyszłość. To na Linux prościej takie rzeczy się robi :)
sudo apt-get install libgmp-dev i jedziesz :) |
Dziwne, nie działa: sudo: apt-get: command not found :P |
|
osobliwy_nick Temat założony przez niniejszego użytkownika |
» 2016-03-26 11:15:53 Dodałem w zmiennej Path ścieżkę do folderu, w którym znajduje się wszystko co pobrałem z GMP, btw - nie znalazłem tam żadnego pliku z rozszerzeniem exe. Nadal wyskakuje dokładnie ten sam komunikat:
$ ./configure --prefix=${gmp_install} checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... no checking whether make supports nested variables... no checking whether to enable maintainer-specific portions of Makefiles... no checking ABI=32 checking compiler gcc -m32 -O2 -pedantic -fomit-frame-pointer ... no checking compiler gcc -O2 -pedantic -fomit-frame-pointer ... no checking compiler icc -no-gcc ... no checking compiler cc -O ... no configure: error: could not find a working compiler, see config.log for details
|
|
Monika90 |
» 2016-03-26 11:55:25 Chodzi o dodanie do zmiennej PATH ścieżki do kompilatora. Nie wiem gdzie DEV C++ instaluje kompilator, może C:\Dev-Cpp\bin, poszukaj.
Możesz sprawdzić czy zrobiłeś to dobrze, wpisanie w konsoli poleceń gcc --version make --version powinno wyświetlić wersje narzędzi.
|
|
osobliwy_nick Temat założony przez niniejszego użytkownika |
» 2016-03-26 12:34:00 Podałem ścieżkę C:\Program Files (x86)\Dev-Cpp\MinGW64\bin. Niestety nadal mam ten sam komunikat.
|
|
mateczek |
» 2016-03-27 21:36:51 działają Ci polecenia z posta Moniki?? Jeśli nie, to znaczy że ścieżka jest błędna !!!
Jak chcesz wiedzieć, który folder dodać to wyszukaj np. program "g++.exe" i to będzie ten właśnie folder. |
|
osobliwy_nick Temat założony przez niniejszego użytkownika |
» 2016-03-28 21:13:01 $ gcc --version gcc.exe (tdm64-1) 4.9.2 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ make --version -bash: make: nie znaleziono polecenia
Drugie polecenie nie działa. Chyba, że powinienem je wpisać z innego folderu? Ścieżka, którą dodałem do Path jest chyba dobra:
C:\Program Files (x86)\Dev-Cpp\MinGW64\bin
znajdują się tam programy między innymi "c++", "cpp", "gcc".
|
|
1 « 2 » 3 4 5 6 7 8 |