| Reply | « Previous Thread | Next Thread » |
|
Hello,
I have setup the S60_2nd_FP2 SDK on two different machines. One running XP SP2 the other W2K SP4. The installations are absolutely identical. I have checked this with a diff application, also the Perl version and JRE matches exactely and the files in "Program Files/Shared Files/Symbian" are identical. On the XP machine I can build e.g the HelloWorld example fine for thumb. On the W2K machine I get immediately various syntax errors e.g in "e32std.inl" I have found out that one point of the problem are defines over multiple lines. Since everything runs fine on XP in the same constallation I have no idea what else could went wrong. Any ideas? Bernhard |
|
Check your environment variables, especially the PATH.
Btw, what is exactly the error message that you have? Antony |
|
Quote:
It's a extremely long error list. Starting with In file included from ..\\..\\EPOC32\\INCLUDE\\coeccntx.h:9, from .\\HelloWorld.h:28, from .\\Helloworld_application.cpp:14: ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AType' was not declared in this scope ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AData' was not declared in this scope ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: `AData' was not declared in this scope ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: template argument 1 is invalid ..\\..\\EPOC32\\INCLUDE\\e32std.h:4462: stray '\' in program ..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: warning: ANSI C++ forbids declaration `AName' with no type ..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: `AType' was not declared in this scope ..\\..\\EPOC32\\INCLUDE\\e32std.h:4463: stray '\' in program ..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: `AData' was not declared in this scope ..\\..\\EPOC32\\INCLUDE\\e32std.h:4464: `AData' was not declared in this scope ............................... The erorr happens by the #define DECLARE_ROM_ARRAY If I put this define on a single line the build works till the next define spanning over multiple lines. (CAPABILITY_AS_TUINT8) Since the build works on the other machine with exactely the same include files I'm confused. Bernhard |
|
What happen if you check the gcc version on both PC using the following command?
gcc --version Do both PC display the same GCC version? If you have more than one GCC compiler on W2K machine, the Symbian build tool might pick up the wrong compiler. That's what I can think of at the moment. Antony |
|
Quote:
However both machines have the version 2.9-psion-98r2 installed. Bernhard |
|
I'm obviously not the only one with this problem.
http://discussion.forum.nokia.com/fo...ht=%2Athumb%2A Bernhard |
|
I'm proud to annouce that I have found the problem. On the W2K machine a newer cygwin1.dll was installed in the System32 directory. After removing this dll everything works fine.
I can't believe such an installer misbehaviour :-(( Bernhard |
|
thanx fagott
i had this problem long back and the solution i used was to get XP on it. :) |
|
Thanks for the solution. It helped me a lot.
Regards. |
| pradeep_agrawal |
| View Public Profile |
| Find all posts by pradeep_agrawal |
|
Thanks a lot for the post.
|
|
Quote:
Thank you very much! |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|