| Reply | « Previous Thread | Next Thread » |
|
I cannot build the example binaries for other platforms than WINS.
When I run 'abld build thumb urel' in the group directory of some example, it goes ok for a few nmakes and then displays: nmake -nologo -s -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\GRAPHICS\GROUP\GRAPHICS\THUMB\GRAPHICS.THUMB" UREL In file included from ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32base.h:8, from ..\\..\\..\\..\\..\\..\\SYMBIAN\\6.1\\SERIES60\\SERIES60EX\\HELPERFUNCTIONS\\bitmapmethods.h:12, from ..\\..\\..\\..\\..\\..\\SYMBIAN\\6.1\\SERIES60\\SERIES60EX\\HELPERFUNCTIONS\\Bitmapmethods.cpp:3: ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AType' was not declared in this scope ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: template argument 1 is invalid ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: stray '\' in program ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: warning: ANSI C++ forbids declaration `AName' with no type ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: `AType' was not declared in this scope ..\\..\\..\\..\\..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: stray '\' in program The error messages continue for several dozens of rows in a similar fashion and in the end says: NMAKE : fatal error U1077: 'thumb-epoc-pe-gcc' : return code '0x1' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio\VC98\bin\nmake.exe"' : return code '0x2' Stop. nmake -nologo -f "\Symbian\6.1\Series60\EPOC32\BUILD\SYMBIAN\6.1\SERIES60\SERIES60EX\GRAPHICS\GROUP\THUMB.make" FINAL CFG=UREL VERBOSE=-s What could this mean? The build with 'abld build wins urel' goes just fine. |
| theLauronen |
| View Public Profile |
| Find all posts by theLauronen |
|
try "abld build armi urel"
|
|
I'm also getting a similar error when doing
'abld build thumb urel' or 'abld build armi urel' does anybody knows the reason for this? In file included from ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\apparc.h:10, from ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\eikapp.h:10, from ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\aknapp.h:15, from ..\\..\\TESTE4\\INC\\Teste4App.h:17, from ..\\..\\TESTE4\\SRC\\Teste4app.cpp:15: ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AType' was not declared in this scope ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: `AData' was not declared in this scope ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: template argument 1 is invalid ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3012: stray '\' in program ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: warning: ANSI C++ forbids declaration `AName' with no type ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: `AType' was not declared in this scope ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3013: stray '\' in program ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3014: `AData' was not declared in this scope ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3014: `AData' was not declared in this scope ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3014: template argument 1 is invalid ..\\..\\Symbian\\6.1\\Series60\\EPOC32\\INCLUDE\\e32std.h:3014: `AData' was not declared in this scope ... Tks Armindo |
|
Is it possible that you have another version of gcc installed in your system (for example cygwin tools or similar)? If the gcc from other system is in path before gcc from series60 sdk's gcc you'll have problems. At least I did :)
Make sure that "D:\Symbian\6.1\Shared\epoc32\gcc\bin" (replace D: with correct diskname) is before (for example) "d:\cygwin\bin" in your PATH environment variable. "abld build urel wins" will work ok because it uses msvc's compiler to build the project. |
| nikohaatainen |
| View Public Profile |
| Find all posts by nikohaatainen |
|
sorry for pushing this old thread, but when you search on google for this error, it pops up as second result...
this worked for me: convert e32std.h to UNIX fileformat - also other files when compiler complains about it later :) |
|
Krisha2K
Thank you so much for your post. I had the the exact problem and your suggestion fixed it (I used dos2unix for conversion) |
| IntelliJani |
| View Public Profile |
| Find all posts by IntelliJani |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|