##### Actions
(Difference between revisions)

# Archived:Bldmake fails with "EPOCROOT environment variable must be capitalised" error (Known Issue)

CompatibilityArticle
Created: User:Technical writer 1 (30 Mar 2007)
Last edited: debjit.roy (14 Mar 2012)

## Overview

In some environments, the bldmake command may fail with the "EPOCROOT environment variable must be capitalised" error.

## Description

This error is returned by the e32env.pm script when opening a pipe to the command line fails.

## Solution

Typically this error is related to the PATH environment variable. bldmake fails if the system32 directory in the PATH is defined using the SystemRoot variable, that is
%SystemRoot%\system32
To fix this, modify the PATH to use an absolute path for \system32. For example,
C:\Windows\system32
Note: With current S60 SDKs (2nd Edition and later), EPOCROOT should not be explicitly defined. Instead, the active development configuration is selected with the devices.exe utility.

139 page views in the last 30 days.