-
Notifications
You must be signed in to change notification settings - Fork 29
Description
justin@Justins-Macbook CitcomS-3.3.1 % make
/Volumes/JustinsSN770Disk/Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive
Making all in Py2C
make[2]: Nothing to be done for all'. Making all in etc make[2]: Nothing to be done for all'.
Making all in examples
make[2]: Nothing to be done for all'. Making all in tests make[2]: Nothing to be done for all'.
Making all in visual
Making all in OpenDXMacro
make[3]: Nothing to be done for all'. make[3]: Nothing to be done for all-am'.
Making all in lib
mpicc -DHAVE_CONFIG_H -I. -I.. -DUSE_GZDIR -g -O2 -MT libCitcomS_a-BC_util.o -MD -MP -MF .deps/libCitcomS_a-BC_util.Tpo -c -o libCitcomS_a-BC_util.o test -f 'BC_util.c' || echo './'BC_util.c
BC_util.c:268:48: error: implicitly declaring library function 'pow' with type 'double (double, double)' [-Werror,-Wimplicit-function-declaration]
k = noz + (int)((float)E->mesh.toplayerbc / pow(2.,(float)(E->mesh.gridmax-lv)));
^
BC_util.c:268:48: note: include the header <math.h> or explicitly provide a declaration for 'pow'
1 error generated.
make[2]: *** [libCitcomS_a-BC_util.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2