Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Problems building GUI app under Vista: (6 Items)
   
Problems building GUI app under Vista  
Hello,

I was able to build and run the text based code without a problem.  When I tried to build a GUI app I get permission 
failures. 

Here is the build output:

make -k all --file=C:/QNX632/ide4-workspace/test_gui/QMakefile38829.tmp 
make -j 1 -Cx86 -fMakefile all
make[1]: Entering directory `C:/QNX632/ide4-workspace/test_gui/x86'
make -j 1 -Co -fMakefile all 
make[2]: Entering directory `C:/QNX632/ide4-workspace/test_gui/x86/o'
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses  -O          -DNDEBUG   -I. -IC:/
QNX632/ide4-workspace/test_gui/x86/o -IC:/QNX632/ide4-workspace/test_gui/x86 -IC:/QNX632/ide4-workspace/test_gui -IC:/
QNX632/ide4-workspace/test_gui/src -IC:/QNX632/target/qnx6/usr/include       C:/QNX632/ide4-workspace/test_gui/src/
abmain.c 
C:/QNX632/host/win32/x86/usr/bin/rm -f  C:/QNX632/ide4-workspace/test_gui/x86/o/test_gui
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86     -oC:/QNX632/ide4-workspace/test_gui/x86/o/test_gui    abmain.o  -L
. -LC:/QNX632/target/qnx6/x86/lib -LC:/QNX632/target/qnx6/x86/usr/lib    -lAp    -lph    -lm     
C:/QNX632/host/win32/x86/usr/bin/usemsg -s __USAGENTO -s __USAGE -iVERSION -iTAGID  C:/QNX632/ide4-workspace/test_gui/
x86/o/test_gui C:/QNX632/ide4-workspace/test_gui/src/Usemsg 
ldrel.exe: Unable to open \s3lo. for writing - Permission denied
phabbind test_gui C:/QNX632/ide4-workspace/test_gui/wgt/Icon.wgti C:/QNX632/ide4-workspace/test_gui/wgt/base.wgtw
ldrel: Unable to open \s1s8. for writing - Permission denied
rm: Skipping c:/QNX632/ide4-workspace/test_gui/x86/o/test_gui.res -- no write permission
bindres: command 'ldrel -sQNX_PhAB=c:/QNX632/ide4-workspace/test_gui/x86/o/test_gui.res c:/QNX632/ide4-workspace/
test_gui/x86/o/test_gui' failed
bindres: command 'rm c:/QNX632/ide4-workspace/test_gui/x86/o/test_gui.res' failed
make[2]: *** [C:/QNX632/ide4-workspace/test_gui/x86/o/test_gui] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `C:/QNX632/ide4-workspace/test_gui/x86/o'
make -j 1 -Co-g -fMakefile all
make[1]: [all] Error 2 (ignored)
make[2]: Entering directory `C:/QNX632/ide4-workspace/test_gui/x86/o-g'
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses               -I. -IC:/QNX632/ide4-
workspace/test_gui/x86/o -IC:/QNX632/ide4-workspace/test_gui/x86/o-g -IC:/QNX632/ide4-workspace/test_gui/x86 -IC:/QNX632
/ide4-workspace/test_gui -IC:/QNX632/ide4-workspace/test_gui/src -IC:/QNX632/target/qnx6/usr/include    -g   -DVARIANT_g
  C:/QNX632/ide4-workspace/test_gui/src/abmain.c 
C:/QNX632/host/win32/x86/usr/bin/rm -f  C:/QNX632/ide4-workspace/test_gui/x86/o-g/test_gui_g
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86     -oC:/QNX632/ide4-workspace/test_gui/x86/o-g/test_gui_g    abmain.o
  -L. -LC:/QNX632/target/qnx6/x86/lib -LC:/QNX632/target/qnx6/x86/usr/lib    -lAp    -lph    -lm   -g    
C:/QNX632/host/win32/x86/usr/bin/usemsg -s __USAGENTO -s __USAGE -iVERSION -iTAGID  C:/QNX632/ide4-workspace/test_gui/
x86/o-g/test_gui_g C:/QNX632/ide4-workspace/test_gui/src/Usemsg 
ldrel.exe: Unable to open \s230. for writing - Permission denied
phabbind test_gui_g C:/QNX632/ide4-workspace/test_gui/wgt/Icon.wgti C:/QNX632/ide4-workspace/test_gui/wgt/base.wgtw
ldrel: Unable to open \s2t0. for writing - Permission denied
bindres: command 'ldrel -sQNX_PhAB=c:/QNX632/ide4-workspace/test_gui/x86/o-g/test_gui_g.res c:/QNX632/ide4-workspace/
test_gui/x86/o-g/test_gui_g' failed
make[2]: *** [C:/QNX632/ide4-workspace/test_gui/x86/o-g/test_gui_g] Error 1
make[2]: Target `all' not remade because of errors.
make[2]: Leaving directory `C:/QNX632/ide4-workspace/test_gui/x86/o-g'
make[1]: [all] Error 2 (ignored)
make[1]: Leaving directory `C:/QNX632/ide4-workspace/test_gui/x86'


Any ideas?
Re: Problems building GUI app under Vista  
Hi Mike, 
I'd like to get some more info to help reproduce the problem:
1) Is UAC disabled on your Vista userID? 
2) Is the access level of your Vista usedID? - admin user or restricted user.
3) Which version of Vista are you using? 
4) Which version of the IDE are you using - the version the comes with the Momentics632 download (IDE4) or the Tau Alpha
 preview (IDE5)?

thanks,

Dave Young
Re: Problems building GUI app under Vista  
1) UAC is enabled for this account.
2) account is admin
3) Home Premium
4) IDE4

Vista is still new to me.  I just installed QNX early Monday morning on a new laptop so I could show off QNX at the 
office.  I haven't done much with the laptop except order pizza from Papa John's.

Thanks,
Mike
RE: Problems building GUI app under Vista  
Hi Mike,

Thank you for the quick response! 
Would you mind trying the following steps on your Vista notebook:

1. Disable UAC:
   - Click on Start and type on Run: msconfig.exe
   - Select Tools 
   - Select Disable UAC (User Account Control) 
   - Click on Launch

2. A bit irrelevant, but may prevent later issues:
   - By default, Vista doesn't install the Telnet client. The client is for
text-based communication with remote systems. You can install it by
following these steps:
   - Click Start then select Control Panel. 
   - Select Programs and Features. 
   - Select Turn Windows features on or off. 
   - Select the Telnet Client option. 
   - Click OK. 
   - A dialog box will appear to confirm installation. The telnet command
should now be available.

Please, try building a GUI app after disabling UAC and let me know. Thanks!

Regards,
Yov Yovchev
Re: RE: Problems building GUI app under Vista  
OK, disabling the UAC got rid of those errors.

Now I get the following:

rm: Skipping c:/QNX632/ide4-workspace/test_gui/x86/o/test_gui.res -- no write permission
bindres: command 'rm c:/QNX632/ide4-workspace/test_gui/x86/o/test_gui.res' failed


Also for the debug 'g-o'.

I checked the file properties and the effective permissions are full control.  I did notice that my account was the 
owner but my account was not listed in the permissions tab.

Mike
Re: RE: Problems building GUI app under Vista  
FYI, I added my account to the permissions and was able to build without errors.