applications\helloworld\exe_stub\build\PyTest.cpp:25: the file 'Python.rsg' cannot be opened

Asked by Mikko Ohtamaa

Emulator build fails on its last steps to a linker error

Install file: "winscw_udeb\helloworld_0xe1000004_exe\helloworld_reg.rsc" as "T:\epoc32\data\Z\private\10003a3f\apps\helloworld_reg.rsc"
Install file: "winscw_udeb\helloworld_0xe1000004_exe\helloworld_0xe1000004.rsc" as "T:\epoc32\data\Z\resource\apps\helloworld_0xe1000004.rsc"
Install file: "winscw_udeb\helloworld_0xe1000004_exe\helloworld_reg.rsg" as "T:\epoc32\include\helloworld_reg.rsg"
Copy("applications\gpspoller\exe_stub\build\Python.rsg", "winscw_udeb\ongo_exe\ongo.rsg")
mwccsym2 -o winscw_udeb\helloworld_0xe1000004_exe\applications\helloworld\exe_stub\build\PyTest.o -c -g -O0 -inline off -wchar_t off -align 4 -warnings on -w nohidevirtual,nounusedexpr -msgstyle gcc -
enum int -str pool -exc ms -trigraphs on -nostdinc -cwd source -I- -I\epoc32\include -I\epoc32\include\variant -include "symbian_os_v9.1.hrh" -d "__UID3__=0xe1000004" -d "__SYMBIAN32__" -d "_UNICODE"
-d "__SUPPORT_CPP_EXCEPTIONS__" -d "__SERIES60_30__" -d "__SERIES60_3X__" -d "__SERIES60__" -d "__SYMBIAN_OS_VERSION__=91" -d "__UI_VERSION__=30" -d "_DEBUG" -d "__CW32__" -d "__WINS__" -d "__WINSCW__
" -d "__EXE__" -i T:\epoc32\include -i T:\epoc32\include\libc -i core\Symbian -i core\Objects -i core\Parser -i core\Python -i core\include -i core\Modules -i applications\helloworld\exe_stub\build ap
plications\helloworld\exe_stub\build\PyTest.cpp
applications\helloworld\exe_stub\build\PyTest.cpp:25: the file 'Python.rsg' cannot be opened
applications\helloworld\exe_stub\build\PyTest.cpp:38: undefined identifier 'R_PYTHON_EXTENSION_MENU'

Errors caused tool to abort.
scons: *** [winscw_udeb\helloworld_0xe1000004_exe\applications\helloworld\exe_stub\build\PyTest.o] Error 1
scons: building terminated because of errors.

Question information

Language:
English Edit question
Status:
Solved
For:
PyS60 community Edit question
Assignee:
No assignee Edit question
Solved by:
Mikko Ohtamaa
Solved:
Last query:
Last reply:
Revision history for this message
Mikko Ohtamaa (mikko-red-innovation) said :
#1

Answer: Close emulator prior building