cork icon indicating copy to clipboard operation
cork copied to clipboard

Compiling on Linux Mint

Open Spirou4D opened this issue 8 years ago • 0 comments

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?

Spirou4D avatar May 27 '16 18:05 Spirou4D