![]() |
Blitz Support : |
From: Markus Christen (markus_at_[hidden])
Date: 2004-02-07 15:16:47
Thank you Julian!
(sorry that it took me so long to try it)
because this thread is already here I'll continue (and do not report on
sourceforge)
to get it to compile i still need to add:
#include <string>
using namespace std;
to src/globals.cpp
(well, the string only that namespace std is known ;-)
(and take out doc of the SUBDIRS in Makefile, cause there are too many
files to correct...)
one other thing: icc has some glibc symbol problems right now,
in order to compile, -i_dynamic is needed. i notice that Blitz configure
does not honor my LDFLAGS environment variable?
anyway, with these changes i could compile and install
thank you again
markus
Julian C. Cummings wrote:
>OK, I have repaired the problem in blitz/array/newet-macros.h in the cvs
>repository.
>I tested the fix and closed out Xavier's bug report. I also updated the
>admin setup on the sourceforge website to send me e-mail when new bugs or
>other requests are entered into the blitz page. Thanks for the bug report!
>
>-- Julian C.
>
>
>
>
>>Hi Guys,
>>
>>I'll have to examine the sourceforge site and see why I got
>>no notification of Xavier's message about this problem.
>>Anyway, I can look into this issue. Currently, blitz is doing
>>the dumb thing, which is to do a "using namespace std;" so
>>that std::complex is available in the global namespace. Not
>>sure why that isn't working under icc, but I will look into
>>it. One thing on the TODO list is proper namespace handling in blitz.
>>
>>Regards, Julian C.
>>
>>
>>
>>>Hi Markus,
>>>
>>>
>>>I already mentioned this problem 8 days ago on sourceforge. But it
>>>hasn't been solved yet.
>>>I can' even compile the library (i.e global.cpp) : i get the same
>>>message error.
>>>
>>>Xavier
>>>
>>>
>>>
>>>
>>>>compiling blitz cvs version (Feb 01 11:10)
>>>>with Intel C++ compiler
>>>>
>>>>Intel(R) C++ Compiler for 32-bit applications, Version 7.1
>>>>
>>>>
>>> Build 20030307Z
>>>
>>>
>>>>Copyright (C) 1985-2003 Intel Corporation. All rights
>>>>
>>>>
>>>reserved. FOR
>>>
>>>
>>>>NON-COMMERCIAL USE ONLY
>>>>
>>>>../../blitz/promote.h(68): error: complex is not a template
>>>> BZ_DECLARE_PRECISION(complex<float>,800)
>>>>
>>>>=> problem: std:: or using namespace std; missing.
>>>>i edited a couple of files adding std:: to all complex<>
>>>>
>>>>
>>and string
>>
>>
>>>>declarations,
>>>>
>>>>but then:
>>>>
>>>>../../blitz/array/ops.h(95): error: space required
>>>>
>>>>
>>between adjacent
>>
>>
>>>>">" delimite rs of nested template argument lists (">>" is
>>>>
>>>>
>>>the right
>>>
>>>
>>>>
>>>>
<snip> those are all fixed...