![]() |
![]() |
#12 |
Mar 2010
5×11 Posts |
![]()
Nope, still bombs at #include <gmpxx.h> in aliqueit.cc.
|
![]() |
![]() |
![]() |
#13 |
"Ed Hall"
Dec 2009
Adirondack Mtns
67328 Posts |
![]()
Well, let's look at a system here that works with GMP-6.1.2. I have this structure:
<$HOME>/Math/gmp/ - - - this is the folder in which I compiled GMP <$HOME/>Math/Aliqueit/src/aliqueit/ - - - this is created by unzipping in the Aliqueit folder (Note the A/a for folders.) The $HOME/Math/Aliqueit/src/aliqueit/ folder has: Code:
aliqueit.cc aliqueit.h aliqueit.rc aliqueit.vcproj cfg.cc cfg.h Makefile misc.cc misc.h resource.h Code:
# # aliqueit Makefile for linux # # you'll need to change this if your gmp headers aren't installed globally: GMP_DIR = ../../../gmp CC = g++ CFLAGS = -O3 -I$(GMP_DIR) # you'll need to change this if your gmp headers aren't installed globally: LIBS = -L../../../gmp -lgmp OBJ = aliqueit.o cfg.o misc.o aliqueit: $(OBJ) $(CC) $(CFLAGS) $(OBJ) $(LIBS) -o aliqueit %.o: %.cc $(CC) $(CFLAGS) -c -o $@ $< However, ANY change to the "GMP_DIR =" line causes the following: Code:
g++ -O3 -I../../gmp -c -o aliqueit.o aliqueit.cc In file included from aliqueit.cc:21:0: aliqueit.h:11:19: fatal error: gmpxx.h: No such file or directory #include <gmpxx.h> ^ compilation terminated. Makefile:21: recipe for target 'aliqueit.o' failed make: *** [aliqueit.o] Error 1 Code:
locate gmpxx.h Code:
. . . <$HOME>/Math/gmp/gmpxx.h Code:
GMP_DIR = <$HOME>/Math/gmp |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How I Install CADO-NFS onto my Ubuntu Machines | EdH | EdH | 3 | 2019-06-24 03:42 |
How I Install GMP-ECM onto my Ubuntu Machines | EdH | EdH | 12 | 2019-04-16 09:28 |
How I Install and Run ecmpi Across Several Ubuntu Machines | EdH | EdH | 0 | 2019-04-04 22:33 |
How I Install ggnfs onto my Ubuntu Machines | EdH | EdH | 0 | 2018-02-22 03:31 |
How I Install GMP onto my Ubuntu Machines | EdH | EdH | 0 | 2018-02-21 23:48 |