Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - use file in the Momentics IDE: (5 Items)
   
use file in the Momentics IDE  
I would like to include an use file in the exe. I added the use file to the root project. After that I  filled in the "
Use file name" of the project's Properties. However, building the project ends with an error. I attached the picture of 
the IDE with error.
I must be doing something wrong and I would like to know how to fix it using the IDE.

Thanks,


Attachment: Image use_file_ide.JPG 167.02 KB
Post Deleted
Re: use file in the Momentics IDE  
Hi Christian,

I replaced my use file with the rtc tool (rtc.use from svn repository).
Same error as in the attached picture.
Make from win cmd:

C:\QNX632\VME-workspace\VME_BUS>make clean
make -j 1 -Cx86 -fMakefile clean
make[1]: Entering directory `C:/QNX632/VME-workspace/VME_BUS/x86'
make -j 1 -Co -fMakefile clean
make[2]: Entering directory `C:/QNX632/VME-workspace/VME_BUS/x86/o'
C:/QNX632/host/win32/x86/usr/bin/rm -f  VME_BUS  *.pinfo *.o *.err *.map
mapfile *.sym *.i
make[2]: Leaving directory `C:/QNX632/VME-workspace/VME_BUS/x86/o'
make -j 1 -Co-g -fMakefile clean
make[2]: Entering directory `C:/QNX632/VME-workspace/VME_BUS/x86/o-g'
C:/QNX632/host/win32/x86/usr/bin/rm -f  VME_BUS_g  *.pinfo *.o *.err *.map
mapfile *.sym *.i
make[2]: Leaving directory `C:/QNX632/VME-workspace/VME_BUS/x86/o-g'
make[1]: Leaving directory `C:/QNX632/VME-workspace/VME_BUS/x86'

C:\QNX632\VME-workspace\VME_BUS>make
make -j 1 -Cx86 -fMakefile
make[1]: Entering directory `C:/QNX632/VME-workspace/VME_BUS/x86'
make -j 1 -Co -fMakefile
make[2]: Entering directory `C:/QNX632/VME-workspace/VME_BUS/x86/o'
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses  -O          -DNDEBUG   -I. -IC:/QNX632/VME-work
space/VME_BUS/x86/o -IC:/QNX632/VME-workspace/VME_BUS/x86
-IC:/QNX632/VME-workspace/VME_BUS -IC:/QNX632/target/qnx6/usr/include
  C:/QNX632/VME-workspace/VME_BUS/io_handlers.c
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses  -O          -DNDEBUG   -I. -IC:/QNX632/VME-work
space/VME_BUS/x86/o -IC:/QNX632/VME-workspace/VME_BUS/x86
-IC:/QNX632/VME-workspace/VME_BUS -IC:/QNX632/target/qnx6/usr/include
  C:/QNX632/VME-workspace/VME_BUS/log.c
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses  -O          -DNDEBUG   -I. -IC:/QNX632/VME-work
space/VME_BUS/x86/o -IC:/QNX632/VME-workspace/VME_BUS/x86
-IC:/QNX632/VME-workspace/VME_BUS -IC:/QNX632/target/qnx6/usr/include
  C:/QNX632/VME-workspace/VME_BUS/universe2.c
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall
-Wc,-Wno-parentheses  -O          -DNDEBUG   -I. -IC:/QNX632/VME-work
space/VME_BUS/x86/o -IC:/QNX632/VME-workspace/VME_BUS/x86
-IC:/QNX632/VME-workspace/VME_BUS -IC:/QNX632/target/qnx6/usr/include
  C:/QNX632/VME-workspace/VME_BUS/universe_driver.c
C:/QNX632/host/win32/x86/usr/bin/rm -f
C:/QNX632/VME-workspace/VME_BUS/x86/o/VME_BUS
C:/QNX632/host/win32/x86/usr/bin/qcc -Vgcc_ntox86  -lcache
-oC:/QNX632/VME-workspace/VME_BUS/x86/o/VME_BUS    io_handlers.o    lo
g.o    universe2.o    universe_driver.o  -L.
-LC:/QNX632/target/qnx6/x86/lib -LC:/QNX632/target/qnx6/x86/usr/lib
C:/QNX632/host/win32/x86/usr/bin/usemsg -s __USAGENTO -s __USAGE -iVERSION
-iTAGID  C:/QNX632/VME-workspace/VME_BUS/x86/o/VME_BUS C:
/QNX632/VME-workspace/VME_BUS/VME_BUS.use
Unable to create temp file(/tmp/te4c.0).
Source file C:/QNX632/VME-workspace/VME_BUS/x86/o/VME_BUS not changed.
make[2]: *** [C:/QNX632/VME-workspace/VME_BUS/x86/o/VME_BUS] Error 1
make[2]: Leaving directory `C:/QNX632/VME-workspace/VME_BUS/x86/o'
make[1]: *** [all] Error 2
make[1]: Leaving directory `C:/QNX632/VME-workspace/VME_BUS/x86'
make: *** [all] Error 2

C:\QNX632\VME-workspace\VME_BUS>

After I created tmp dir:

C:\QNX632\VME-workspace\VME_BUS>make clean
make -j 1 -Cx86 -fMakefile clean
make[1]: Entering directory `C:/QNX632/VME-workspace/VME_BUS/x86'
make -j 1 -Co -fMakefile clean
make[2]: Entering directory `C:/QNX632/VME-workspace/VME_BUS/x86/o'
C:/QNX632/host/win32/x86/usr/bin/rm -f  VME_BUS  *.pinfo *.o *.err *.map
mapfile *.sym *.i
make[2]: Leaving directory `C:/QNX632/VME-workspace/VME_BUS/x86/o'
make -j 1 -Co-g -fMakefile clean
make[2]: Entering directory `C:/QNX632/VME-workspace/VME_BUS/x86/o-g'
C:/QNX632/host/win32/x86/usr/bin/rm -f  VME_BUS_g  *.pinfo *.o *.err *.map
mapfile *.sym *.i
make[2]: Leaving directory...
View Full Message
Re: use file in the Momentics IDE  
Hi, Paul,

This looks like an issue in the command-line tools (CLT), not the IDE.  You might try following up with the CLT forum or
 your support representative.

Sorry,

Christian

On 2011-11-03, at 11:59 AM, Paul Danaila wrote:

C:/QNX632/host/win32/x86/usr/bin/usemsg -s __USAGENTO -s __USAGE -iVERSION
-iTAGID  C:/QNX632/VME-workspace/VME_BUS/x86/o/VME_BUS C:
/QNX632/VME-workspace/VME_BUS/VME_BUS.use
spawn ldrel: No such file or directory

----
Christian W. Damus
Software Developer, IDE Team
QNX Software Systems Limited <http://www.qnx.com/>;

Re: use file in the Momentics IDE  
Hi Christian,

I assume you refer to
http://community.qnx.com/sf/go/projects.toolchain/discussion.core_developme
nt_tools forum. Unfortunately, I cannot post there - there is no "Create"
button. How can get the privilege to post?

Thanks,

Paul Danaila
Software Developer, QNX Software Systems Limited
613-591-0931 x2356










On 11-11-03 12:49 PM, "Christian Damus" <community-noreply@qnx.com> wrote:

>Hi, Paul,
>
>This looks like an issue in the command-line tools (CLT), not the IDE.
>You might try following up with the CLT forum or your support
>representative.
>
>Sorry,
>
>Christian
>
>On 2011-11-03, at 11:59 AM, Paul Danaila wrote:
>
>C:/QNX632/host/win32/x86/usr/bin/usemsg -s __USAGENTO -s __USAGE -iVERSION
>-iTAGID  C:/QNX632/VME-workspace/VME_BUS/x86/o/VME_BUS C:
>/QNX632/VME-workspace/VME_BUS/VME_BUS.use
>spawn ldrel: No such file or directory
>
>----
>Christian W. Damus
>Software Developer, IDE Team
>QNX Software Systems Limited <http://www.qnx.com/>;
>
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post89863
>