msoos / grainofsalt

Grain of Salt equation generator
Other
16 stars 5 forks source link

problem at making 2 #3

Closed yeonji1 closed 6 years ago

yeonji1 commented 6 years ago

Dear Mr. soo. this is Yeonji. Hello I've sent mail to you 4days ago about 'make problem', and I also tried 'make VERBOSE=1'. But I still have problem, so I leave a Issues in here. what I did is

  1. installed prerequisites packages: cmake - 3.5.1(version) bignum library - gmp 2:6.1.0+dfsg-2(version) boost library - 1. 58 .0 zlib library - 1.2.11

  2. installed in Build folder cmake ../
    make under error is occued

I attach screenshot of error page and cmake,make command. Thank you!!

screenshot from 2018-05-08 09-18-59 CMakeLists.txt CMakeCache.txt makefile.txt

msoos commented 6 years ago

Yep, espresso is too old. Just remove "restrict" from there and anywhere where it causes an error. Please create a pull request as well. Also, please do NOT create screenshots -- copy-paste the full error instead.

yeonji1 commented 6 years ago

Oh. I got it. Here is Full error message file. error message.txt

msoos commented 6 years ago

Oh, I remember. Just rename the variable "restrict" to something else! like restrict_1. Please create a pull request once you have fixed it! Thanks!

yeonji1 commented 6 years ago

The matter of "restrict" is cleared. but it told me there's no "bestbits.cpp.o" file. Actually, there's really no "bestbits.cpp.o" file, when I searched the directory 'generator/CMakeFiles/grainofsalt.dir/'

error message (2).txt

msoos commented 6 years ago

I have now updated the system. Please delete all of the directory, then:

rm -rf grainofsalt
git clone https://github.com/msoos/grainofsalt
cd grainofsalt
mkdir build
cd build
cmake ..
make

The bestbits.cpp file is now in there. Good luck!