Hi,
I don't know why I get
BLDMAKE ERROR: ERROR: cpp.exe returned non-zero exit status (13568)
Build returned with exit value=-1
When I run HelloWorld!
Does anybody know why?? and what I should do??
Thank you in advance
Adriano
Hi,
I don't know why I get
BLDMAKE ERROR: ERROR: cpp.exe returned non-zero exit status (13568)
Build returned with exit value=-1
When I run HelloWorld!
Does anybody know why?? and what I should do??
Thank you in advance
Adriano
You can try issuingfrom a command prompt in the group folder of the project.Code:bldmake bldfiles
I did
c:\Program Files\Common Files\Symbian\tools\bldmake.exe bld.inf
and I get
Can't open perl script "c:\Program": No such file or directory
What do you suggest?
Thanks a lot,
Adriano
Ok, thanks,
I did it and I have got:
This application has failed to start because cygwin1.dll was not found. Re-installing the application may fix this problem.
and
BLDMAKE ERROR: ERROR: cpp.exe returned non-zero exit status (13568)
cpp.EXE -undef -nostdinc -+ -I ..\..\..\EPOC32\include -I . -I .\ ".\BLD.INF"
But I have cygwin1.dll in C:\Symbian\8.0a\S60_2nd_FP2_CW\Epoc32\tools\migrationtool\gccbinutils
What do you think I should do?
Thanks,
Adriano
It seems like your build environment is picking the C preprocessor(cpp.exe) from cygwin. I find it safe to add %EPOCROOT%epoc32/tools;%EPOCROOT%epoc32/gcc/bin ahead in the PATH environment variable. The cpp.exe is bundled in the Symbian SDK.
Can u please tell me what exactly is the "group" folder of the project directory? I'm unable to figure out where it is.
According to your other posts, you are experimenting with Qt, so expect answers in the Qt boards (yes, I can see your threads there, just I do not know Qt). It may happen that some make-like utility generates the bld.inf for you.
Note that these command line magics may rely on having the winscw toolchain available from the command line too. In the Start Menu group of Carbide.c++ you can find "Configure environment for WINSCW command line". Try running it if you have not executed it yet (if Vista has right-click+"Run as Administrator", consider using that way to execute it).
Have you checked if it is possible to create and execute some Qt-less, but GUI code with your configuration?
I have the same problem. I did reinstall all the SDKs, the compiler and active pearl.
At the Carbide Console:
And when I tryCode:***Invoking bldmake command perl.exe -S bldmake.pl bldfiles winscw ERROR: EPOCROOT must specify an existing directory. === BLDMAKE Command failed with error code 2 === ***Stopping. Check the Problems view or Console output for errors. ***Errors were detected in build. See the Problems or Console view for details.
Code:bldmake bldfiles EPOCROOT environment variable must be capitalised BEGIN falied--compilation aborted at C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\/E32env.pm line 55. Compilation failed in require at C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\bldmake.pl line 28. BEGIN failed--compilation aborted at C:\S60\devices\Nokia_N97_SDK_v1.0\epoc32\tools\bldmake.pl line 28.
Then it is not the same problem...
Do you have an EPOCROOT environment variable? Because you should not. set command lists the environment variables. set e lists the variables having a name starting with 'e'.
If you type a simple devices, does it show your SDK?
I dont have an EPOCROOT avriable.
device work and list all the SDKs: 3rd, 5th and N97.
Which one is set as default?
-- Lucian