I have installed S60 SDK with CW support, FP2. I am using CW for Symbian Pro 2.5 (supposedly working with SDK).
Trying the helloworld example from Series60Ex, command line build is a breeze. However, from IDE, I get this:
Error : Symbian Resource - ERROR: Must set the EPOCROOT environment variable BEGIN failed--compilation aborted at d:\Symbian\8.0a\S60_2nd_FP2_CW_B\epoc32\tools/E32env.pm line 54. BEGIN failed--compilation aborted at d:\Symbian\8.0a\S60_2nd_FP2_CW_B\epoc32\tools/epocrc.pl line 27.
It turns out the E32env.pm perl script's attempt to retrieve EPOCROOT fails (empty string). If I bypass the attempt and set the epocroot inside the script then building happens fine. This is does not happen with UIQ SDK. I don't know whether it is an SDK or a CW issue, hence my posting here. I haev tried a number of combination, including setting EPOCROOT to the correct value in the registry so that it is persistent . But still this error occured. I have successfully used CW with UIQ SDK .
Has this ever happened to you?
thanks for your help,