Open Chelagat opened 7 years ago
same error, do not know how to fix it
You do realise that -I/path/to/boost is probably wrong ? Did you install boost headers ? I found that in order to build on recent gcc you need to add -fpermissive to compile.
Cheers.
I can compile under linux, the above error happens when compiling on Mac OSX
Value.h is deprecated. I have tried to replace it with limits.h and float.h, but other errors occur. But it's all right in linux system.
me too,is there anyone can fix?
@CodingFishWu @MRNIU It seems that all errors caused by rnnlib4seshat/Helpers.hpp
, and I have solved some problem successfully but at last failed... Maybe someone helps.
Now I have successfully compiled on macOS High Sierra according to the errors. But when I run the example command:
Math Symbols:
( { 4 }
x { 0 1 }
+ { 2 7 }
y { 3 }
) { 5 }
2 { 6 }
LaTeX:
( x + y )^{2}
[1] 68064 illegal hardware instruction ./seshat -c Config/CONFIG -i SampleMathExps/exp.scgink -o out.inkml -r -d
Same error on MacOS X:
g++ -c online.cc -O3 -Wno-unused-result -I/Users/yannis/Google_Drive/yannis/projets/ink/seshat/boost_1_72_0/boost
In file included from online.cc:38:
./online.h:42:10: fatal error: 'values.h' file not found
#include <values.h>
^~~~~~~~~~
1 error generated.
make: *** [online.o] Error 1
Can anyone help?
Yeah getting the same error here, too.
Making install in sanei
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include/sane -I. -I. -I../include -I../include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall -MT sanei_ir.lo -MD -MP -MF .deps/sanei_ir.Tpo -c -o sanei_ir.lo sanei_ir.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include/sane -I. -I. -I../include -I../include -D_REENTRANT -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/local/share -DPATH_SANE_LOCK_DIR=/usr/local/var/lock/sane -DV_MAJOR=1 -DV_MINOR=0 -g -O2 -W -Wall -MT sanei_ir.lo -MD -MP -MF .deps/sanei_ir.Tpo -c sanei_ir.c -fno-common -DPIC -o .libs/sanei_ir.o
sanei_ir.c:32:10: fatal error: 'values.h' file not found
#include <values.h>
^~~~~~~~~~
1 error generated.
make[1]: *** [sanei_ir.lo] Error 1
make: *** [install-recursive] Error 1
I have a build error: ` make g++ -c online.cc -O3 -Wno-unused-result -I/path/to/boost/ In file included from online.cc:38: ./online.h:42:10: fatal error: 'values.h' file not found
include
1 error generated. make: *** [online.o] Error 1 `
Not sure what the cause is.