×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Registered User
    Join Date
    Feb 2004
    Location
    Bangalore India
    Posts
    8

    Problems running bldmake

    When I run bldmake bldfiles I get the following errors

    C:\Symbian\7.0s\Series60_v20\Epoc32\Build\group>bldmake bldfiles
    ERROR: EPOCROOT must end with a backslash
    BEGIN failed--compilation aborted at C:\Symbian\7.0s\Series60_v20\epoc32\tools\/E32env.pm
    line 51.
    Compilation failed in require at C:\Symbian\7.0s\Series60_v20\epoc32\tools\bldmake.pl line
    27.
    BEGIN failed--compilation aborted at C:\Symbian\7.0s\Series60_v20\epoc32\tools\bldmake.pl
    line 27.

    C:\Symbian\7.0s\Series60_v20\Epoc32\Build\group>

    How can I correct this?i am running VC++ 6.0 with series 60 v2.0 sdk.

  2. #2
    Nokia Developer Expert
    Join Date
    Apr 2003
    Location
    Finland
    Posts
    425
    Check that your machines environment variable 'EPOCROOT' points to correct place.

    e.g. SET EPOCROOT = C:\Symbian\7.0s\Series60_v20\

    (In MyComputer/Properties...)

    and remember that last backslash as mentioned in error message "...end with a backslash".

    Br V

  3. #3
    Registered User
    Join Date
    Feb 2004
    Location
    Bangalore India
    Posts
    8
    Thank you for your help.However I get a new error now

    C:\Symbian\7.0s\Series60_v20\Epoc32\Build\group>bldmake bldfiles
    EPOCROOT environment variable must be capitalised
    BEGIN failed--compilation aborted at C:\Symbian\7.0s\Series60_v20\epoc32\tools\/E32env.pm
    line 51.
    Compilation failed in require at C:\Symbian\7.0s\Series60_v20\epoc32\tools\bldmake.pl line
    27.
    BEGIN failed--compilation aborted at C:\Symbian\7.0s\Series60_v20\epoc32\tools\bldmake.pl
    line 27.

    C:\Symbian\7.0s\Series60_v20\Epoc32\Build\group>

  4. #4
    Registered User
    Join Date
    Jan 2004
    Posts
    23
    Try this set EPOCROOT = \Symbian\7.0s\Series60_v20\, rather than "C:\Symbian\7.0s\Series60_v20\"

  5. #5
    Registered User
    Join Date
    Feb 2004
    Location
    Bangalore India
    Posts
    8
    I tried the suggestion by given by OrangeLEE but I get the following errors.



    C:\Symbian\7.0s\Series60_v20\Examples\helloworld>bldmake bldfiles
    EPOCROOT environment variable must be capitalised
    BEGIN failed--compilation aborted at C:\Symbian\7.0s\Series60_v20\epoc32\tools\/E32env.pm
    line 51.
    Compilation failed in require at C:\Symbian\7.0s\Series60_v20\epoc32\tools\bldmake.pl line
    27.
    BEGIN failed--compilation aborted at C:\Symbian\7.0s\Series60_v20\epoc32\tools\bldmake.pl
    line 27.

    C:\Symbian\7.0s\Series60_v20\Examples\helloworld>

  6. #6
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122
    Here's the part from epoc32\tools\e32env.pm that produces the error message:

    Code:
    	open PIPE, "set EPOCROOT |";
    	my $found=0;
    	while (<PIPE>) {
    		if (/^EPOCROOT=.*/)
    			{
    			$found=1;
    			last;
    			}
    	}
    	close PIPE;
    	die "EPOCROOT environment variable must be capitalised\n" if (!$found);
    Basically all it checks that the EPOCROOT environment variable name as printed out by the "set EPOCROOT" command appears exactly as "EPOCROOT" and not as "epocroot" for example. (It already has checked for the existence of the variable before checking the capitalisation.)

    Lauri

  7. #7
    Registered User
    Join Date
    Feb 2004
    Location
    Bangalore India
    Posts
    8
    Hi Lauri thanks for the explanation .However my EPOCROOT is capitalised.Is there any solution to this?

  8. #8
    Registered User
    Join Date
    Aug 2003
    Location
    Oulu, Finland
    Posts
    1,122
    According to http://discussion.forum.nokia.com/fo...threadid=32906, you should check that c:\winnt\system32 is in PATH so that the e32env.pm can open that "set EPOCROOT" pipe. (You could argue that there's a bug in the script; it does not check whether opening the pipe failed.)

    Lauri

  9. #9
    Registered User
    Join Date
    Feb 2004
    Location
    Bangalore India
    Posts
    8
    Thanks Lauri.That was indeed the problem.I had set C:\WINNT\system32 in the path but Windows XP doesnot have a WINNT folder.the file is in C:\Windows\system32.

  10. #10
    Registered User
    Join Date
    Apr 2006
    Posts
    9

    Re: Problems running bldmake

    even i have the same problem,i am using symbian 9.1, vs.net IDE

  11. #11
    Registered User
    Join Date
    Apr 2006
    Posts
    9

    Re: Problems running bldmake

    even i have the same problem,i am using symbian 9.1, vs.net IDE


    C:\Symbian\9.1\S60_3rd\S60Ex\IsvTelCallApp\group>bldmake bldfiles
    ERROR: Must set the EPOCROOT environment variable
    BEGIN failed--compilation aborted at C:\Symbian\9.1\S60_3rd\Epoc32\tools\/E32env
    .pm line 52.
    Compilation failed in require at C:\Symbian\9.1\S60_3rd\Epoc32\tools\bldmake.pl
    line 28.
    BEGIN failed--compilation aborted at C:\Symbian\9.1\S60_3rd\Epoc32\tools\bldmake
    .pl line 28.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×