Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Cannot clean/build an existing project in Momentics in XP
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Development Momentics
  • SDP: 6.3.2
  • Host: Any supported host
________________________________________________________________________

Solution
________________________________________________________________________

After importing an existing project into Momentics, building and cleaning the project fail. All the projects have the same problem.

make -k clean --file=C:/src/myproject/QMakefile2571.tmp
make -j 1 -Cx86 -fMakefile clean
make[1]: Entering directory `C:/src/myproject/x86'
make -j 1 -Co -fMakefile clean
make[2]: Entering directory `C:/src/myproject/x86/o'
C:/QNX632/host/win32/x86/usr/bin/qcc -V3.3.5,gcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses -O -Wp,-MM -E -DTRACE -DNDEBUG -I. -IC:/src/myproject/x86/o -IC:/src/myproject/x86 -IC:/src/myproject -IC:/src/myproject/.. -IC:/QNX632/target/qnx6/usr/include C:/src/myproject/MySocket.cc >MySocket.depends
C:/DOCUME~1/me/LOCALS~1/Temp/make47962.sh[1]: C:/QNX632/host/win32/x86/usr/bin/qcc: cannot execute - Permission denied
make[2]: *** [MySocket.depends] Error 126
...
..
.
C:/QNX632/host/win32/x86/usr/bin/rm -f MyCode.depends ........ MySocket.depends
C:/QNX632/host/win32/x86/usr/bin/rm -f Gsm *.pinfo *.o *.err *.map mapfile *.sym *.i
C:/DOCUME~1/me/LOCALS~1/Temp/make479611.sh[1]: C:/QNX632/host/win32/x86/usr/bin/rm: cannot execute - Permission denied
make[2]: *** [clean] Error 126
make[2]: Leaving directory `C:/src/myproject/x86/o'
make[1]: [clean] Error 2 (ignored)
make[1]: Leaving directory `C:/src/myproject/x86'


Solution:

The following executables,
C:/QNX632/host/win32/x86/usr/bin/qcc
C:/QNX632/host/win32/x86/usr/bin/rm, and all the other executables in the folder C:/QNX632/host/win32/x86/usr/bin/ were not having permission for the user's login, despite being part of the administrator group.

Manually adding the user domain and login for permission to this bin folder in Windows solved the issue.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.