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

Build error: 'values.h' file not found #15

Open
Chelagat opened this issue Nov 10, 2017 · 9 comments
Open

Build error: 'values.h' file not found #15

Chelagat opened this issue Nov 10, 2017 · 9 comments

Comments

@Chelagat
Copy link

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 <values.h> ^~~~~~~~~~ 1 error generated. make: *** [online.o] Error 1

Not sure what the cause is.

@freesouls
Copy link

same error, do not know how to fix it

@Narsil
Copy link

Narsil commented Nov 16, 2017

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.

@freesouls
Copy link

I can compile under linux, the above error happens when compiling on Mac OSX

@CodingFishWu
Copy link

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.

@MRNIU
Copy link

MRNIU commented Mar 12, 2018

me too,is there anyone can fix?

@Hzzone
Copy link

Hzzone commented Sep 26, 2018

@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.

@Hzzone
Copy link

Hzzone commented Sep 26, 2018

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

@yannis1962
Copy link

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?

@rabdelazim
Copy link

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

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

8 participants