Hi Roy,
Thank you so much for your help. I could not fix it, unfortunately, but since I
have switched to the compilers provided at http://hpc.sourceforge.net/ (as
Derek recommended), everything works fine.
Except there now appears an error when compiling ex17:
Compiling C++ (in optimized mode) ex17.C...
ex17.C: In function ‘int main(int, char**)’:
ex17.C:99:3: error: ‘dim’ was not declared in this scope
make[2]: *** [ex17.i386-apple-darwin10.3.0.opt.o] Error 1
make[1]: *** [examples] Error 1
make: *** [examples] Error 2
Any ideas on this one?
Thank you very much once again.
-Anna
On 14 Jun 2010, at 20:42, Roy Stogner wrote:
>
> I got a hold of an 10.6 system and tried to replicate your problem,
> but ended up running into other errors even earlier. Then I saw this:
>
> dhcp-67-116:~ roystgnr$ cat test.C
> #include <iostream>
> #include <sstream>
> #include <string>
>
> #ifdef _GLIBCXX_DEBUG
> #define _GLIBCXX_DEBUG_DEFINED "1"
> #else
> #define _GLIBCXX_DEBUG_DEFINED "<undefined>"
> #endif
>
> int main()
> {
> std::string svalue("42");
> std::istringstream in(svalue);
>
> int value;
>
> in >> value;
>
> std::cout << "Original value was: " << svalue << std::endl;
>
> std::cout
> << "With _GLIBCXX_DEBUG="
> << _GLIBCXX_DEBUG_DEFINED
> << " value is "
> << value << std::endl;
>
> return 0;
> }
> dhcp-67-116:~ roystgnr$ g++ -o test test.C
> dhcp-67-116:~ roystgnr$ ./test
> Original value was: 42
> With _GLIBCXX_DEBUG=<undefined> value is 42
> dhcp-67-116:~ roystgnr$ g++ -D_GLIBCXX_DEBUG -o test test.C
> dhcp-67-116:~ roystgnr$ ./test
> Original value was: 42
> With _GLIBCXX_DEBUG=1 value is 0
>
>
> I hope the static library workaround is sufficient for your problems,
> because it's now unreasonably difficult for us to debug problems on
> OSX 10.6 with the default compiler.
> ---
> Roy
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users