Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on Linux Mint #29

Open
Spirou4D opened this issue May 27, 2016 · 0 comments
Open

Compiling on Linux Mint #29

Spirou4D opened this issue May 27, 2016 · 0 comments

Comments

@Spirou4D
Copy link

Spirou4D commented May 27, 2016

Hi Gilbo,
I am on Linux Mint Rosa 17.3 64bytes.
I have installed with the app manager:
Clang3.5 and llvm-3.5 and libgpm10
but error with GPM path so I choose of compiling my-self GPM 6.1:
I download it and compile: I find it here on my computer:
GMP_INC_DIR = /usr/include
GMP_LIB_DIR = /usr/lib
I modify the makeConstant and no error for GPM but this now:
++++++++++++++++++++++++++++++++++
~/Applications/cork $ make
Compiling obj/cork.o
make: clang++: commande introuvable
make: *** [obj/cork.o] Erreur 127
++++++++++++++++++++++++++++++++++

but clang 3.5 is installed
clang-3.5 is already the latest version.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.

Terminal: clang-3.5 --help
OVERVIEW: clang LLVM compiler
USAGE: clang [options]
OPTIONS:
-### Print (but do not run) the commands to run for this compilation
--analyze Run the static analyzer
-arcmt-migrate-emit-errors
Emit ARC errors even if the migrator can fix them
-arcmt-migrate-report-output
Output path for the plist report
-cxx-isystem
Add direct
Etc......

so no problem with clang-3.5!
Where is the problem, please?

EDIT: I changed clang++ with clang-3.5 in the makefile
line 37 CPP11_FLAGS := -std=c++11
line 38 CC := clang
line 39 CXX := clang-3.5
and
$ make
then, the compilation has begun......BUT now I have this error:

patrinux@patrinux-ordi ~/Applications/cork $ make
Compiling obj/cork.o
Compiling obj/util/timer.o
Compiling obj/util/log.o
Compiling obj/isct/empty3d.o
In file included from src/isct/empty3d.cpp:31:
src/isct/gmpext4.h:35:10: fatal error: 'gmpxx.h' file not found

include <gmpxx.h>

Here I can't solve the question! Can you help me, please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant