QNX SDK Photon build for windows

hi all?

I try doing to build a simple photon App using a Photon build in QNX SDK for
windows.
so that generate it. it’s ok. but can’t make it.
this code well is built at QNX Platform, not Windosw platform.
why can’t i build a photon app using PhAB for windows?

this is error list.

for i in qcc_ntox86; do [cd $i && make shr] ; done
make[1]: Entering directory `d:/work/winTest/src/gcc_ntox86’
qcc abmain.o -Vgcc_ntox86 -O3 -fomit-frame-pointer -l phexlib -l
Ap -l ph -l phrender -l m -M -o winTest
usemsg winTest …/Usemsg
process_begin:
CreateProcess[C:\qnxsdk\qnxsdk\host\win32\binwin\usemsg.exe, usemsg winTest
…/Usemag, …] failed
make (e=193): Error 193make[1]: *** [shr] Error 193
make[1]: Leaving directory ‘d:/work/winTest/src/gcc_ntox86’
make: *** [shr] Error 2

thank you!!

\

Gye jin Ahn
Tel: 82-31-639-6091
E-mail: gyejin@haco.co.kr

gyejin <gyejin@hotmail.com> wrote:

hi all?

I try doing to build a simple photon App using a Photon build in QNX SDK for
windows.
so that generate it. it’s ok. but can’t make it.
this code well is built at QNX Platform, not Windosw platform.
why can’t i build a photon app using PhAB for windows?

this is error list.

for i in qcc_ntox86; do [cd $i && make shr] ; done
make[1]: Entering directory `d:/work/winTest/src/gcc_ntox86’
qcc abmain.o -Vgcc_ntox86 -O3 -fomit-frame-pointer -l phexlib -l
Ap -l ph -l phrender -l m -M -o winTest
usemsg winTest …/Usemsg
process_begin:
CreateProcess[C:\qnxsdk\qnxsdk\host\win32\binwin\usemsg.exe, usemsg winTest
…/Usemag, …] failed
make (e=193): Error 193make[1]: *** [shr] Error 193
make[1]: Leaving directory ‘d:/work/winTest/src/gcc_ntox86’
make: *** [shr] Error 2

You should actually have a properly built executable.

usemsg is an optional extra step – if you’ve ever done something like
“use ls” to get a short help/use summary, you’ll have seen the result –
what usemsg does is add a non-loadable record to the executable that the
use utility reads from the executable file to generate the help/use
summary. You should still have a valid executable if usemsg fails.

Looking at this line:

CreateProcess[C:\qnxsdk\qnxsdk\host\win32\binwin\usemsg.exe, usemsg winTest

It looks like we might have gotten a pathname wrong somewhere, unless you
actually have the QNX SDK installed under \qnxsdk\qnxsdk – that is qnxsdk
twice?

What version of QNX SDK for Windows do you have installed?

-David

QNX Training Services
http://www.qnx.com/support/training/
Please followup in this newsgroup if you have further questions.