On 11/23/2008 11:30 PM, Preben Soeberg wrote:
I am making a clean build now and have come beyond the point you show below without errors.
I wonder, maybe you didn't notice, that there was a new version of buildtool.cpp to be compiled?
Yes, I took care of that a few days ago.
However, that does not explain the dependency on <omp.h>. Did someone assume that it is available everywhere?
bob
-----Original Message----- From: Bob Jamison [mailto:rwjj@...127...] Sent: 24 November, 2008 11:18 To: kaver; inkscape Subject: Re: [Inkscape-devel] win builds
On 11/23/2008 9:55 PM, Bob Jamison wrote:
Since the autobuild always performs a clean build, I suppose it means that someone might have broken the build recently.
Maybe it's one of those "works for me on Linux" guys. :-)
bob
Apparently this is the problem. If this is another dependency, than that would be a problem.
src/display/nr-filter-gaussian.cpp:22:17: error: omp.h: No such file or directory src/display/nr-filter-gaussian.cpp: In function 'void NR::filter2D_IIR(PT*, int, int, const PT*, int, int, int, int, const IIRValue*, const double*, IIRValue* const*, int)': src/display/nr-filter-gaussian.cpp:276: error: there are no arguments to 'omp_get_thread_num' that depend on a template parameter, so a declaration of 'omp_get_thread_num' must be available src/display/nr-filter-gaussian.cpp:276: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated) src/display/nr-filter-gaussian.cpp: In member function 'virtual int NR::FilterGaussian::render(NR::FilterSlot&, const NR::FilterUnits&)': src/display/nr-filter-gaussian.cpp:551: error: 'omp_get_num_procs' was not declared in this scope src/display/nr-filter-gaussian.cpp: In function 'void NR::filter2D_IIR(PT*, int, int, const PT*, int, int, int, int, const IIRValue*, const double*, IIRValue* const*, int) [with PT = unsigned char, unsigned int PC = 1u, bool PREMULTIPLIED_ALPHA = false]': src/display/nr-filter-gaussian.cpp:643: instantiated from here src/display/nr-filter-gaussian.cpp:276: error: 'omp_get_thread_num' was not declared in this scope src/display/nr-filter-gaussian.cpp:643: instantiated from here src/display/nr-filter-gaussian.cpp:302: warning: comparison of unsigned expression< 0 is always false src/display/nr-filter-gaussian.cpp:643: instantiated from here src/display/nr-filter-gaussian.cpp:317: warning: comparison of unsigned expression< 0 is always false src/display/nr-filter-gaussian.cpp: In function 'void NR::filter2D_IIR(PT*, int, int, const PT*, int, int, int, int, const IIRValue*, const double*, IIRValue* const*, int) [with PT = unsigned char, unsigned int PC = 3u, bool PREMULTIPLIED_ALPHA = false]': src/display/nr-filter-gaussian.cpp:646: instantiated from here src/display/nr-filter-gaussian.cpp:276: error: 'omp_get_thread_num' was not declared in this scope src/display/nr-filter-gaussian.cpp: In function 'void NR::filter2D_IIR(PT*, int, int, const PT*, int, int, int, int, const IIRValue*, const double*, IIRValue* const*, int) [with PT = unsigned char, unsigned int PC = 4u, bool PREMULTIPLIED_ALPHA = false]': src/display/nr-filter-gaussian.cpp:649: instantiated from here src/display/nr-filter-gaussian.cpp:276: error: 'omp_get_thread_num' was not declared in this scope src/display/nr-filter-gaussian.cpp: In function 'void NR::filter2D_IIR(PT*, int, int, const PT*, int, int, int, int, const IIRValue*, const double*, IIRValue* const*, int) [with PT = unsigned char, unsigned int PC = 4u, bool PREMULTIPLIED_ALPHA = true]': src/display/nr-filter-gaussian.cpp:652: instantiated from here src/display/nr-filter-gaussian.cpp:276: error: 'omp_get_thread_num' was not declared in this scope
bob