← bugs
John F. Gibson, 2008-12-23 08:03
When I try to compile this channelflow program
#include "channelflow/dns.h" #include "channelflow/flowfield.h" int main() { FlowField u(48,49,48,3,2*pi,pi,-1,1); u.binarySave("u"); }
I get these errors
gibson@tansen$ make bug3.x g++ -Wall -O2 -fomit-frame-pointer -DNDEBUG -I/home/gibson/channelflow/include -c bug3.cpp bug3.cpp: In function ‘int main()’: bug3.cpp:5: error: ‘FlowField’ was not declared in this scope bug3.cpp:5: error: expected `;' before ‘u’ bug3.cpp:6: error: ‘u’ was not declared in this scope make: *** [bug3.o] Error 1
I am using channelflow-1.3.3 with gcc-4.3.1 and OpenSUSE 11.0 on an x64_64 Athlon machine.
~~DISCUSSION~~