Feed for discussion General in project IDE. http://community.qnx.com/sf/discussion/do/listTopics/projects.ide/discussion.ide Posts for General post120077: Re: Latest update http://community.qnx.com/sf/go/post120077 The 7.0.4.v201905030143 is the correct number, we will update the release notes, thank you On 2019-11-06 9:09 a.m., Igor Rondarev wrote: &gt; Thank you! Noted that Build ID in relnotes (Build 7.0.4 201910030902) differs from the one in "About" menu (7.0.4.v201905030143 just after update and restart). Does it mean that update server still contains some old build? &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post120076 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Wed, 06 Nov 2019 14:22:13 GMT http://community.qnx.com/sf/go/post120077 Elena Laskavaia 2019-11-06T14:22:13Z post120076: Re: Latest update http://community.qnx.com/sf/go/post120076 Thank you! Noted that Build ID in relnotes (Build 7.0.4 201910030902) differs from the one in "About" menu (7.0.4.v201905030143 just after update and restart). Does it mean that update server still contains some old build? Wed, 06 Nov 2019 14:09:04 GMT http://community.qnx.com/sf/go/post120076 Igor Rondarev 2019-11-06T14:09:04Z post120072: Re: Latest update http://community.qnx.com/sf/go/post120072 http://www.qnx.com/download/feature.html?programid=46421 On 2019-11-05 3:55 a.m., Igor Rondarev wrote: &gt; Elena, &gt; &gt; could you please provide the link to QNX Momentics 7.0.4 release notes? &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post120069 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Tue, 05 Nov 2019 14:59:48 GMT http://community.qnx.com/sf/go/post120072 Elena Laskavaia 2019-11-05T14:59:48Z post120069: Re: Latest update http://community.qnx.com/sf/go/post120069 Elena, could you please provide the link to QNX Momentics 7.0.4 release notes? Tue, 05 Nov 2019 08:55:08 GMT http://community.qnx.com/sf/go/post120069 Igor Rondarev 2019-11-05T08:55:08Z post120011: Re: RE: SSH session in QNX momentics IDE (vmware) http://community.qnx.com/sf/go/post120011 Hi John, Thanks a lot for the hint. It has worked. Now I can access the target inside the momentics IDE. Thanks again. Cheers, Ganesha Mon, 30 Sep 2019 14:23:01 GMT http://community.qnx.com/sf/go/post120011 Ganesha Mulleria 2019-09-30T14:23:01Z post120010: RE: SSH session in QNX momentics IDE (vmware) http://community.qnx.com/sf/go/post120010 what user are you trying to login as? if it's root you will probably need to enable root login in the sshd_config on the target. see PermitRootLogin in https://netbsd.gw.com/cgi-bin/man-cgi?sshd_config+5+NetBSD-5.0 If you are using an empty password you may need to enable PermitEmptyPasswords in the sshd_config. Cheers John ________________________________________ From: Ganesha Mulleria [community-noreply@qnx.com] Sent: Monday, September 30, 2019 15:34 To: general-ide Subject: Re: SSH session in QNX momentics IDE (vmware) No, I did not ty to login from the command line. I am invoking vmware virtual machine and starting qnx7. It opens a default command line in qnx environment. Initially I did not set password. But still I was getting the same error. Then to be sure I have set root password as root. Actually I am using momentics IDE to write and devlop programs. There I saw an option of Connect via SSH in "Target Navigator" view. It would be nice to use this facility. _______________________________________________ General http://community.qnx.com/sf/go/post120008 To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Mon, 30 Sep 2019 14:03:58 GMT http://community.qnx.com/sf/go/post120010 John Kearney 2019-09-30T14:03:58Z post120008: Re: SSH session in QNX momentics IDE (vmware) http://community.qnx.com/sf/go/post120008 No, I did not ty to login from the command line. I am invoking vmware virtual machine and starting qnx7. It opens a default command line in qnx environment. Initially I did not set password. But still I was getting the same error. Then to be sure I have set root password as root. Actually I am using momentics IDE to write and devlop programs. There I saw an option of Connect via SSH in "Target Navigator" view. It would be nice to use this facility. Mon, 30 Sep 2019 13:34:24 GMT http://community.qnx.com/sf/go/post120008 Ganesha Mulleria 2019-09-30T13:34:24Z post120006: Re: SSH session in QNX momentics IDE (vmware) http://community.qnx.com/sf/go/post120006 It not an IDE problem. Did you try to login to this target from command line? By default on qnx target root does not have a password, did you actually set root password? On 2019-09-30 8:56 a.m., Ganesha Mulleria wrote: &gt; Any help is highly appreciated. Tthe command line available via vmware is not maximisable and scrollable. It will be useful to have a ssh access to target. &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post120005 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Mon, 30 Sep 2019 13:09:48 GMT http://community.qnx.com/sf/go/post120006 Elena Laskavaia 2019-09-30T13:09:48Z post120005: Re: SSH session in QNX momentics IDE (vmware) http://community.qnx.com/sf/go/post120005 Any help is highly appreciated. Tthe command line available via vmware is not maximisable and scrollable. It will be useful to have a ssh access to target. Mon, 30 Sep 2019 12:56:05 GMT http://community.qnx.com/sf/go/post120005 Ganesha Mulleria 2019-09-30T12:56:05Z post119992: Re: QNX trusted disk http://community.qnx.com/sf/go/post119992 This is IDE forum, you should probably find some general SDK/OS forum to ask this On 2019-09-25 11:30 a.m., Ganesha Mulleria wrote: &gt; Has any one experience with creating a QNX trusted disk image and mounting it. &gt; Can you please share some steps to begin with. &gt; &gt; I have a qnx 7 environment installed in vmware virtual box (x86_64). &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post119989 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Wed, 25 Sep 2019 16:25:14 GMT http://community.qnx.com/sf/go/post119992 Elena Laskavaia 2019-09-25T16:25:14Z post119989: QNX trusted disk http://community.qnx.com/sf/go/post119989 Has any one experience with creating a QNX trusted disk image and mounting it. Can you please share some steps to begin with. I have a qnx 7 environment installed in vmware virtual box (x86_64). Wed, 25 Sep 2019 15:30:58 GMT http://community.qnx.com/sf/go/post119989 Ganesha Mulleria 2019-09-25T15:30:58Z post119988: Writing a security policy http://community.qnx.com/sf/go/post119988 I am new to QNX. I am exploring the qnx security policies. I am running qnx 7 in a vmware virtual box(x86_64). I wrote a sample server and client program. I wanted to write a policy and to attach it to the process. My main aim is access control. Following sections in the qnx guide have information about them. http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.security.dev_guide/topic/manual/mac.html http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.security.dev_guide/topic/manual/tutorial.html As per the above guide, Startup script needs to be edited and following utilities are required for developing a security policy - secpol, secpolcompile, secpolgenerate, secpolmonitor, secpolpush I was able to find only secpolgenerate and secpolmonitor. Other utilities are missing. I also could not find the startup script. Since I am new to these topics, I am looking for some help in generating the security policy. Thanks and best regards, Ganesha Wed, 25 Sep 2019 15:21:56 GMT http://community.qnx.com/sf/go/post119988 Ganesha Mulleria 2019-09-25T15:21:56Z post119987: Changing keyboard layout http://community.qnx.com/sf/go/post119987 I have installed qnx 7 in a vmware virtual box. My keyboard is german. Can you please help me how to configure german keybaord?. I do not see any option in vmware window. Wed, 25 Sep 2019 15:20:02 GMT http://community.qnx.com/sf/go/post119987 Ganesha Mulleria 2019-09-25T15:20:02Z post119986: SSH session in QNX momentics IDE (vmware) http://community.qnx.com/sf/go/post119986 Hi, I have installed qnx 7 in a vmware (x86_64). I have created a target and I can access the target using an IP address. When I right click and select the option "Start SSH session" in target navigator, it opens up a dialog box where I have entered user as "root" and password as "root", it does not connect. After many retries, it says Error connecting 192.168.148.128 : SSH client error: SSH_MSG_DISCONNECT: 2 Too many authentication failures When i check in the system information sshd process is running. Can you please help me to connect via ssh. Thanks. Wed, 25 Sep 2019 15:18:25 GMT http://community.qnx.com/sf/go/post119986 Ganesha Mulleria 2019-09-25T15:18:25Z post119794: Re: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machine http://community.qnx.com/sf/go/post119794 Thanks for the suggestion. I just installed kernel and libc package via software center. It is working now. I can debug. Thanks again. Tue, 30 Jul 2019 13:55:20 GMT http://community.qnx.com/sf/go/post119794 Ganesha Mulleria 2019-07-30T13:55:20Z post119793: Re: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machine http://community.qnx.com/sf/go/post119793 Target libc does not match host libc, its either mean its different architecture or different version Did you install debug symbols for libc? In software center right click Install Debug symbols in Kernel &amp; Libc package On 2019-07-30 9:36 a.m., Ganesha Mulleria wrote: &gt; My target is x86_64. (QNX SDP 7.0 x86-64 virtual machine for VMware) &gt; &gt; Yes I have 7.0. &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post119792 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Tue, 30 Jul 2019 13:42:12 GMT http://community.qnx.com/sf/go/post119793 Elena Laskavaia 2019-07-30T13:42:12Z post119792: Re: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machine http://community.qnx.com/sf/go/post119792 My target is x86_64. (QNX SDP 7.0 x86-64 virtual machine for VMware) Yes I have 7.0. Tue, 30 Jul 2019 13:36:58 GMT http://community.qnx.com/sf/go/post119792 Ganesha Mulleria 2019-07-30T13:36:58Z post119791: Re: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machine http://community.qnx.com/sf/go/post119791 Does your target reports that is x86_64 or x86? Both your host is target have 7.0? On 2019-07-30 8:19 a.m., Ganesha Mulleria wrote: &gt; Hi, &gt; &gt; I am new to QNX. I have created a "Hello World" qnx executable project. I am debugging it on a target (qnx image loaded via VMWare player). IDE is connected to target via qconn. &gt; &gt; Running the program works. But when I am debugging, I am getting the below error. &gt; &gt; Thread #1 unnamed (STOPPED) (Suspended : Signal : SIGSEGV:Segmentation fault) &gt; &gt; Debugger console has following information. Please help. &gt; &gt; MsgNak received - resending &gt; Remote target is little-endian &gt; warning: Shared object "/home/uib55281/qnx700/target/qnx7/x86_64/lib/libc.so.4" could not be validated and will be ignored. &gt; warning: Could not load shared library symbols for /usr/lib/ldqnx-64.so.2. &gt; Do you need "set solib-search-path" or "set sysroot"? &gt; warning: Host file /usr/lib/ldqnx-64.so.2 does not match target file &lt;?&gt; &gt; 0x000000010004f5d0 in ?? () &gt; &gt; Program received signal SIGSEGV, Segmentation fault. &gt; 0x0000000100052143 in ?? () &gt; &gt; &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post119790 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Tue, 30 Jul 2019 13:17:19 GMT http://community.qnx.com/sf/go/post119791 Elena Laskavaia 2019-07-30T13:17:19Z post119790: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machine http://community.qnx.com/sf/go/post119790 Hi, I am new to QNX. I have created a "Hello World" qnx executable project. I am debugging it on a target (qnx image loaded via VMWare player). IDE is connected to target via qconn. Running the program works. But when I am debugging, I am getting the below error. Thread #1 unnamed (STOPPED) (Suspended : Signal : SIGSEGV:Segmentation fault) Debugger console has following information. Please help. MsgNak received - resending Remote target is little-endian warning: Shared object "/home/uib55281/qnx700/target/qnx7/x86_64/lib/libc.so.4" could not be validated and will be ignored. warning: Could not load shared library symbols for /usr/lib/ldqnx-64.so.2. Do you need "set solib-search-path" or "set sysroot"? warning: Host file /usr/lib/ldqnx-64.so.2 does not match target file &lt;?&gt; 0x000000010004f5d0 in ?? () Program received signal SIGSEGV, Segmentation fault. 0x0000000100052143 in ?? () Tue, 30 Jul 2019 12:19:57 GMT http://community.qnx.com/sf/go/post119790 Ganesha Mulleria 2019-07-30T12:19:57Z post119783: Re: Newbie - Makeflashimage.sh on windows ide 7.0 http://community.qnx.com/sf/go/post119783 (apologies, ntoaarch64-objcopy was inthe correct directory) running the commands manually, I see root@BRDE19D:/mnt/c/Users/ASkinner.INTERNAL/qnx700/host/win64/x86_64/usr/bin# ./ntoaarch64-objcopy.exe --input-format=elf64-littleaarch64 --output-format=binary /mnt/c/Users/ASkinner.INTERNAL/ide-7.0-workspace/bsp-nxp-s32v-evb/install/aarch64le/boot/sys/ipl-s32v234evb-RevD C:\Users\ASkinner.INTERNAL\qnx700\host\win64\x86_64\usr\bin\ntoaarch64-objcopy.exe: warning: could not create temporary file whilst copying '/mnt/c/Users/ASkinner.INTERNAL/ide-7.0-workspace/bsp-nxp-s32v-evb/install/aarch64le/boot/sys/ipl-s32v234evb-RevD', (error: No such file or directory) Seems like it is struggling to create the temporary file, could this be a permissions issue? Mon, 22 Jul 2019 09:12:10 GMT http://community.qnx.com/sf/go/post119783 Andrew Skinner 2019-07-22T09:12:10Z post119778: Newbie - Makeflashimage.sh on windows ide 7.0 http://community.qnx.com/sf/go/post119778 Hi Complete newbie question here, I have downloaded the NXP s32v bsp through the qnx software center and am trying to create a image to transfer to flash. I am running a fresh install of IDE on windows 10. The project seams to build ok, but when I try to run the mkflshimage.sh, which I believe should build the IPL image it fails because it cannot find ntoaarch64-objcopy. I cannot find it manually in my qnx700/host/win64/x86_64/usr/bin/ directory Feels like i am missing something simple here as the mkflshimage is part of the bsp i downloaded. Only weird thing is that mkflshimage.sh is calling bash, should it not be calling some kind of netrino internal terminal ? Thu, 18 Jul 2019 15:09:01 GMT http://community.qnx.com/sf/go/post119778 Andrew Skinner 2019-07-18T15:09:01Z post119750: Re: QNX Momentics IDE Build error (cygwin) http://community.qnx.com/sf/go/post119750 Its related to windows configuration not to version of Momentics, same workaround applies On 2019-06-10 1:12 p.m., Tommy Lee(deleted) wrote: &gt; QNX® Momentics® Integrated Development Environment &gt; Version: 5.0.1 &gt; Build id: v201402230336 &gt; &gt; Shown above is the release of Momentics IDE I am using. I am having the exactly same problem in my W10 desktop since an update of my W10 on 5/23. If you know the msys DLL archive, please tell me. &gt; &gt; Thanks, &gt; Tommy &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post119749 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Mon, 10 Jun 2019 17:19:00 GMT http://community.qnx.com/sf/go/post119750 Elena Laskavaia 2019-06-10T17:19:00Z post119749: Re: QNX Momentics IDE Build error (cygwin) http://community.qnx.com/sf/go/post119749 QNX® Momentics® Integrated Development Environment Version: 5.0.1 Build id: v201402230336 Shown above is the release of Momentics IDE I am using. I am having the exactly same problem in my W10 desktop since an update of my W10 on 5/23. If you know the msys DLL archive, please tell me. Thanks, Tommy Mon, 10 Jun 2019 17:12:15 GMT http://community.qnx.com/sf/go/post119749 Tommy Lee(deleted) 2019-06-10T17:12:15Z post119747: Re: C++14 Digit Separators flagged by Eclipse http://community.qnx.com/sf/go/post119747 &gt; It would not be possible to configure current parser to ignore this is &gt; this is major syntax incompatibly, it will be fixed in next major &gt; version of Momentics &gt; but I cannot comment now when it will be available. I suggest not to use &gt; this feature as it will break internal parsing which will affect syntax &gt; highlighting AND indexing of source code &gt; for purposes of navigation, refactoring, etc Definitely not the response I want to hear! C++14 is five years old, it's kind of discouraging to hear that the IDE needs a major release to pick up on this small feature. Worse yet that using it is going to break other features in Momentics. SIgh. -Mark Fri, 07 Jun 2019 18:09:15 GMT http://community.qnx.com/sf/go/post119747 Mark Nelson 2019-06-07T18:09:15Z post119746: Re: C++14 Digit Separators flagged by Eclipse http://community.qnx.com/sf/go/post119746 It would not be possible to configure current parser to ignore this is this is major syntax incompatibly, it will be fixed in next major version of Momentics but I cannot comment now when it will be available. I suggest not to use this feature as it will break internal parsing which will affect syntax highlighting AND indexing of source code for purposes of navigation, refactoring, etc On 2019-06-07 1:52 p.m., Mark Nelson wrote: &gt; We're building using qcc with C++14 features turned on. Everything works pretty well, but there is one annoyance. &gt; &gt; The Momentics IDE still flags the use of digit separators as a syntax error. &gt; &gt; So, for example, this line: &gt; &gt; verify_compiler&lt;uint32_t&gt; ( 0, 10, 0xFFFF'FFFFU ); &gt; &gt; Which compiles just fine and works as intended, gets an ugly yellow question mark in the IDE, with the flag "Bad character sequence encountered: 'FFFU'. &gt; &gt; AFAICT, this is because the eclipse IDE has a built-in C++ parser, and tht is what is used by Momentics for validation. &gt; &gt; This appears to have been fixed in Eclipse, although fairly recently: &gt; &gt; https://bugs.eclipse.org/bugs/show_bug.cgi?id=519062 &gt; &gt; My questions: 1) is there a workaround to make just this one problem disappear? 2) Is there a Momentics update that makes this go away. &gt; &gt; Maybe you have an answer 3) Configuration that does proper parsing as is, but I'm guessing that question is unanswerable. &gt; &gt; I'm using Version: 7.0.3.v201804261557 of Momentics. We're open to upgrading, but not unless we know this is fixed. &gt; &gt; -Mark &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post119745 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Fri, 07 Jun 2019 18:00:28 GMT http://community.qnx.com/sf/go/post119746 Elena Laskavaia 2019-06-07T18:00:28Z post119745: C++14 Digit Separators flagged by Eclipse http://community.qnx.com/sf/go/post119745 We're building using qcc with C++14 features turned on. Everything works pretty well, but there is one annoyance. The Momentics IDE still flags the use of digit separators as a syntax error. So, for example, this line: verify_compiler&lt;uint32_t&gt; ( 0, 10, 0xFFFF'FFFFU ); Which compiles just fine and works as intended, gets an ugly yellow question mark in the IDE, with the flag "Bad character sequence encountered: 'FFFU'. AFAICT, this is because the eclipse IDE has a built-in C++ parser, and tht is what is used by Momentics for validation. This appears to have been fixed in Eclipse, although fairly recently: https://bugs.eclipse.org/bugs/show_bug.cgi?id=519062 My questions: 1) is there a workaround to make just this one problem disappear? 2) Is there a Momentics update that makes this go away. Maybe you have an answer 3) Configuration that does proper parsing as is, but I'm guessing that question is unanswerable. I'm using Version: 7.0.3.v201804261557 of Momentics. We're open to upgrading, but not unless we know this is fixed. -Mark Fri, 07 Jun 2019 17:52:21 GMT http://community.qnx.com/sf/go/post119745 Mark Nelson 2019-06-07T17:52:21Z post119692: The ifs file stops working if the compression is enabled in QNX IDE http://community.qnx.com/sf/go/post119692 Hi There, I am using QNX Momentics IDE 4.7 with QNX650. I am trying to build a System Builder project. When the ifs file is generated using "No Compression", the generated file works absolutely fine and the system loads perfectly. But if we use any of the compression "Zlib", or "LZO" or "UCL", the ifs generated ifs when sent to the target system fails to boot. The output which we see is just "Hit Esc for .altboot............". I am just wondering what can wrong with just trying to compress the file. Thanks, Deepain Nayyar Thu, 02 May 2019 17:25:32 GMT http://community.qnx.com/sf/go/post119692 Deepain Nayyar(deleted) 2019-05-02T17:25:32Z post119665: Detect usb device events - alternate for usblauncher service http://community.qnx.com/sf/go/post119665 My requirement is an application should have a call back function registered with USB Stack/ Library which should be called for each USB device attachment/detachment. I have gone through the usblauncher service, But it seems like application needs to poll each device object for an event. I need some thing like a Network Middleware, which provides a library interface for an application. Wed, 17 Apr 2019 05:20:01 GMT http://community.qnx.com/sf/go/post119665 selva r 2019-04-17T05:20:01Z post119594: Re: a problem with sdp6.6 http://community.qnx.com/sf/go/post119594 Is libc.so.3 on the target? Wed, 20 Mar 2019 13:24:00 GMT http://community.qnx.com/sf/go/post119594 Elena Laskavaia 2019-03-20T13:24:00Z post119592: a problem with sdp6.6 http://community.qnx.com/sf/go/post119592 I have been using bsp-ti-am437x-gp_evm (version 6.6) downloaded from qnx website on the host sdp6.6 for several days. My host connected to the target board and I can communicate with target. I created a basic simple qnx c project, now I want to run the project on the target,but when I click 'run as' in the menu, the sdp6.6 prompted an error ''ldd fatal:could not load libc.so.3'. How can I solve this problem? Wed, 20 Mar 2019 08:51:51 GMT http://community.qnx.com/sf/go/post119592 Xiu Fan 2019-03-20T08:51:51Z post119591: a problem with sdp6.6 http://community.qnx.com/sf/go/post119591 I have been using bsp-ti-am437x-gp_evm (version 6.6) downloaded from qnx website on the host sdp6.6 for several days. My host connected to the target board and I can communicate with target. I created a basic simple qnx c project, now I want to run the project on the target,but when I click 'run as' in the menu, the sdp6.6 prompted an error ''ldd fatal:could not load libc.so.3'. How can I solve this problem? Wed, 20 Mar 2019 08:51:11 GMT http://community.qnx.com/sf/go/post119591 Xiu Fan 2019-03-20T08:51:11Z post119504: Re: Digitally signed build tools http://community.qnx.com/sf/go/post119504 Host tools binary are not digitially signed for performance reasons, however the package containing tools is signed and you can run QSC Software Validator to check that checksums of files on disk match one posted. You can use Validate button in Advanced tab Tue, 12 Feb 2019 14:30:00 GMT http://community.qnx.com/sf/go/post119504 Elena Laskavaia 2019-02-12T14:30:00Z post119503: Digitally signed build tools http://community.qnx.com/sf/go/post119503 Hello, I have been performing some benchmarking on our build process with Momentics 7.0.3 and found that only the QNX software center executable is digitally signed. The build tools in qnx700\host\* are not digitally signed - is there any plan to release updated build tools which are digitally signed? Thanks, Aaron Tue, 12 Feb 2019 14:24:41 GMT http://community.qnx.com/sf/go/post119503 Aaron Husz(deleted) 2019-02-12T14:24:41Z post119381: Re: Code Coverage source mapping for external shared library (IDE7) http://community.qnx.com/sf/go/post119381 Igor, From what I understand, you want to view the coverage results for a shared library without the project for that library having to be imported in the workspace. The source code is unfortunately required to generate the .gcda file that is produced on the target and then used by the IDE. The closest you will be able to get to your request is linking the shared library with -L/-l as you mentioned, add the library project to the workspace, and under the coverage tab of the launch configuration uncheck “All sources compiled with code coverage”, click the “Select…” button and select the referenced library project. Best, Adam Thu, 03 Jan 2019 19:47:04 GMT http://community.qnx.com/sf/go/post119381 Adam Ward 2019-01-03T19:47:04Z post119374: Re: Latest update http://community.qnx.com/sf/go/post119374 It was our mistake, it should not be on update site, if you encounter any issues please re-install official version On 2018-12-20 5:10 p.m., Mario Charest wrote: &gt; ping. &gt; &gt;&gt; Elena, &gt;&gt; &gt;&gt; The release notes are about Build 7.0.3 201804261557. I'm looking for the one &gt;&gt; about 7.0.3.v201811261353. &gt;&gt; &gt;&gt; - com.qnx.tools.ide_7.0.3.v201811261353 &gt;&gt; - com.qnx.doc.ide.userguide_3.0.0.20181126 &gt;&gt; - com.qnx.tools.ide.momentics_7.0.3.v201811261353 &gt;&gt; - com.qnx.tools.ide.momentics.ide.executable.gtk.linux.x86_64_7.0.3. &gt;&gt; v201811261353 &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post119372 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Fri, 21 Dec 2018 15:05:51 GMT http://community.qnx.com/sf/go/post119374 Elena Laskavaia 2018-12-21T15:05:51Z post119373: Re: Latest update http://community.qnx.com/sf/go/post119373 Huh? Where did you get it? On 2018-12-20 5:10 p.m., Mario Charest wrote: &gt; ping. &gt; &gt;&gt; Elena, &gt;&gt; &gt;&gt; The release notes are about Build 7.0.3 201804261557. I'm looking for the one &gt;&gt; about 7.0.3.v201811261353. &gt;&gt; &gt;&gt; - com.qnx.tools.ide_7.0.3.v201811261353 &gt;&gt; - com.qnx.doc.ide.userguide_3.0.0.20181126 &gt;&gt; - com.qnx.tools.ide.momentics_7.0.3.v201811261353 &gt;&gt; - com.qnx.tools.ide.momentics.ide.executable.gtk.linux.x86_64_7.0.3. &gt;&gt; v201811261353 &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post119372 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Fri, 21 Dec 2018 13:54:42 GMT http://community.qnx.com/sf/go/post119373 Elena Laskavaia 2018-12-21T13:54:42Z post119372: Re: RE: Latest update http://community.qnx.com/sf/go/post119372 ping. &gt; Elena, &gt; &gt; The release notes are about Build 7.0.3 201804261557. I'm looking for the one &gt; about 7.0.3.v201811261353. &gt; &gt; - com.qnx.tools.ide_7.0.3.v201811261353 &gt; - com.qnx.doc.ide.userguide_3.0.0.20181126 &gt; - com.qnx.tools.ide.momentics_7.0.3.v201811261353 &gt; - com.qnx.tools.ide.momentics.ide.executable.gtk.linux.x86_64_7.0.3. &gt; v201811261353 Thu, 20 Dec 2018 22:10:44 GMT http://community.qnx.com/sf/go/post119372 Mario Charest 2018-12-20T22:10:44Z post119356: Re: RE: Latest update http://community.qnx.com/sf/go/post119356 Elena, The release notes are about Build 7.0.3 201804261557. I'm looking for the one about 7.0.3.v201811261353. - com.qnx.tools.ide_7.0.3.v201811261353 - com.qnx.doc.ide.userguide_3.0.0.20181126 - com.qnx.tools.ide.momentics_7.0.3.v201811261353 - com.qnx.tools.ide.momentics.ide.executable.gtk.linux.x86_64_7.0.3.v201811261353 Thu, 13 Dec 2018 21:30:59 GMT http://community.qnx.com/sf/go/post119356 Mario Charest 2018-12-13T21:30:59Z post119355: RE: Latest update http://community.qnx.com/sf/go/post119355 http://www.qnx.com/download/feature.html?programid=36515 ________________________________________ From: Mario Charest [community-noreply@qnx.com] Sent: Thursday, December 13, 2018 1:29 PM To: general-ide Subject: Latest update Is there any release notes somewhere about the recent Momentics update ? Thanks _______________________________________________ General http://community.qnx.com/sf/go/post119354 To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Thu, 13 Dec 2018 20:34:59 GMT http://community.qnx.com/sf/go/post119355 Elena Laskavaia 2018-12-13T20:34:59Z post119354: Latest update http://community.qnx.com/sf/go/post119354 Is there any release notes somewhere about the recent Momentics update ? Thanks Thu, 13 Dec 2018 18:29:01 GMT http://community.qnx.com/sf/go/post119354 Mario Charest 2018-12-13T18:29:01Z post119313: Can QNX 6.5.0 and 6.5.0 SP1 SDP coexist on the same PC? http://community.qnx.com/sf/go/post119313 We are in the process of upgrading our product to 6.5.0 SP1. We have many earlier versions of our product in the field that were build with the base 6.5.0. Occasionally, to diagnose field problems, I will have to revert back to the base build to debug. Is there a way to have both products installed and switch between the two? Thu, 29 Nov 2018 18:03:18 GMT http://community.qnx.com/sf/go/post119313 Daniel McKean 2018-11-29T18:03:18Z post119299: Code Coverage source mapping for external shared library (IDE7) http://community.qnx.com/sf/go/post119299 Dear QNX team! Could you please describe, what is the right way to analyze code coverage for external library? (under 'external' i mean that is not a part of current IDE's workspace). Example 1 (working): - two projects in Workspace: projectApp and projectSharedLib, both compiled with Code Coverage enabled. - i set up "Source", "Upload" and "Libraries" tabs in Lauch Configuration - Profit! In "QNX Analysis" perspective i see both application and shared library, can even F3 to shared library's code from application's code, code coverage information is available for both app and library. Example 2 (considered non-working): - projectApp project using external mylib.so library (library was also built with Code Coverage, but only .so and source code available in some separate directory. E.g. /data/mylib.so, /data/mylib.gcno, /data/src/mylib.c and /data/src/mylib.h) - i attach library to project using -l/-L in Makefile (or Linker tab when using QNX Legacy Recursive Makefile projects) - i set up "Source" (see comments below), "Upload" and "Libraries" tabs in Lauch Configuration - No profit. Application is executed, code coverage info itself is generated at target platform (i see all required .gcda files in target's /tmp/projectApp@host/... directory), but in "QNX Analysis" i see only projectApp and its source, neither i can F3 to shared library's function. I've tried almost all "Source Lookup Path" variants at "Source" tab (Compilation Directory, File System Directory, Path Mapping...), but with no result. It's also not possible to set path to external sources at "Coverage" tab within "Collect data for..." section (only this workspace's projects are available for choice). It would be great if you could help with some brief instruction or (even better) principles IDE follows when it searches for .c/.gcno files for executable being analyzed (or maybe there's some QDE debugging mode where it shows all - even unsuccessful - attempts to open required files) Thank you in advance! Regards, Igor Thu, 22 Nov 2018 12:53:45 GMT http://community.qnx.com/sf/go/post119299 Igor Rondarev 2018-11-22T12:53:45Z post119019: "gcc" not found in Discovery Options http://community.qnx.com/sf/go/post119019 Hi, In my IDE for QNX 7.0 when I compile my solution I am left with an error 'Program "gcc" not found in PATH'. The IDE is obviously finding the make files and using the gcc as it builds correctly. How do I stop this error occuring. I have tried adding a path in the make C++ Make Project/Environment tab but it makes no difference. Can I change the Discovery Profile in teh Discovery Options tab to something where it doesn't use this. Thanks, Jane Mon, 30 Jul 2018 08:23:04 GMT http://community.qnx.com/sf/go/post119019 Jane Blewitt(deleted) 2018-07-30T08:23:04Z post119016: Re: Not able to access floating licence http://community.qnx.com/sf/go/post119016 What version of sw is that? License file located in ~/.qnx/license/licenses if you have QNX_CONIFIGURATION variable set it will use it instead. This message indicates that IDE cannot find license file or license for the product you are using. If it flex failure would be a different message Thu, 26 Jul 2018 14:11:39 GMT http://community.qnx.com/sf/go/post119016 Elena Laskavaia 2018-07-26T14:11:39Z post119015: Not able to access floating licence http://community.qnx.com/sf/go/post119015 I am having QNX login and i can see my license assigned In our company we use floating license from server i have over rided the path by lmpath -override qnxlm address_of_license_server but even i am getting access error as attached image Please help me if some one know or any clue Thu, 26 Jul 2018 13:56:25 GMT http://community.qnx.com/sf/go/post119015 Jayaprakash veluswamy 2018-07-26T13:56:25Z post118913: Re: My IDE will only Build with QNX6.3.2. and not QNX7.0 http://community.qnx.com/sf/go/post118913 Hi Elena, You are right. I looked in Project/Properties/C C++ Make Project/Environment and it was all pointing to QNX632. I have changed the environment variables to point to my qnx7 and it builds now using QNX 7. Thank you so much - its been driving me mad. Jane Thu, 05 Jul 2018 13:52:37 GMT http://community.qnx.com/sf/go/post118913 Jane Blewitt(deleted) 2018-07-05T13:52:37Z post118912: Re: My IDE will only Build with QNX6.3.2. and not QNX7.0 http://community.qnx.com/sf/go/post118912 What kind of project is that? It may also depends on make or build system you using on what vars it reads. Some kinds of project have their own Env vars or Build vars which can override system settings. You can try project -&gt; Properties and check though prefs to see if there anything that override global env vars in settings. If its make you try to run from command line to see if it works correctly on command line. Thu, 05 Jul 2018 13:22:29 GMT http://community.qnx.com/sf/go/post118912 Elena Laskavaia 2018-07-05T13:22:29Z post118911: My IDE will only Build with QNX6.3.2. and not QNX7.0 http://community.qnx.com/sf/go/post118911 I have QNX7.0 and Momentics IDE Version 7.0.2v201710042038. I have imported my project into the IDE, added a Window/Preferences/QNX SDK selection for QNX7. I have run the qnxsdp-env.bat file before opening the IDE and removed all references to QNX6.3.2 from the Path from the command line. Yet the IDE always uses a path to QNX6.3.2 (I also have QNX6.3.2 on my computer as we use that for older projects which I use with an earlier IDE). I can build my project successfully from the command line with QNX7.0 but does anybody know how I can get the IDE to build using QNX7.0? Best Regards, Jane Thu, 05 Jul 2018 12:43:35 GMT http://community.qnx.com/sf/go/post118911 Jane Blewitt(deleted) 2018-07-05T12:43:35Z post118894: Running QNX 7 in VMWare ESXi http://community.qnx.com/sf/go/post118894 Has anyone had any experience running QNX 7 as a guest in VMWare ESXi? Did it work well? Not that well? Issues? Fri, 22 Jun 2018 04:14:18 GMT http://community.qnx.com/sf/go/post118894 Tim Fischer(deleted) 2018-06-22T04:14:18Z post118873: Re: Building sample application on QNX Momentics IDE 7.0.3 and executing binary on Neutrino 6.5 qnx rtos as guest os http://community.qnx.com/sf/go/post118873 Hi, Wed, 13 Jun 2018 05:38:52 GMT http://community.qnx.com/sf/go/post118873 Mateo Guzman 2018-06-13T05:38:52Z post118871: Re: Building sample application on QNX Momentics IDE 7.0.3 and executing binary on Neutrino 6.5 qnx rtos as guest os http://community.qnx.com/sf/go/post118871 If you configured networking and terminal support on your guest os it should be no different then running in on hardware directly, use getting started IDE guide, http://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.momentics_quickstart/about.html Mon, 11 Jun 2018 13:42:25 GMT http://community.qnx.com/sf/go/post118871 Elena Laskavaia 2018-06-11T13:42:25Z post118870: Building sample application on QNX Momentics IDE 7.0.3 and executing binary on Neutrino 6.5 qnx rtos as guest os http://community.qnx.com/sf/go/post118870 Hi, I have downloaded and installed the Qnx IDE 7.0.3 on my host windows machine and also installed neutrino 6.5 RTOS as guest OS using vmware on windows machine. Now I want to build the sample application on QNX ide and execute the executable on the Neutrino RTOS OS. could any one help me how to compile and run sample application as executable on Qnx Neutrino 6.5 Guest OS. Thanks, Mateo Mon, 11 Jun 2018 13:30:06 GMT http://community.qnx.com/sf/go/post118870 Mateo Guzman 2018-06-11T13:30:06Z post118457: Re: RE: Change Editor Text Size in Eclipse http://community.qnx.com/sf/go/post118457 Thank you! Your a lifesaver as I was contemplating having to re-install Eclipse. Tim Wed, 24 Jan 2018 22:03:23 GMT http://community.qnx.com/sf/go/post118457 Tim Sowden(deleted) 2018-01-24T22:03:23Z post118455: RE: Change Editor Text Size in Eclipse http://community.qnx.com/sf/go/post118455 Try CTRL-SHIFT-PLUS. Yeah, it's not intuitive, it's looking for the actual plus character and not just the key. Sorry about that. Doug. &gt; -----Original Message----- &gt; From: Tim Sowden(deleted) [mailto:community-noreply@qnx.com] &gt; Sent: Wednesday, January 24, 2018 4:53 PM &gt; To: general-ide &lt;general-ide@community.qnx.com&gt; &gt; Subject: Change Editor Text Size in Eclipse &gt; &gt; In the Momentics / Eclipse Text editor I hit CTRL-Minus trying to undo &gt; (forgetting I'm not in JED) my last edit. &gt; &gt; This causes the font size to shrink. I hit CTRL-Plus expecting to go back but it &gt; didn't. I hit CTRL-Minus again to confirm what I did and it shrank again. Now my &gt; text size is too small to read :( &gt; &gt; I closed and re-opened Momentics / Eclipse hoping against hope that it wasn't &gt; saved but of course it is. Now my editor in Eclipse is useless. &gt; &gt; Does anyone know how (keystroke sequence) to increase the text size in the &gt; editor? &gt; &gt; If it matters I'm using Momentics / Eclipse on a Windows host and about says: &gt; Momentics® Integrated Development Environment &gt; &gt; Version: 7.0.0.v201705161739 &gt; &gt; (c) Copyright QNX Software Systems Limited 2002-2017. All rights reserved. &gt; Visit http://www.qnx.com/ &gt; &gt; TIA, &gt; &gt; Tim &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post118454 &gt; To cancel your subscription to this discussion, please e-mail general-ide- &gt; unsubscribe@community.qnx.com Wed, 24 Jan 2018 22:00:03 GMT http://community.qnx.com/sf/go/post118455 Doug Schaefer 2018-01-24T22:00:03Z post118454: Change Editor Text Size in Eclipse http://community.qnx.com/sf/go/post118454 In the Momentics / Eclipse Text editor I hit CTRL-Minus trying to undo (forgetting I'm not in JED) my last edit. This causes the font size to shrink. I hit CTRL-Plus expecting to go back but it didn't. I hit CTRL-Minus again to confirm what I did and it shrank again. Now my text size is too small to read :( I closed and re-opened Momentics / Eclipse hoping against hope that it wasn't saved but of course it is. Now my editor in Eclipse is useless. Does anyone know how (keystroke sequence) to increase the text size in the editor? If it matters I'm using Momentics / Eclipse on a Windows host and about says: Momentics® Integrated Development Environment Version: 7.0.0.v201705161739 (c) Copyright QNX Software Systems Limited 2002-2017. All rights reserved. Visit http://www.qnx.com/ TIA, Tim Wed, 24 Jan 2018 21:52:53 GMT http://community.qnx.com/sf/go/post118454 Tim Sowden(deleted) 2018-01-24T21:52:53Z post118285: Re: photon editor can not be open http://community.qnx.com/sf/go/post118285 I don't think its supported any-more starting with 6.5 Mon, 18 Dec 2017 14:42:06 GMT http://community.qnx.com/sf/go/post118285 Elena Laskavaia 2017-12-18T14:42:06Z post118284: photon editor can not be open http://community.qnx.com/sf/go/post118284 Hello : I am new of qnx 6.5.0 sp1 , I am using qnx ide 4.7 2010 in kubuntu15.04 meet the timeout waiting for application build problem ,can anyone tell me how to fix it? I can not open the photo editor now. Mon, 18 Dec 2017 05:17:18 GMT http://community.qnx.com/sf/go/post118284 hu jiaqi 2017-12-18T05:17:18Z post118201: Re: QNX Software Center does not work properly http://community.qnx.com/sf/go/post118201 The folder .qnx/swupdate.zip failed to attach to the previous post, so I add it here. Tue, 14 Nov 2017 11:22:12 GMT http://community.qnx.com/sf/go/post118201 Pawel Maciag(deleted) 2017-11-14T11:22:12Z post118200: Re: QNX Software Center does not work properly http://community.qnx.com/sf/go/post118200 Hello David, thank you for your quick reply. I have already tried reinstalling SDP 7 and the problem persists. I did as you suggested with renaming the .qnx/swupdate folder. The result is that after running Software Center, I can see its process running in Task Manager, however nothing happens on the screen. Moreover, once I try running it again, I get the following warning (please see the attachment). Looks like my problem may have come from forcing the application to start? I also attached the .qnx/swupdate.zip folder. Kind regards, PM Tue, 14 Nov 2017 11:19:57 GMT http://community.qnx.com/sf/go/post118200 Pawel Maciag(deleted) 2017-11-14T11:19:57Z post118196: Re: QNX Software Center does not work properly http://community.qnx.com/sf/go/post118196 Hi Pawel, Sorry to see that you are having issues. Would it be possible for you to attach your log files located in your user directory under .qnx/swupdate? Looking at your screenshot it looks as though something is corrupted which is causing the UI to render incorrectly. Unfortunately your best bet is likely to clean out the working directory for Software Center. This will require you to reinstall SDP 7. Try renaming .qnx/swupdate to .qnx/swupdate.bak in your home folder and restarting Software Center. Thanks, David On 2017-11-13, 4:37 AM, "Pawel Maciag" &lt;community-noreply@qnx.com&gt; wrote: &gt;Hello, &gt;I have an academic license for QNX SDP 7.0. I downloaded package called &gt; QNX Software Center 1.1.1 Build 201709071435 - Windows Hosts from &gt;Software Center. Once I install it, I get both QNX Momentics and Software &gt;Center installed on my hard drive. &gt;I have an issue with Software Center - all I get is a grey field with no &gt;Welcome Screen, no other options, etc. I am not able to log into my QNX &gt;account at the startup of the application. Therefore I can't manage my &gt;license, nor install any additional software. &gt;I checked that I have Java software up to date. Does someone know what &gt;can be the issue? &gt; &gt;Regards, &gt;PM &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;General &gt;http://community.qnx.com/sf/go/post118195 &gt;To cancel your subscription to this discussion, please e-mail &gt;general-ide-unsubscribe@community.qnx.com Mon, 13 Nov 2017 18:15:39 GMT http://community.qnx.com/sf/go/post118196 David Cummings(deleted) 2017-11-13T18:15:39Z post118195: QNX Software Center does not work properly http://community.qnx.com/sf/go/post118195 Hello, I have an academic license for QNX SDP 7.0. I downloaded package called QNX Software Center 1.1.1 Build 201709071435 - Windows Hosts from Software Center. Once I install it, I get both QNX Momentics and Software Center installed on my hard drive. I have an issue with Software Center - all I get is a grey field with no Welcome Screen, no other options, etc. I am not able to log into my QNX account at the startup of the application. Therefore I can't manage my license, nor install any additional software. I checked that I have Java software up to date. Does someone know what can be the issue? Regards, PM Mon, 13 Nov 2017 09:37:00 GMT http://community.qnx.com/sf/go/post118195 Pawel Maciag(deleted) 2017-11-13T09:37:00Z post118027: Re: Profiling in QNX / or From QNX Momentics http://community.qnx.com/sf/go/post118027 Hello Elena, Thank you for the instructive example and sorry for delay to reply. I am working on QNX 7 and I have built all the binaries for profiling. I guess from the example you gave that gprof doesn't handle multi-process and/or multi-thread profiling out of the box and I should implement more functionalities to handle the report generation. Maybe this helper http://sam.zoy.org/writings/programming/gprof.html in addition to your example can do the job. Thank you for your help I wonder why QNX didn't think of tools such as OProfile or Perf for profiling. Valgrind virtualization generates lots of overhead and can be unsuitable for embedded targets. Mon, 11 Sep 2017 08:40:27 GMT http://community.qnx.com/sf/go/post118027 Smail Bechiche(deleted) 2017-09-11T08:40:27Z post118025: Momentics, run configuration, libraries tab, <Uploading Paths> http://community.qnx.com/sf/go/post118025 How are the Shared Libraries Paths, &lt;Uploading Paths&gt; calculated in the run configuration? Sometimes I see paths that are not even referenced in the project and they are not part of the default paths for libs, sometimes I specify paths in Makefile LIBS variable (LIBS += -L&lt;path&gt;) and they are not part of the uploaded paths, sometimes I don't even see the &lt;Uploading Paths&gt;. Can you, please, specify the rules? Fri, 08 Sep 2017 16:35:22 GMT http://community.qnx.com/sf/go/post118025 Sorin Lazareanu 2017-09-08T16:35:22Z post118019: Re: Code coverage and java.lang.NullPointerException http://community.qnx.com/sf/go/post118019 Received below work around suggestions from QNX and solved the null pointer exception in IDE 5.0.1 and IDE 7.0. Work around solution for NULL Pointer exception: ------------------------------------------------------------------------ The problem can be a bug in the IDE that we noticed recently in the IDE 7.0. The code for 6.6 appears to have the same issue. Reference number is jira 2221099. The issue seems to be that the name of the folder where the coverage project is stored on disk does not match the name of the coverage project in the IDE. The hope is to have this fixed by the next release of Momentics, but the workaround is to rename the coverage project in the IDE to match the name of its containing folder on disk. Can this be your problem? Please make sure the IDE project name and the name on the disk match. Thu, 07 Sep 2017 14:37:27 GMT http://community.qnx.com/sf/go/post118019 Murugaiyan Perumal 2017-09-07T14:37:27Z post118009: Re: Profiling in QNX / or From QNX Momentics http://community.qnx.com/sf/go/post118009 It really depends on what qnx version you have, how you exec/spawn, and how you launch it Without knowing it general notes 1) If you launch from IDE uncheck Remove on exit in profile prefs in IDE if you want to preserve .ptrace files, otherwise IDE will delete it 2) Stop profiling singnal is actually to PAUSE profiling not to kill the process, if process died means handler is not installed which can happen for few reasons, see below 3) Depending how you exec you may or not may not get children be profiled, a) child has to be also instrumented for profiling b) you have to pass same env to trigger profiling, except QPROF_FILE, it has to be modified otherwise child will re-open and wipe parent session. Secondary files have to be Imported in IDE after the session using profiling import 4) If you fork and not exec trace file will be shared creating a mess This is my example than works qnxexehello.c #include &lt;stdio.h&gt; #include &lt;stdlib.h&gt; #include &lt;unistd.h&gt; #include &lt;string.h&gt; void fun(char * mess) { puts(mess); sleep(5); } void fun2(char * mess) { puts(mess); } int main(int argc, char * argv[]) { fun2("start"); int count = 0; if (argc &gt;= 2) count = atoi(argv[1]); char* var = getenv("QPROF_FILE"); printf("Hello World!!! %d %d\n", count, getpid()); /* prints Hello World!!! */ if (var != NULL) { printf("QPROF_FILE=%s\n", var); } else { printf("QPROF_FILE is not set\n"); } fun("continue"); if (count &lt;= 0) { fun2("sending stop"); fun("the end"); exit(0); } count--; int pid = fork(); if (pid==0) { fun("foo1"); fun2("foo2"); char scount[10]; char * xargv[] = { "/tmp/qnxexehello", scount, NULL }; sprintf(scount, "%d", count); if (var != NULL) { char * p = strstr(var, "prof"); if (p != NULL) { sprintf(p, "prof%d.ptrace", getpid()); } } int rc = execv(xargv[0], xargv); printf("went wrong rc=%d\n", rc); } else { fun("boo1"); fun("boo2"); } return EXIT_SUCCESS; } Fri, 01 Sep 2017 15:19:59 GMT http://community.qnx.com/sf/go/post118009 Elena Laskavaia 2017-09-01T15:19:59Z post118008: Profiling in QNX / or From QNX Momentics http://community.qnx.com/sf/go/post118008 Many problems regarding profiling applications that spawn processes by fork() / exec() calls We build the project for "Function Instrumentation mode" i,e with the flags -finstrument-functions for compiler and -lprofilingS for the linker successfully. It's a server/client application (i,e while (1) { } but with proper termination signal handlers) Main app is "process1" has 2 threads and launches many child processes (with many threads for each) by fork() / exec() of other binaries in the same directory. (1 binary -&gt; 1 process with many threads usually) Use cases: 1- Profiling the main procecess from Momentics gives a report of more than 10 threads (has only 2) (gprof is known for its issues with multi-process applications). Many child processes are killed when the profiling session is launched. --------------------- example output: Process 335905 (child_appX) terminated SIGSEGV code=1 fltno=11 ip=00000000081373d5(/home/./child_appX@ld_imposter_get_backtrace+0x00000000000c7bd5) mapaddr=00000000000ef3d5. ref=0000000000000b50 Process 331803 (child_appY) terminated SIGSEGV code=1 fltno=11 ip=00000000081145ef(/home/./child_appY@ld_imposter_get_backtrace+0x00000000000a4dcf) mapaddr=00000000000cc5ef. ref=0000000000000010 Process 340002 (child_appZ) terminated SIGSEGV code=1 fltno=11 ip=00000000081145cf(/home/./child_appZ@ld_imposter_get_backtrace+0x00000000000a4dcf) mapaddr=00000000000cc5cf. ref=0000000000001690 -------------------- 2 - We want to obtain the .ptrace file of a child process. We set the env variables in this way: QPROF_AUTO_START=1 QPROF_SIG_CONT_PROFILING=16 QPROF_SIG_STOP_PROFILING=17 QPROF_FILE=/home/&lt;app_name&gt;.ptrace (all permissions are set for the dir /home) We launch the main application then after a while we send the signal 17 by the command : slay -s SIGUSR2 -S -v child_appX The child process terminates. We are given then the output: Process 340002 (child_appX) terminated SIGUSR2 code=0 by process 446495 value=0. But we can't find any .ptrace file anywhere. -------------------- 3 - Configuring a "Profile As" &gt;" C/C++ QNX Attach" session on a child process from Momentics gives no result but the termination of the child process (same as case 2). we also can't find any .ptrace file anywhere. -------------------- We have also many simple (one process , one thread with exit() calls or return from main() ) application that execute and exit successfully without generating any .ptrace file. Am I not using the profiling tools properly ? If it is a limitation for profiling , any workarounds for these problems ? Best Regards, Smail Fri, 01 Sep 2017 12:43:12 GMT http://community.qnx.com/sf/go/post118008 Smail Bechiche(deleted) 2017-09-01T12:43:12Z post117983: Re: Build variants with "Makefile project with existing code"? http://community.qnx.com/sf/go/post117983 I figured out how to do this. Configuring the project correctly is the key. If anyone wants my notes, just write! Fri, 25 Aug 2017 17:17:45 GMT http://community.qnx.com/sf/go/post117983 Jeffrey Percival(deleted) 2017-08-25T17:17:45Z post117972: Re: Code Coverage IDE7 http://community.qnx.com/sf/go/post117972 The coverage tool is only available in either "Run" or "Coverage" launch modes, there shouldn't be any additional setup required. If you're using the edit button in the launch bar then you'll need to make sure that you have the mode drop down set to "Coverage". If you're editing using the Run menu then you'll have to use "Run &gt; Run configurations...". Let me know if that fixes the issue you're seeing. As for the import dialog, does clicking finish hang the IDE or does it just do nothing? It could be a known issue where selecting certain versions of GCC cause an exception. In this case the wizard finish button will appear to do nothing and is not closeable unless you click cancel or go back and select a different version of GCC. If you could tell me what version of GCC is selected under the Data File Location page in the wizard and upload the IDE log file (located in the &lt;workspace root&gt;/.metadata/ folder) then that could help pinpoint what's going on. Tue, 22 Aug 2017 18:13:00 GMT http://community.qnx.com/sf/go/post117972 Matthew Bastien 2017-08-22T18:13:00Z post117971: Code Coverage IDE7 http://community.qnx.com/sf/go/post117971 Follow on from a different post about Code Coverage Issue: When Editing a Debug Configuration, under the Tools Tab, Code coverage option is disabled with the message "Code Coverage (not supported in this mode)". I suspect that is because it expects some sort of "known config with Code Coverage". We added code coverage to our cmake and create a config under Eclipse (Which we called WithCoverage). Got no idea how to make Eclipse be aware of it. Note that we are NOT using any cmake plug-in. When trying the import route, my note says it freeze at the last step in the import dialog, the one with "Referenced projects to include coverage data from". Pressing Finish would do nothing. The dialog would stay up forever. Have to press cancel Tue, 22 Aug 2017 17:20:02 GMT http://community.qnx.com/sf/go/post117971 Mario Charest 2017-08-22T17:20:02Z post117968: Re: Code coverage and java.lang.NullPointerException http://community.qnx.com/sf/go/post117968 With regards to issues with your cmake projects, if you could please let us know what issues you've encountered (either through this forum or your support channel) we'd like to help resolve them. We have another release of Momentics upcoming in which we're addressing several code coverage issues. Mon, 21 Aug 2017 14:02:34 GMT http://community.qnx.com/sf/go/post117968 David Cummings(deleted) 2017-08-21T14:02:34Z post117967: Re: Code coverage and java.lang.NullPointerException http://community.qnx.com/sf/go/post117967 Regarding reports its not true, if you generate HTML report with Momentics anybody can see it. HTML report is similar to what lcov would produce, but yes its not automatable now Mon, 21 Aug 2017 13:59:00 GMT http://community.qnx.com/sf/go/post117967 Elena Laskavaia 2017-08-21T13:59:00Z post117963: Re: Code coverage and java.lang.NullPointerException http://community.qnx.com/sf/go/post117963 Even with IDE7.0 your millage will varied, have not been able to get it working with all type of projects ( we use cmake ). That's why I went command line mode. Under linux lcov works great. Not as nice looking but you can adapt it to what ever methodology, plus you get the benefit of being able to automate it and produce resultat that a QC person can look at or for some tools to further analyse it. if you use Eclipse only someone with a Momentics license will be able to view the results. Thu, 17 Aug 2017 15:53:42 GMT http://community.qnx.com/sf/go/post117963 Mario Charest 2017-08-17T15:53:42Z post117962: Re: Code coverage and java.lang.NullPointerException http://community.qnx.com/sf/go/post117962 To resolve this problem it is necessary to install IDE 7.0.0 Thu, 17 Aug 2017 15:22:49 GMT http://community.qnx.com/sf/go/post117962 GUEDIDI Nizar 2017-08-17T15:22:49Z post117957: Build variants with "Makefile project with existing code"? http://community.qnx.com/sf/go/post117957 Hi! I've been using the QNX 6.3.2 Linux IDE to build code for an x86 target for years. Now I'm trying to make the switch to the QNX6.6 Linux IDE and build for an ARM target. I need to create a "Makefile project with existing code" to compile a 3rd-party library, but when I make it, I just see a bunch of x86 ".o" files. How do I switch the compile target from x86 to arm? I see that if I create a "QNX C" project, I have that selection, but the 3rd-party code is in a pretty complex folder structure and it would be easiest to try to compile it with its existing Makefiles. Is this possible? Fri, 11 Aug 2017 19:36:24 GMT http://community.qnx.com/sf/go/post117957 Jeffrey Percival(deleted) 2017-08-11T19:36:24Z post117932: Re: Code coverage report is generated for some shared library http://community.qnx.com/sf/go/post117932 I'm sure that I have enabled code coverage options for shared library 3 and 4 and shared library code is executed. Have added printf's to ensure that shared library code has been executed. Tue, 01 Aug 2017 01:42:20 GMT http://community.qnx.com/sf/go/post117932 Murugaiyan Perumal 2017-08-01T01:42:20Z post117931: Re: Code coverage report is generated for some shared library http://community.qnx.com/sf/go/post117931 Well generically there should not be any differences obviously, you have to check 1) library 3 and 4 are instrumented with code coverage, 2) the code from these libs is actually executed Mon, 31 Jul 2017 13:15:12 GMT http://community.qnx.com/sf/go/post117931 Elena Laskavaia 2017-07-31T13:15:12Z post117930: Code coverage report is generated for some shared library http://community.qnx.com/sf/go/post117930 I enabled code coverage options for the application and shared library. Application 1, shared library 1, shared library 2. I used the signal handler (SIGUSR2) in application 1 to execute the __gcov_flush. I can see the code coverage is generated for all the app files, shared library 1 and 2 source files. Similarly I enabled the code coverage options for application 2 and shared library. Application 2, shared library 3, shared library 4. I used the signal handler *SIGUSR2)in application 2 to trigger the __gcov_flush data. I can able to see the code coverage data only for application 2 not for the shared library 3 and 4. I'm running application 1 and 2 in single target which runs in QNX 6.6, x86 platform. Really don't understand why the code coverage data is generated for shared library 1 and 2 in application 1, why not code coverage data is not generated for shared library 3 and 4 for the application 2. I have also compared the make output in IDE for both application 1 and 2. The options are same for both application 1 and 2. I'm using the QNX IDE version 5.0.1. Please let me know why there is a differences code coverage data (gcda ) files are not generated for shared library 3 and 4. Mon, 31 Jul 2017 09:28:29 GMT http://community.qnx.com/sf/go/post117930 Murugaiyan Perumal 2017-07-31T09:28:29Z post117929: code coverage report is not generated http://community.qnx.com/sf/go/post117929 I created two application with code coverage enabled options. I setup the signal handler to call the __gcov_flush () if SIGUSR2 is triggered. I can see gcda files are generated for both applications. Application 1: Able to import the gcda files from target to host machine and can able to generate the code coverage data successfully without any error. Please see Applicaiton 1 No Issues file Application 2: Able to import the gcda files from target to host machine, I'm getting the http error 500 and null pointer exceptions while generate the report. I can able to see the code coverage information for source files correctly, the problem is not able to generate the coverage report. Please see Application 2 Null Pointer Exception file and Application 2 Properties Window. I have also attached log file of the IDE session. Please note that I'm using QNX6.6 which runs in x86 platform. Please help me to resolve why I'm getting null pointer exceptions while generating the code coverage data for application 2. _______________________________________________ General http://community.qnx.com/sf/go/post117928 To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Mon, 31 Jul 2017 09:17:43 GMT http://community.qnx.com/sf/go/post117929 Murugaiyan Perumal 2017-07-31T09:17:43Z post117928: code coverage report is not generated http://community.qnx.com/sf/go/post117928 I created two application with code coverage enabled options. I setup the signal handler to call the __gcov_flush () if SIGUSR2 is triggered. I can see gcda files are generated for both applications. Application 1: Able to import the gcda files from target to host machine and can able to generate the code coverage data successfully without any error. Please see Applicaiton 1 No Issues file Application 2: Able to import the gcda files from target to host machine, I'm getting the http error 500 and null pointer exceptions while generate the report. I can able to see the code coverage information for source files correctly, the problem is not able to generate the coverage report. Please see Application 2 Null Pointer Exception file and Application 2 Properties Window. I have also attached log file of the IDE session. Please note that I'm using QNX6.6 which runs in x86 platform. Please help me to resolve why I'm getting null pointer exceptions while generating the code coverage data for application 2. Mon, 31 Jul 2017 09:17:41 GMT http://community.qnx.com/sf/go/post117928 Murugaiyan Perumal 2017-07-31T09:17:41Z post117924: Re: Code coverage and java.lang.NullPointerException http://community.qnx.com/sf/go/post117924 I have also experiencing similar problem while launching code coverage from IDE. I'm using IDE version 5.0.1. I have attached the screen shot of an error. Also experiencing null pointer exception if generate the data from code coverage session. I can able to view the information in property window. But, the code coverage report ends with below error. HTTP ERROR: 500 Problem accessing /qnx-coverage/coverage. Reason: Exception occurred during ctor/Transformation: debug is false Parsing XSL Stylesheet Document from configuration: /webapp/WEB-INF/xslt/cov-html.xslt Performing transformation... javax.xml.transform.TransformerException: java.lang.NullPointerException Any suggestion to solve this issue ? &gt; Hello, &gt; &gt; We are trying to use the code coverage option in some of our projects using of &gt; QNX Momentics IDE 4.7 (QNX 6.5.0 SP1). But most of the time we have an error &gt; “java.lang.NullPointerException" while launching the program to the target. &gt; We tried to create new project dedicated to the coverage with our sources and &gt; sometime it works, but most of the time we still have the “java.lang. &gt; NullPointerException” error. &gt; &gt; You will found the log file of Momentics IDE and screen of the error. &gt; I have no idea what is causing this.... &gt; &gt; Any help would be greatly appreciated. &gt; &gt; Best regards, &gt; Nizar Sun, 30 Jul 2017 10:05:39 GMT http://community.qnx.com/sf/go/post117924 Murugaiyan Perumal 2017-07-30T10:05:39Z post117896: Warning about IDE7.0 available on Foundry http://community.qnx.com/sf/go/post117896 Hi, This is not the same as the one available in SDP7.0. They both report 7.0.0.v201705161739 after doing a "Check For Update" many componenent are of different revision. Project created in SDP7.0 might (at least that the case for me ) not work right when open with the IDE7.0 GA 03/24/2017 available on Foundry. Regards, Wed, 19 Jul 2017 16:58:04 GMT http://community.qnx.com/sf/go/post117896 Mario Charest 2017-07-19T16:58:04Z post117837: IDE 7.0 Repos http://community.qnx.com/sf/go/post117837 Hello, Is it possible to get a repos zip flavor of the QNX specific stuff of 7.0 Regards. Thu, 29 Jun 2017 15:21:16 GMT http://community.qnx.com/sf/go/post117837 Mario Charest 2017-06-29T15:21:16Z post117796: Re: IDE 7.0 GA Setting Environment Vars in the Debug settings http://community.qnx.com/sf/go/post117796 FYI: Seems to be doing it for other settings as well. There seem to be two copies, it feels like it is being cached in memory and not being updated when the debug configuration is modified. Thanks Kevin Sun, 18 Jun 2017 22:08:02 GMT http://community.qnx.com/sf/go/post117796 Kevin Stallard 2017-06-18T22:08:02Z post117786: RE: Unable to install any packages in QNZ Software Center http://community.qnx.com/sf/go/post117786 This is the wrong forum for that - I'd suggest contacting a QNX sales rep via e-mail. They are usually pretty quick to respond and get issues like this fixed. Thanks, -James -----Original Message----- From: Antonio Silverio [mailto:community-noreply@qnx.com] Sent: Monday, June 12, 2017 9:35 AM To: general-ide &lt;general-ide@community.qnx.com&gt; Subject: Unable to install any packages in QNZ Software Center Hi I have requested and received a 30 days trial license. The license is registered and I have also activated it manually I have downloaded QNX Softare Center, I am behind a proxy, so I have configured it together with my QNX account However I cannot find any suitable packages to install, the "Products Available for Download and Install" is empty, with only "There are no categorized items" If I double click on this row, I get a page with "License Key Selection", my trial license is there but there is a stp icon with "Invalid product type" It is a kind of this license is wrong/malfunctional I have also tried to generate a proxy certificate, without any benefits How can I move forward? Thanks, bye _______________________________________________ General http://community.qnx.com/sf/go/post117785 To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Mon, 12 Jun 2017 14:36:31 GMT http://community.qnx.com/sf/go/post117786 James Thomson(deleted) 2017-06-12T14:36:31Z post117785: Unable to install any packages in QNZ Software Center http://community.qnx.com/sf/go/post117785 Hi I have requested and received a 30 days trial license. The license is registered and I have also activated it manually I have downloaded QNX Softare Center, I am behind a proxy, so I have configured it together with my QNX account However I cannot find any suitable packages to install, the "Products Available for Download and Install" is empty, with only "There are no categorized items" If I double click on this row, I get a page with "License Key Selection", my trial license is there but there is a stp icon with "Invalid product type" It is a kind of this license is wrong/malfunctional I have also tried to generate a proxy certificate, without any benefits How can I move forward? Thanks, bye Mon, 12 Jun 2017 14:35:02 GMT http://community.qnx.com/sf/go/post117785 Antonio Silverio(deleted) 2017-06-12T14:35:02Z post117779: Re: IDE 7.0 GA Setting Environment Vars in the Debug settings http://community.qnx.com/sf/go/post117779 Cool. Thanks Kevin. We¹ll take a look at that and see what¹s happening. Cheers, Doug On 2017-06-07, 1:30 PM, "Kevin Stallard" &lt;community-noreply@qnx.com&gt; wrote: &gt;Hi, &gt; &gt;Want to say that I love the IDE 7.0. It is SO nice. We are using it &gt;with QNX 6.5 and QNX 6.6, and it integrates and uses the 6.5 tools with &gt;no effort. It has been great. Nice job. &gt; &gt;I am having one issue that I wanted to bring up. It isn't a show &gt;stopper, but if you aren't aware of it, I wanted to provide a description. &gt; &gt;If I create a Debug configuration and along with the other config &gt;settings I set up an environment variable (selecting Replace Native &gt;environment with specified environment), I see that variable and value &gt;when the binary runs if I launch the binary from the Debug Configurations &gt;Dialog. &gt; &gt;If I run the binary using the little bug symbol in the drop down &gt;(selecting the same configuration I just created), the Environment &gt;variable is not replaced by the one specified in the configuration dialog. &gt; &gt;Nothing urgent, but wanted to point it out. &gt; &gt;Thanks &gt;Kevin &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;General &gt;http://community.qnx.com/sf/go/post117778 &gt;To cancel your subscription to this discussion, please e-mail &gt;general-ide-unsubscribe@community.qnx.com Wed, 07 Jun 2017 18:20:52 GMT http://community.qnx.com/sf/go/post117779 Doug Schaefer 2017-06-07T18:20:52Z post117778: IDE 7.0 GA Setting Environment Vars in the Debug settings http://community.qnx.com/sf/go/post117778 Hi, Want to say that I love the IDE 7.0. It is SO nice. We are using it with QNX 6.5 and QNX 6.6, and it integrates and uses the 6.5 tools with no effort. It has been great. Nice job. I am having one issue that I wanted to bring up. It isn't a show stopper, but if you aren't aware of it, I wanted to provide a description. If I create a Debug configuration and along with the other config settings I set up an environment variable (selecting Replace Native environment with specified environment), I see that variable and value when the binary runs if I launch the binary from the Debug Configurations Dialog. If I run the binary using the little bug symbol in the drop down (selecting the same configuration I just created), the Environment variable is not replaced by the one specified in the configuration dialog. Nothing urgent, but wanted to point it out. Thanks Kevin Wed, 07 Jun 2017 17:30:53 GMT http://community.qnx.com/sf/go/post117778 Kevin Stallard 2017-06-07T17:30:53Z post117704: Re: Changing a variable value through command prompt? http://community.qnx.com/sf/go/post117704 Thanks, that sounds like a good place to start. Wed, 03 May 2017 18:37:25 GMT http://community.qnx.com/sf/go/post117704 Edgardo Torres-Villa(deleted) 2017-05-03T18:37:25Z post117703: Re: Changing a variable value through command prompt? http://community.qnx.com/sf/go/post117703 Yeah it makes a lot more sense. You can use command line gdb (of specific architecture of your target) then you write gdb script which will a) connect to target b) attach to process c) change value of variable d) detach I think you can do it all using .gdbinit file, I don't have specific of command to use but its doable. Check gdb command line docs (not necessary qnx specific). Qnx specific step will be a) On 2017-05-03 02:29 PM, Edgardo Torres-Villa wrote: &gt; Sorry, I am trying to change the value while the program is running on a device. I am able to do so through the IDE's debugger. I figured there could be a way to do the same without doing it manually on the IDE. Does that make more sense? &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post117702 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Wed, 03 May 2017 18:34:28 GMT http://community.qnx.com/sf/go/post117703 Elena Laskavaia 2017-05-03T18:34:28Z post117702: Re: Changing a variable value through command prompt? http://community.qnx.com/sf/go/post117702 Sorry, I am trying to change the value while the program is running on a device. I am able to do so through the IDE's debugger. I figured there could be a way to do the same without doing it manually on the IDE. Does that make more sense? Wed, 03 May 2017 18:29:43 GMT http://community.qnx.com/sf/go/post117702 Edgardo Torres-Villa(deleted) 2017-05-03T18:29:43Z post117701: Re: Changing a variable value through command prompt? http://community.qnx.com/sf/go/post117701 Sorry but the way this worded makes no sense. Please elaborate. You trying to change value in source code by editing source code? Or you trying to change value while program is running on the device? In any of the cases above it has nothing to do with IDE. On 2017-05-03 02:21 PM, Edgardo Torres-Villa wrote: &gt; Hello, &gt; &gt; My end goal is to be able to update a static variable's value in QNX Momentics(IDE 4.7) through an external program (.exe). &gt; I figured there may be a way through window's command prompt. Is this possible? If so, how? Perhaps there could be a better way. Does QNX have an API library I could use to complete this task? &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post117700 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Wed, 03 May 2017 18:25:58 GMT http://community.qnx.com/sf/go/post117701 Elena Laskavaia 2017-05-03T18:25:58Z post117700: Changing a variable value through command prompt? http://community.qnx.com/sf/go/post117700 Hello, My end goal is to be able to update a static variable's value in QNX Momentics(IDE 4.7) through an external program (.exe). I figured there may be a way through window's command prompt. Is this possible? If so, how? Perhaps there could be a better way. Does QNX have an API library I could use to complete this task? Wed, 03 May 2017 18:21:47 GMT http://community.qnx.com/sf/go/post117700 Edgardo Torres-Villa(deleted) 2017-05-03T18:21:47Z post117698: Re: Momentics ignores user added includes at build time http://community.qnx.com/sf/go/post117698 For QNX Executable projects, you need to add the include path in the Makefile. There are a couple of lines commented out there that shows you how. For xapmle: INCLUDES += -I/path/to/abcheader On 2017-05-02, 5:38 PM, "Sorin Lazareanu" &lt;community-noreply@qnx.com&gt; wrote: &gt;Steps to reproduce: &gt;Create a Project Explorer &gt; New &gt; QNX Project, select QNX Executable. &gt;Observe the buit-in includes. &gt;Select the project in Project Explorer &gt; Properties &gt; C/C++ General &gt; &gt;Paths and Symbols &gt; Includes .&gt; GNU C &gt; Add &gt; add a directory containing &gt;abc.h and add an include line in the cpp file. &gt;Project &gt; Build Project &gt;CDT Build console reports &gt;qcc .... &gt;src/QNXExecutable.cpp:... fatal error: abc.h: No such file or directory. &gt; &gt;Please help. &gt; &gt; &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;General &gt;http://community.qnx.com/sf/go/post117695 &gt;To cancel your subscription to this discussion, please e-mail &gt;general-ide-unsubscribe@community.qnx.com Wed, 03 May 2017 14:39:11 GMT http://community.qnx.com/sf/go/post117698 Doug Schaefer 2017-05-03T14:39:11Z post117697: Re: Momentics ignores user added includes at build time http://community.qnx.com/sf/go/post117697 If you Have QNX Project includes are managed by Properties-&gt; QNX C/C++ Project -&gt; Compiler tab The includes in the other places are purely for internal index and has no impact on compilation (technically this preference page should not be even visible I think its a bug) Wed, 03 May 2017 14:05:36 GMT http://community.qnx.com/sf/go/post117697 Elena Laskavaia 2017-05-03T14:05:36Z post117695: Momentics ignores user added includes at build time http://community.qnx.com/sf/go/post117695 Steps to reproduce: Create a Project Explorer &gt; New &gt; QNX Project, select QNX Executable. Observe the buit-in includes. Select the project in Project Explorer &gt; Properties &gt; C/C++ General &gt; Paths and Symbols &gt; Includes .&gt; GNU C &gt; Add &gt; add a directory containing abc.h and add an include line in the cpp file. Project &gt; Build Project CDT Build console reports qcc .... src/QNXExecutable.cpp:... fatal error: abc.h: No such file or directory. Please help. Tue, 02 May 2017 21:38:44 GMT http://community.qnx.com/sf/go/post117695 Sorin Lazareanu 2017-05-02T21:38:44Z post117661: Re: QNX SP1 is removing files from the base installation http://community.qnx.com/sf/go/post117661 Its what I get for not reading the install notes....thank you :) Kevin Thu, 20 Apr 2017 23:21:52 GMT http://community.qnx.com/sf/go/post117661 Kevin Stallard 2017-04-20T23:21:52Z post117595: Re: QNX SP1 is removing files from the base installation http://community.qnx.com/sf/go/post117595 Hi Kevin, Yes, this is a known issue. It's mentioned it 6.5.0SP1 release notes: -------------------------- If you just installed QNX SDP 6.5.0, be sure to log out and back in again before you install Service Pack 1. If you don't, the environment won't be set up properly, and some files might not be installed properly. -------------------------- On Ubuntu systems you will have to use "sudo -E ./&lt;650SP1-installer&gt;" to launch the Service Pack 1 installer. Did you follow these steps to install 650SP1 and still got the corrupt installation? If you missed any of these steps, you'll need to uninstall 650SP1 using the cleanup utility, then install 6.5.0. Then log out/ log back in. Run “sudo –E ./&lt;650SP1-installer&gt;” to install the service pack. Let me know if you have any questions, Natalia Mon, 03 Apr 2017 14:05:12 GMT http://community.qnx.com/sf/go/post117595 Natalia Miyusova 2017-04-03T14:05:12Z post117443: QNX SP1 is removing files from the base installation http://community.qnx.com/sf/go/post117443 If I install QNX 6.5.0 and then QNX 6.5.0 SP1, numerous files are removed. Specifically all the files in the usr/include/mk directory as well as such files as sys/rsrcdbmgr.h I don't have a complete list, but this has happened on multiple occasions. I'm installing in Linux (Ubuntu). Has anyone else seen this? Thanks Kevin Thu, 23 Feb 2017 20:52:12 GMT http://community.qnx.com/sf/go/post117443 Kevin Stallard 2017-02-23T20:52:12Z post117378: Code coverage and java.lang.NullPointerException http://community.qnx.com/sf/go/post117378 Hello, We are trying to use the code coverage option in some of our projects using of QNX Momentics IDE 4.7 (QNX 6.5.0 SP1). But most of the time we have an error “java.lang.NullPointerException" while launching the program to the target. We tried to create new project dedicated to the coverage with our sources and sometime it works, but most of the time we still have the “java.lang.NullPointerException” error. You will found the log file of Momentics IDE and screen of the error. I have no idea what is causing this.... Any help would be greatly appreciated. Best regards, Nizar Wed, 25 Jan 2017 11:04:52 GMT http://community.qnx.com/sf/go/post117378 GUEDIDI Nizar 2017-01-25T11:04:52Z post117315: Re: ELF file issues http://community.qnx.com/sf/go/post117315 &gt; In the .TAR file space though its executing some code is it not? I don't want &gt; to waste my time trying to sniff through assembly language code if its just &gt; giving me header information about the ELF file itself. I was told these &gt; processes located in the .TAR perform an operation. If I use one of these &gt; utilities I just want to make sure im looking at the application code that is &gt; performing the work and not some ELF file header information. &gt; I am sorry I cannot help you what you saying does not make any sense. Tar is file archive container it does not execute any code. I suggest you talk to your supervisor or colleagues about your issues first. Thu, 05 Jan 2017 18:18:35 GMT http://community.qnx.com/sf/go/post117315 Elena Laskavaia 2017-01-05T18:18:35Z post117314: Re: ELF file issues http://community.qnx.com/sf/go/post117314 In the .TAR file space though its executing some code is it not? I don't want to waste my time trying to sniff through assembly language code if its just giving me header information about the ELF file itself. I was told these processes located in the .TAR perform an operation. If I use one of these utilities I just want to make sure im looking at the application code that is performing the work and not some ELF file header information. Thu, 05 Jan 2017 18:11:58 GMT http://community.qnx.com/sf/go/post117314 jimmy flanagan(deleted) 2017-01-05T18:11:58Z post117313: Re: ELF file issues http://community.qnx.com/sf/go/post117313 There is also ntox86-objdump, assuming they are x86 executable. Good luck. Thu, 05 Jan 2017 17:55:42 GMT http://community.qnx.com/sf/go/post117313 Mario Charest 2017-01-05T17:55:42Z post117312: Re: ELF file issues http://community.qnx.com/sf/go/post117312 ELF files are binary files. There is no source code that stored in them. If you can convert them to assembly using readelf utility if you good with assembler code. Thu, 05 Jan 2017 17:49:01 GMT http://community.qnx.com/sf/go/post117312 Elena Laskavaia 2017-01-05T17:49:01Z post117311: ELF file issues http://community.qnx.com/sf/go/post117311 Just downloaded QNX and trying to understand it. I have a bunch of ELF files. I'm trying to understand if there is any way I can open them and see the source code that is stored in them if any. I'm trying to run these processes in the BIN folder but I have no idea where to start. Is there a way to see the source code? Maybe dis assembly them or de compile them? Do I have to do something with all SO files in the LIB folder? When I open them up with IDE I got some characters I can read and the format looks good but most of it is gibberish characters. See attached images of the file I am looking at. Thank you in advance Thu, 05 Jan 2017 17:26:55 GMT http://community.qnx.com/sf/go/post117311 jimmy flanagan(deleted) 2017-01-05T17:26:55Z post117157: In Project properties window, I'm not able to open 'QNX C/C++ Project' option http://community.qnx.com/sf/go/post117157 After opening the QNX IDE , In the C/C++ Projects view, I first right-click on my project and select Properties. Next, In the left pane when I select QNX C/C++ Project , a window titled ‘Could Not Accept Changes’ appears with error message ”The currently displayed page contains invalid values”. Tue, 22 Nov 2016 14:11:36 GMT http://community.qnx.com/sf/go/post117157 dheeraj pulipaka(deleted) 2016-11-22T14:11:36Z post117129: Re: Help explain diff between gcc ARM compilers shipping with Momentics 4.7.0 http://community.qnx.com/sf/go/post117129 Thanks Doug.. that was the simple info I was looking for. Heston Taylor Holtmann (HTH) Wed, 16 Nov 2016 18:15:48 GMT http://community.qnx.com/sf/go/post117129 Heston Holtmann(deleted) 2016-11-16T18:15:48Z post117119: Re: Help explain diff between gcc ARM compilers shipping with Momentics 4.7.0 http://community.qnx.com/sf/go/post117119 That¹s been an issue with Windows over the years. To get around weak symbolic link support, we made copies instead. Different tools in the ecosystem expect different names for the compilers. But, yes, there are two ARM compilers. One for ARMv7 and one for ARMv6 (which was just named arm at the time). HTH, Doug. On 2016-11-15, 3:04 PM, "Heston Holtmann" &lt;community-noreply@qnx.com&gt; wrote: &gt;Can anyone point me to the documentation (online or print) that explains &gt;the difference between the different GCC compilers for ARM shipped with &gt;Momentics 4.7.0 &gt; &gt;based on file size it looks like Momentics installs only 2 different arm &gt;compilers, but each has 4 copies. &gt;What's with that? why? &gt; &gt;I generated the list below using ls and grep command &gt; &gt;hholtmann@C-00000046 MSYS /c/QNX650/host/win32/x86/usr/bin &gt;$ ls -l | grep -i arm | grep -i gcc &gt;-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 &gt;arm-unknown-nto-qnx6.5.0eabi-gcc.exe &gt;-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 &gt;arm-unknown-nto-qnx6.5.0eabi-gcc-4.4.2.exe &gt; &gt;-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 &gt;arm-unknown-nto-qnx6.5.0-gcc.exe &gt;-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 &gt;arm-unknown-nto-qnx6.5.0-gcc-4.4.2.exe &gt; &gt;-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 ntoarm-gcc.exe &gt;-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 &gt;ntoarm-gcc-4.4.2.exe &gt; &gt;-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 ntoarmv7-gcc.exe &gt;-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 &gt;ntoarmv7-gcc-4.4.2.exe &gt; &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;General &gt;http://community.qnx.com/sf/go/post117117 &gt;To cancel your subscription to this discussion, please e-mail &gt;general-ide-unsubscribe@community.qnx.com Tue, 15 Nov 2016 20:13:01 GMT http://community.qnx.com/sf/go/post117119 Doug Schaefer 2016-11-15T20:13:01Z post117117: Help explain diff between gcc ARM compilers shipping with Momentics 4.7.0 http://community.qnx.com/sf/go/post117117 Can anyone point me to the documentation (online or print) that explains the difference between the different GCC compilers for ARM shipped with Momentics 4.7.0 based on file size it looks like Momentics installs only 2 different arm compilers, but each has 4 copies. What's with that? why? I generated the list below using ls and grep command hholtmann@C-00000046 MSYS /c/QNX650/host/win32/x86/usr/bin $ ls -l | grep -i arm | grep -i gcc -rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 arm-unknown-nto-qnx6.5.0eabi-gcc.exe -rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 arm-unknown-nto-qnx6.5.0eabi-gcc-4.4.2.exe -rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 arm-unknown-nto-qnx6.5.0-gcc.exe -rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 arm-unknown-nto-qnx6.5.0-gcc-4.4.2.exe -rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 ntoarm-gcc.exe -rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 ntoarm-gcc-4.4.2.exe -rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 ntoarmv7-gcc.exe -rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 ntoarmv7-gcc-4.4.2.exe Tue, 15 Nov 2016 20:04:19 GMT http://community.qnx.com/sf/go/post117117 Heston Holtmann(deleted) 2016-11-15T20:04:19Z post116966: Re: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bit http://community.qnx.com/sf/go/post116966 Thanks... it worked. the "vpd.properties" file exists in C:\Windows on both 32bit and 64bit windows hosts used this article to assist with understanding the file from IBM and Eclipse http://www.theserverside.com/tip/IBM-Installation-Configuration-Tip-1-Installation-problems-and-vpdproperties After removing QNX 6.5.0 Momentics using its uninstaller, I renamed the C:\Windows\vpd.properties to a .bak file reinstalled 6.5.0 and then re-installed the SP1 setup and it worked. All working now. Wed, 12 Oct 2016 17:28:42 GMT http://community.qnx.com/sf/go/post116966 Heston Holtmann(deleted) 2016-10-12T17:28:42Z post116964: Re: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bit http://community.qnx.com/sf/go/post116964 Thanks.. I will do a full uninstall of 6.5.0, followed by the QNXWinCleanup.exe and hunt for the hidden files before re-install Wed, 12 Oct 2016 15:36:32 GMT http://community.qnx.com/sf/go/post116964 Heston Holtmann(deleted) 2016-10-12T15:36:32Z post116963: Re: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bit http://community.qnx.com/sf/go/post116963 Hi, Installers use a special registry called vpd.properties to determine if the product is already installed. The cleanup utility should have updated it. It is possible that on a 64bit system the cleanup utility did not work as expected. You can try running the cleanup utility again to remove 6.5.0. Then do a system search to locate vpd.properties file (note, it is a hidden file, so you'll need to enable the option to "view hidden files"). Rename vpd.properties into vpd.properties-oct12-2016. Re-install 6.5.0 and 6.5.0SP1. Let me know if that solves the issue. Natalia Wed, 12 Oct 2016 13:23:53 GMT http://community.qnx.com/sf/go/post116963 Natalia Miyusova 2016-10-12T13:23:53Z post116960: Re: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bit http://community.qnx.com/sf/go/post116960 Forgot to include the output from the QCONFIG.EXE command showing what is installed.. shows that 6.5.0 is installed but SP1 is NOT! C:\&gt;qconfig QNX Installations Installation Name: QNX Software Development Platform 6.5.0 Version: 6.5.0 Base Directory: C:/QNX650 QNX_HOST: C:/QNX650/host/win32/x86 QNX_TARGET: C:/QNX650/target/qnx6 Additional Packages C:\&gt; Tue, 11 Oct 2016 20:42:06 GMT http://community.qnx.com/sf/go/post116960 Heston Holtmann(deleted) 2016-10-11T20:42:06Z post116959: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bit http://community.qnx.com/sf/go/post116959 Very new to QNX Momentus IDE (Not new to Eclipse CDT though...) My blunder: 1. I installed QNX 6.5.0 IDE on Windows 7 Pro x64 system (all worked) into C:\QNX650 (default path) 2. Then I installed the SP1 (qnxsdp-6.5.0SP1-201206261830-win32.exe).. also worked 3. I had a workspace in C:\ws\* with a bunch of imported SVN projects..... 4. I wanted to start from scratch and delete my workspace... C:\ws\* 5. BUT.. I completely deleted the IDE install path C:\QNX650 by accident I could not uninstall 6.5.0 Ide properly using Add Remove programs.. and those entries got removed as well after trying to run them. So I used the Utility on the 6.5.0 install DVD that wipes an install from a system QNXWinCleanup.exe The above worked and I was able to re-install the QNX 650 IDE to default path C:\QNX650 again.. I can even create a workspace and new QNX C++ test project and build it. BUT... I can't re-install the SP1.. the installer says it already exists in C:\QNX650. (See attached pic) But this is not true.. because it got wiped from disk . There must be some registry entry that exists that makes the SP1 installer THINK its still installed. How do I remove all existence of SP1 so I can re-install it? Tue, 11 Oct 2016 19:18:39 GMT http://community.qnx.com/sf/go/post116959 Heston Holtmann(deleted) 2016-10-11T19:18:39Z post116641: Re: 6.0M1 Qconn Update causes Null Pointer Exception http://community.qnx.com/sf/go/post116641 Still present in Momentics 7.0.0 Alpha Tue, 09 Aug 2016 14:50:10 GMT http://community.qnx.com/sf/go/post116641 Igor Rondarev 2016-08-09T14:50:10Z post116573: Re: Not able to link shared library (.so) in QNX IDE http://community.qnx.com/sf/go/post116573 Thanks Elena, Got it working with ur suggestion. Thanks Thu, 21 Jul 2016 21:34:41 GMT http://community.qnx.com/sf/go/post116573 Deepain Nayyar(deleted) 2016-07-21T21:34:41Z post116571: Re: Not able to link shared library (.so) in QNX IDE http://community.qnx.com/sf/go/post116571 This is not correct syntax for -l option. Its also an icorrect naming so .so file for compiler to find it later. Please refer doc's on how to create shared libs (it would be something like libkill.so and -lkill -L../lib Thu, 21 Jul 2016 19:31:23 GMT http://community.qnx.com/sf/go/post116571 Elena Laskavaia 2016-07-21T19:31:23Z post116570: Not able to link shared library (.so) in QNX IDE http://community.qnx.com/sf/go/post116570 I am using QNX Momentics IDE Version 4.7. I am not able to link the shared library (.so) file during the build project. I am trying to build a simple makefile project The error message which I am getting is: make all cp kill.h ../include cc -Vgcc_ntox86 -shared -a ../lib/killlib.so C:\QNX650\host\win32\x86\usr\bin\ntox86-ar: creating ../lib/killlib.so cc -Bdynamic -Vgcc_ntox86 -DVERSION=\"VER5.00.01\" -g -l../lib/killlib.so -lsocket -c -o upgrade2.o upgrade2.c cc -Bdynamic -o upgrade2 upgrade2.o -Vgcc_ntox86 -DVERSION=\"VER5.00.01\" -g -l../lib/killlib.so -lsocket C:\QNX650\host\win32\x86\usr\bin\ntox86-ld: cannot find -l../lib/killlib.so cc: C:/QNX650/host/win32/x86/usr/bin/ntox86-ld caught signal 1 make: *** [upgrade2] Error 1 I am able to see killlib.so getting updated in lib forlder, but when I am trying to generate an executable, it is not able to find the library. I am attaching the makefile which I am using Thu, 21 Jul 2016 19:19:29 GMT http://community.qnx.com/sf/go/post116570 Deepain Nayyar(deleted) 2016-07-21T19:19:29Z post116552: Re: new to QNX http://community.qnx.com/sf/go/post116552 If you trying to create a library, you have to change you project settings to produce a library not a binary. http://www.qnx.com/developers/docs/6.4.1/ide_en/user_guide/images/newproject_type.gif (You can also change it in the settings) Mon, 18 Jul 2016 14:25:55 GMT http://community.qnx.com/sf/go/post116552 Elena Laskavaia 2016-07-18T14:25:55Z post116540: Re: new to QNX http://community.qnx.com/sf/go/post116540 Hello Did you get some solution of this issue, currently im stuck with it. Wed, 13 Jul 2016 13:40:33 GMT http://community.qnx.com/sf/go/post116540 Priyanka Dhull(deleted) 2016-07-13T13:40:33Z post116524: Re: PhAB error while generating code http://community.qnx.com/sf/go/post116524 Try to run this command from a command line. I think QNX_HOST is not actually resolved. Do you have QNX_HOST set as global env variable? Wed, 06 Jul 2016 13:46:53 GMT http://community.qnx.com/sf/go/post116524 Elena Laskavaia 2016-07-06T13:46:53Z post116522: PhAB error while generating code http://community.qnx.com/sf/go/post116522 Hi, I'm working with Momentics IDE 4.7 , QNX6.5.0, I've created a new Photon application with PhAB, but when I try to generate the code I get the error showed in the attached printscreen image: Command '$QNX_HOST/usr/photon/bin/sort -u -oG:/temp/qnx/Video/src/abWfiles.t G:/temp/qnx/Video/src/abWfiles.t' failed (2). I tried to create a new project, to change the projet folder and drive on the machine, and also reinstalling the whole IDE but without success, this error ever occurs. The same IDE istalled on another machine istead works fine. What is causing this error on that particular machine? How can be solved? Thank you M. Wed, 06 Jul 2016 08:46:39 GMT http://community.qnx.com/sf/go/post116522 mario sangalli 2016-07-06T08:46:39Z post116171: Re: 6.0M1 Qconn Update causes Null Pointer Exception http://community.qnx.com/sf/go/post116171 Thanks for the feedback Igor. On 2016-04-26, 4:45 AM, "Igor Rondarev" &lt;community-noreply@qnx.com&gt; wrote: &gt;Hello! &gt; &gt;Exploring new 6.0 M1, found some bug: Help -&gt; QNX Software Updates... -&gt; &gt;Qconn Updates... does nothing but always causes NPE. &gt; &gt;An exerpt from .metadata/.log: &gt; &gt;------------------ cut ----------------------- &gt;!SESSION 2016-04-26 12:19:17.749 &gt;----------------------------------------------- &gt;eclipse.buildId=7.0.0 &gt;java.version=1.8.0_05 &gt;java.vendor=Oracle Corporation &gt;BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US &gt;Command-line arguments: -os linux -ws gtk -arch x86_64 &gt; &gt;!ENTRY org.eclipse.core.filebuffers 4 0 2016-04-26 12:19:21.796 &gt;!MESSAGE The content type with id "qmlFile" specified in the extension &gt;point does not exist. &gt; &gt;!ENTRY org.eclipse.core.filebuffers 4 0 2016-04-26 12:19:21.797 &gt;!MESSAGE The content type with id "qmlFile" specified in the extension &gt;point does not exist. &gt; &gt;!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110 &gt;!MESSAGE Enablement expression is missing for config provider for &gt;com.qnx.tools.ide.qde.debug.core.descriptorType.default &gt; &gt;!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110 &gt;!MESSAGE Enablement expression is missing for config provider for &gt;org.eclipse.cdt.qt.core.launchDescriptorType &gt; &gt;!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110 &gt;!MESSAGE Enablement expression is missing for config provider for &gt;org.eclipse.cdt.qt.core.launchDescriptorType &gt; &gt;!ENTRY com.qnx.tools.ide.capabilities.ui 4 0 2016-04-26 12:19:29.178 &gt;!MESSAGE activityProfiles.activityRequirementBinding: Invalid activityId &gt;com.qnx.tools.ide.capabilities.ui.activity.qnxSystemDeveloper &gt; &gt;!ENTRY com.qnx.tools.ide.capabilities.ui 4 0 2016-04-26 12:19:29.185 &gt;!MESSAGE activityProfiles.activityRequirementBinding: Invalid &gt;requiredActivityId com.qnx.tools.ide.capabilities.ui.activity.qnxDeveloper &gt; &gt;!ENTRY org.eclipse.ui 4 0 2016-04-26 12:20:46.262 &gt;!MESSAGE Unhandled event loop exception &gt;!STACK 0 &gt;java.lang.NullPointerException &gt; at &gt;com.qnx.tools.ide.updater.action.QconnUpdaterAction.setup(QconnUpdaterActi &gt;on.java:242) &gt; at &gt;com.qnx.tools.ide.updater.action.QconnUpdaterAction.run(QconnUpdaterAction &gt;.java:68) &gt; at &gt;com.qnx.tools.ide.updater.action.QconnUpdaterAction.run(QconnUpdaterAction &gt;.java:77) &gt; at &gt;org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247) &gt; at &gt;org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.jav &gt;a:228) &gt; at &gt;org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Acti &gt;onContributionItem.java:565) &gt; at &gt;org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributio &gt;nItem.java:397) &gt; at &gt;org.eclipse.jface.action.ActionContributionItem$$Lambda$37/919541414.handl &gt;eEvent(Unknown Source) &gt; at &gt;org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) &gt; at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4494) &gt; at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1339) &gt; at &gt;org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3832) &gt; at &gt;org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3443) &gt; at &gt;org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRen &gt;deringEngine.java:1118) &gt; at &gt;org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:33 &gt;6) &gt; at &gt;org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRende &gt;ringEngine.java:1019) &gt; at &gt;org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbenc &gt;h.java:157) &gt; at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:691) &gt; at &gt;org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:33 &gt;6) &gt; at &gt;org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604 &gt;) &gt; at &gt;org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) &gt; at &gt;org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicatio &gt;n.java:138) &gt; at &gt;org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.jav &gt;a:196) &gt; at &gt;org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicatio &gt;n(EclipseAppLauncher.java:134) &gt; at &gt;org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclipse &gt;AppLauncher.java:104) &gt; at &gt;org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:38 &gt;8) &gt; at &gt;org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:24 &gt;3) &gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) &gt; at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) &gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) &gt; at java.lang.reflect.Method.invoke(Unknown Source) &gt; at &gt;org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:670) &gt; at org.eclipse.equinox.launcher.Main.basicRun(Main.java:609) &gt; at org.eclipse.equinox.launcher.Main.run(Main.java:1516) &gt; at org.eclipse.equinox.launcher.Main.main(Main.java:1489) &gt;------------------ cut ----------------------- &gt; &gt; &gt; &gt;_______________________________________________ &gt; &gt;General &gt;http://community.qnx.com/sf/go/post116159 &gt;To cancel your subscription to this discussion, please e-mail &gt;general-ide-unsubscribe@community.qnx.com Tue, 26 Apr 2016 13:32:36 GMT http://community.qnx.com/sf/go/post116171 David Cummings(deleted) 2016-04-26T13:32:36Z post116160: Re: Using lambda expression in 6.5.0? http://community.qnx.com/sf/go/post116160 Aha! Thanks for your reply, Igor Rondarev. Tue, 26 Apr 2016 09:07:05 GMT http://community.qnx.com/sf/go/post116160 Hunkyo Jung(deleted) 2016-04-26T09:07:05Z post116159: 6.0M1 Qconn Update causes Null Pointer Exception http://community.qnx.com/sf/go/post116159 Hello! Exploring new 6.0 M1, found some bug: Help -&gt; QNX Software Updates... -&gt; Qconn Updates... does nothing but always causes NPE. An exerpt from .metadata/.log: ------------------ cut ----------------------- !SESSION 2016-04-26 12:19:17.749 ----------------------------------------------- eclipse.buildId=7.0.0 java.version=1.8.0_05 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86_64 !ENTRY org.eclipse.core.filebuffers 4 0 2016-04-26 12:19:21.796 !MESSAGE The content type with id "qmlFile" specified in the extension point does not exist. !ENTRY org.eclipse.core.filebuffers 4 0 2016-04-26 12:19:21.797 !MESSAGE The content type with id "qmlFile" specified in the extension point does not exist. !ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110 !MESSAGE Enablement expression is missing for config provider for com.qnx.tools.ide.qde.debug.core.descriptorType.default !ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110 !MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.qt.core.launchDescriptorType !ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110 !MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.qt.core.launchDescriptorType !ENTRY com.qnx.tools.ide.capabilities.ui 4 0 2016-04-26 12:19:29.178 !MESSAGE activityProfiles.activityRequirementBinding: Invalid activityId com.qnx.tools.ide.capabilities.ui.activity.qnxSystemDeveloper !ENTRY com.qnx.tools.ide.capabilities.ui 4 0 2016-04-26 12:19:29.185 !MESSAGE activityProfiles.activityRequirementBinding: Invalid requiredActivityId com.qnx.tools.ide.capabilities.ui.activity.qnxDeveloper !ENTRY org.eclipse.ui 4 0 2016-04-26 12:20:46.262 !MESSAGE Unhandled event loop exception !STACK 0 java.lang.NullPointerException at com.qnx.tools.ide.updater.action.QconnUpdaterAction.setup(QconnUpdaterAction.java:242) at com.qnx.tools.ide.updater.action.QconnUpdaterAction.run(QconnUpdaterAction.java:68) at com.qnx.tools.ide.updater.action.QconnUpdaterAction.run(QconnUpdaterAction.java:77) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:228) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565) at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397) at org.eclipse.jface.action.ActionContributionItem$$Lambda$37/919541414.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4494) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1339) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3832) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3443) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1118) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1019) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:157) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:691) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:670) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:609) at org.eclipse.equinox.launcher.Main.run(Main.java:1516) at org.eclipse.equinox.launcher.Main.main(Main.java:1489) ------------------ cut ----------------------- Tue, 26 Apr 2016 08:45:33 GMT http://community.qnx.com/sf/go/post116159 Igor Rondarev 2016-04-26T08:45:33Z post116158: Re: Using lambda expression in 6.5.0? http://community.qnx.com/sf/go/post116158 You may try to use gcc 4.8.3, it's available here - http://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.gcc.gcc_4_8 Tue, 26 Apr 2016 08:37:30 GMT http://community.qnx.com/sf/go/post116158 Igor Rondarev 2016-04-26T08:37:30Z post116127: Using lambda expression in 6.5.0? http://community.qnx.com/sf/go/post116127 I wrote a simple program using lambda, but it failed with compile errors #include &lt;cstdlib&gt; #include &lt;iostream&gt; #include &lt;tr1/functional&gt; int main(int argc, char *argv[]) { auto f = []{ std::cout &lt;&lt; "Hello, Lambdas" &lt;&lt; endl; }; f(); return EXIT_SUCCESS; } I found that lambda is supported since gcc 4.5 and 6.5.0 has 4.4.2. Should I use 6.6.0 to use lambda? Or is there an alternative way to use it? Thu, 21 Apr 2016 08:24:35 GMT http://community.qnx.com/sf/go/post116127 Hunkyo Jung(deleted) 2016-04-21T08:24:35Z post116048: Re: IDE hangles executive files. http://community.qnx.com/sf/go/post116048 Check you launch configuration. You can remove the old configuration and try to create a new one. IDE downloads and run files from /tmp by default. a) Remove all file from /tmp or reset your device to make sure nothing bad is there b) Check that new binary is created during compile time (check timestamp) c) In launch configuration check that path to binary is correct d) In Upload tab of launch configuration make sure that Upload binary to target is check (also I would uncheck Use random name, so you actually can check on device what is run) Tue, 05 Apr 2016 14:49:43 GMT http://community.qnx.com/sf/go/post116048 Elena Laskavaia 2016-04-05T14:49:43Z post116041: Re: Parallel Builds http://community.qnx.com/sf/go/post116041 I'm not too familiar with IDE 4.0 but if your project type is based on make, you should be able to build with six threads by passing -j6 to make. I think some QNX Makefile project types have a JLEVEL variable that may be useful as well. Fri, 01 Apr 2016 19:40:33 GMT http://community.qnx.com/sf/go/post116041 Niklas Angare 2016-04-01T19:40:33Z post116037: Re: IDE hangles executive files. http://community.qnx.com/sf/go/post116037 Yes, I'd like to bump this thread (two years later, huh!). I'm experiencing the same issue - I'm using the 5.0.1 version of QNX Momentics with QNX 6.6 under VMWare player. I can write/compile/run the code a number of times and then, at some point, the IDE seems to get stuck on some version of the binary and doesn't start any other. Yes, the new sources are compiled, linked and .o/exec files are created, but they aren't run on the target. Has anyone came up with the solution? So far a quick reboot seems to help, but it's nowhere near to what I'd like to see it. Best, Przemek Thu, 31 Mar 2016 06:42:01 GMT http://community.qnx.com/sf/go/post116037 Przemyslaw Blaskiewicz 2016-03-31T06:42:01Z post116014: Re: Neon http://community.qnx.com/sf/go/post116014 Hi Mario, Glad to see that you are trying out and enjoying the M1 build. Please let us know of any additional feedback you might have. There is in fact a new effort at Eclipse to improve the initial setup of Eclipse products for users. This includes extra plug-ins, workspace preferences, scm repos, working sets etc. The project is called oomph, or sometimes referred to as the Eclipse installer. You can find more details here: http://wiki.eclipse.org/Eclipse_Installer It's on our roadmap to put together a guide/instructions on how to leverage this technology in combination with Momentics. I will be sure to update this thread when we have that available. David Thu, 24 Mar 2016 00:06:02 GMT http://community.qnx.com/sf/go/post116014 David Cummings(deleted) 2016-03-24T00:06:02Z post116011: pdom files http://community.qnx.com/sf/go/post116011 pdom files ( indexer ) are not deleted if a closed project is deleted. If it's open, the file is deleted. Can easily end up with gigs of stale .pdom files. True with all version of Eclipse I've used. Wed, 23 Mar 2016 15:06:43 GMT http://community.qnx.com/sf/go/post116011 Mario Charest 2016-03-23T15:06:43Z post116006: Re: Neon http://community.qnx.com/sf/go/post116006 Forgot to give a thumbs up for the 64 bit flavor. This has big a big problem under Linux, will allow us to move forward ( major issue for svn and third party plugin ). Tue, 22 Mar 2016 23:19:52 GMT http://community.qnx.com/sf/go/post116006 Mario Charest 2016-03-22T23:19:52Z post116005: Neon http://community.qnx.com/sf/go/post116005 Hi, I'm trying out the Neon M1 package available in the FileReleases section. So far so good. Very nice to see something ahead of the curve for once. That brings me to ask about an issue I have been unable to find an answer to. Either I'm getting really bad at using Google or my problem does not make sense. Here goes. I handle our Eclipse/Momentics setup, as no one else seems to want to touch this with a 10 feet pole. This represents a very very tedious and time-consuming task. So much so that some I wonder if it does not cancel out many of the features/tools Eclipse provide over a Vim/make setup, talking about the CDT here. The major problem is updating configuration with new and improve setting, CDT syntax Color setting, code style setting, templates, key Code analysis, Quick diff. and the list goes on.... Only very few have import export setting, but it's still is a lot of work and can't be "automated". Get even worse when someone works with a bunch of workspaces. I have been trying to "distribute" preconfigure workspace, with all the extra plug-in we use, but that feels very eerie. Aside from the .metadata folder there is the content of the .eclipse directory that comes into play. Some of these files contain username or hardcoded path. I'm hacking away at these files by replacing strings, gotta love sed, then crossing my fingers that things won't fall apart. Now I can't be the only one with this problem. There is got to be a better way of handling this. I mean there has to be managers/customers somewhere, with some influence over QNX/Eclipse, that noticed how unproductive the whole ordeal is ? No ? Or did I miss something really obvious that makes this a non-issue? Having to go through all of setting yet one more time while setting up IDE6, is not the real trigger that brought me post, but the afternoon I lost updating an older setup (VM). I won't bore you with the details Tue, 22 Mar 2016 23:17:32 GMT http://community.qnx.com/sf/go/post116005 Mario Charest 2016-03-22T23:17:32Z post115952: Re: free trial period expired, cannot enter license, cannot uninstall http://community.qnx.com/sf/go/post115952 Thanks, that certainly solved the issue. And that wasn't that obvious, either. Przemek Mon, 14 Mar 2016 09:11:09 GMT http://community.qnx.com/sf/go/post115952 Przemyslaw Blaskiewicz 2016-03-14T09:11:09Z post115939: Re: free trial period expired, cannot enter license, cannot uninstall http://community.qnx.com/sf/go/post115939 Hi, If you want to activate a license, you need to run these commands: source base_directory/qnx660-env.sh $QNX_CONFIGURATION/bin/qnxactivate -d $QNX_CONFIGURATION If you're using an evaluation license that expired, you'll need to get a commercial license and add it by running the following command: base_directory/install/qnx-sdp/6.6/addLicense.bin You don't need to uninstall/repair your QNX SDP installation to activate or add a new license key. If you decide to uninstall the product, the uninstaller is located in base_directory/install/qnx-sdp/6.6 directory. To launch the uninstaller: base_directory/install/qnx-sdp/6.6/uninstall.bin Hope that helps. Natalia Wed, 09 Mar 2016 14:22:33 GMT http://community.qnx.com/sf/go/post115939 Natalia Miyusova 2016-03-09T14:22:33Z post115937: free trial period expired, cannot enter license, cannot uninstall http://community.qnx.com/sf/go/post115937 Hello, I've gotten myself into some vicious circle and can't find a way to escape from it. Here's what happend: 1) Trial period expired, I got "No license found for product 5. ReturnCode=5" message 2) In root shell: ${QNX_ROOT}/host/linux/x86/usr/bin/activation and provided product keys, activated license (success). 3) Message from p, 1) above keeps popping up, QNX functionality is disabled (I can compile &amp; run on target though) 4) Try to reinstall: runing the installer I get "QNX Momentics is already installed, you need to uninstall it before proceeding" 5) Try to repair: running the installer with -repair I get the same output 6) Try to uninstall: runing it with -uninstall switch I get the same message as above. 7) Redo activation: ${QNX_ROOT}/host/linux/x86/usr/bin/activation fails on spot, complaining something about Motif libraries missing. 8) Move ${QNX_ROOT} somewhere else and restart installation: same as in 4) 5) and 6). End of the day: I cannot activate, uninsall, reinstall, remove, and the IDE works only partially. Any suggestions on how to push it forward? I've got the latest QDE Momentics 6.6.0, running arch linux amd64 - and it USED TO work as a charm before this whole licensing thing came up. Thanks, Przemek Wed, 09 Mar 2016 11:58:15 GMT http://community.qnx.com/sf/go/post115937 Przemyslaw Blaskiewicz 2016-03-09T11:58:15Z post115702: Re: How to target QNX 6.5 form Momentics 5.0.1 http://community.qnx.com/sf/go/post115702 You also have to sort out licensing things and select the right tool chain, if you haven't already figure this out, I can add details... Tue, 09 Feb 2016 14:31:46 GMT http://community.qnx.com/sf/go/post115702 Kevin Stallard 2016-02-09T14:31:46Z post115694: Re: How to target QNX 6.5 form Momentics 5.0.1 http://community.qnx.com/sf/go/post115694 Just found your post because I needed the same thing. This is what I did. If you have qnx650 also installed, in the /etc/qnx/qconfig directory there are some .xml files pertaining to the various qnx installations you have (up to 6.5). qnx_software_development_platform_6.5.0.xml may be one of them. This same directory exists in the /opt/qnx660/.qnx directory. Copy those .xml files over to the .qnx directory in your qnx660 installation. Restart eclipse from the qnx660 install and you should see 6.5.0 there. I haven't tried to see if it will build yet, but at least its showing up :) Kevin Tue, 09 Feb 2016 03:18:07 GMT http://community.qnx.com/sf/go/post115694 Kevin Stallard 2016-02-09T03:18:07Z post115655: Re: Can't get Eclispe Configuration http://community.qnx.com/sf/go/post115655 Yes, unfortunately it's a compatibility issue and would require a fix for Mars, which we don't currently support. We will have an experimental version of Momentics posted this quarter that will include a fix for this issue. Tue, 02 Feb 2016 16:50:08 GMT http://community.qnx.com/sf/go/post115655 David Cummings(deleted) 2016-02-02T16:50:08Z post115645: Can't get Eclispe Configuration http://community.qnx.com/sf/go/post115645 Go to Help-&gt;About-&gt;Installation Details-&gt;Configuration generated an Exception preventing me from getting Eclipse's Configuration. This is with Mars, Luna is ok, so I'm assunig this is an incompatibility of some sort, given the stack trace of the exception shows a reference to a QNX plugin. Pointers would be appreciated. org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4491) at org.eclipse.swt.SWT.error(SWT.java:4406) at org.eclipse.swt.SWT.error(SWT.java:4377) at org.eclipse.swt.widgets.Display.error(Display.java:1186) at org.eclipse.swt.widgets.Display.checkDevice(Display.java:765) at org.eclipse.swt.widgets.Display.getSystemCursor(Display.java:2211) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:59) at com.qnx.tools.ide.qde.internal.ui.SystemSummaryLicenseInfoSection.write(SystemSummaryLicenseInfoSection.java:50) at org.eclipse.ui.internal.ConfigurationInfo.appendExtensions(ConfigurationInfo.java:107) at org.eclipse.ui.internal.ConfigurationInfo.getSystemSummary(ConfigurationInfo.java:73) at org.eclipse.ui.internal.about.AboutSystemPage$1.run(AboutSystemPage.java:159) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Mon, 01 Feb 2016 14:34:01 GMT http://community.qnx.com/sf/go/post115645 Mario Charest 2016-02-01T14:34:01Z post115639: using global variable http://community.qnx.com/sf/go/post115639 Good Morning everyone I am new in qnx 6.5 anyone know about global variable? and how to use it? I try to use example in website but it's for qnx 4. thank you best regards afif. Mon, 01 Feb 2016 02:43:26 GMT http://community.qnx.com/sf/go/post115639 Afif Grahaditya(deleted) 2016-02-01T02:43:26Z post115638: Re: Failed to set breakpoint in gdb console http://community.qnx.com/sf/go/post115638 Hi Elena, thanks for your reply! sorry, i did not find gdb patch for 6.6, I got one build version IDE 5.0.1 (GA build), i am not sure if this version include the gdb patch you said. actually i got these steps from QNX support team, but i failed to set break point in step 4 4) In gdb console type b function_name where &lt;function_name&gt; is the function in your driver that you expect to execute first. the command i put is "b wlan_hdd_entry", this function is the entry of our wlan driver. the error is "Cannot access memory at address 0x11de38 ", actually i do not think I could set break point in my wlan driver at this moment because my wlan driver is not loaded at this step. so i am wondering what I should do before step 4? thanks - wenbin Mon, 01 Feb 2016 01:32:37 GMT http://community.qnx.com/sf/go/post115638 Wenbin Fu 2016-02-01T01:32:37Z post115635: Re: Failed to set breakpoint in gdb console http://community.qnx.com/sf/go/post115635 Debugging network drivers or other dll's. Note: if debugging networking qconn or pdebug has to be on another network stack. Instructions below do not apply to debuging over serial port. If you using SDP 6.6 armv7le platform you need - gdb patch for 6.6 from foundry (we have a patch for arm) - patched IDE for 6.6 (at least of IDE or gdb has to be patched, for x86 only no need for patches) Then in Momenitcs IDE 1) Create attach configuration for io-pkt, specify io-pkt binary from SDP (io-pkt used as example, use full binary name) 2) Run this configuration and attach to io-pkt. It will stop somewhere and show assembly. 3) Open gdb console from IDE (click on gdb "child" of the debugged process in Debug view, it should open gdb console) 4) In gdb console type b function_name where &lt;function_name&gt; is the function in your driver that you expect to execute first. You should see the message that pending breakpoint is installed. Or you can put breakpoint on "dlsym" function if you don't know what function in your dll it will hit. 5) Resume the process 6) On device run mount command to load the driver. Or run any command that will activate it. 7) Breakpoint should be hit now. If not press Pause button. Go to gdb console and type info shared You should see your dll in list of loaded libraries. If not something is not right. It also should show that symbols are loaded. Something like warning: Could not load shared library symbols for libbar.so. Do you need "set solib-search-path" or "set sysroot"? From To Syms Read Shared Object Library No libbar.so 0x0000004000000000 0x00000040002ba7b8 No /Develop/staging/mainline/target/qnx7/x86_64/lib/libc.so.3 8) Now you can type command to load symbols for this library, by setting the path on where to find symbols, i.e. set solib-search-path /Develop/runtime-wipe/bar/build/x86_64-debug/ It would reply something like Reading symbols from /Develop/runtime-wipe/bar/build/x86_64-debug/libbar.so...done. 9) Now you can insert breakpoint/and continue debugging. If you do that alot save these command into .gdbini file and specify full path to this file in IDE launch configuration Fri, 29 Jan 2016 13:39:45 GMT http://community.qnx.com/sf/go/post115635 Elena Laskavaia 2016-01-29T13:39:45Z post115634: Re: Failed to set breakpoint in gdb console http://community.qnx.com/sf/go/post115634 sorry, how to set PATH and LD_LIBRARY_PATH? are these 2 variables in target or host? Fri, 29 Jan 2016 10:12:45 GMT http://community.qnx.com/sf/go/post115634 Wenbin Fu 2016-01-29T10:12:45Z post115633: Re: Failed to set breakpoint in gdb console http://community.qnx.com/sf/go/post115633 It's a staged approach. Please look here for more details. http://www.qnx.com/developers/docs/6.4.1/io-pkt_en/user_guide/drivers.html#Debugging_with_gdb Fri, 29 Jan 2016 09:34:01 GMT http://community.qnx.com/sf/go/post115633 Peter Weber 2016-01-29T09:34:01Z post115632: Failed to set breakpoint in gdb console http://community.qnx.com/sf/go/post115632 Hello, I am developing one wlan Wifi Driver which is built out as devnp-qcwlan.so, I wan trying to debug this shared library in IDE. first, I successfully attached this shared library devnp-qcwlan.so to process io-pkt-v6-hc, IDE stop somewhere second, i was trying to set breakpoint by 'b wlan_hdd_entry', this function would be hit once wlan driver is loaded. but i got error message 'can not access memory at address 0x11de38' How do I fix the issue? thanks - wenbin Fri, 29 Jan 2016 09:09:03 GMT http://community.qnx.com/sf/go/post115632 Wenbin Fu 2016-01-29T09:09:03Z post115580: Re: widget won't move when it's looped. http://community.qnx.com/sf/go/post115580 I already try to use Ptmainloop() the widget is move only once, and iteration is not work.. what do you mean by "need to damage to widget"? Thu, 21 Jan 2016 03:30:13 GMT http://community.qnx.com/sf/go/post115580 Afif Grahaditya(deleted) 2016-01-21T03:30:13Z post115579: Re: widget won't move when it's looped. http://community.qnx.com/sf/go/post115579 Where is your PtMainLoop()? The widget will only move when your handler function returns, and the main photon loop can continue. This is why you never see the widget move. PtEnter and PtLeave only lock the library, so that nothing else can modify the widget. I'm not certain, but I think you need to damage the widget also, in order to force a redraw. Sent from my BlackBerry 10 smartphone. Original Message From: Afif Grahaditya Sent: Wednesday, January 20, 2016 9:47 PM To: general-ide Reply To: general-ide@community.qnx.com Subject: widget won't move when it's looped. Hi everyone. when I try to use for without limit the program is looped but the widget doesn't move, and when I try to use limit in for, the program is looped and the widget is move but only to the last position. do you know why it's happen? I already use ptenter and ptleave before but it doesn't change the result. I attach my source code in this thread. Thank you. best regards _______________________________________________ General http://community.qnx.com/sf/go/post115578 To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Thu, 21 Jan 2016 03:11:52 GMT http://community.qnx.com/sf/go/post115579 David Sarrazin 2016-01-21T03:11:52Z post115578: widget won't move when it's looped. http://community.qnx.com/sf/go/post115578 Hi everyone. when I try to use for without limit the program is looped but the widget doesn't move, and when I try to use limit in for, the program is looped and the widget is move but only to the last position. do you know why it's happen? I already use ptenter and ptleave before but it doesn't change the result. I attach my source code in this thread. Thank you. best regards Thu, 21 Jan 2016 02:47:17 GMT http://community.qnx.com/sf/go/post115578 Afif Grahaditya(deleted) 2016-01-21T02:47:17Z post115373: limit in qdb statement http://community.qnx.com/sf/go/post115373 good afternoon everyone, I am wonder why in qdb statement from sample program is Limit 1? when I change the limit to other than 1 the application doesn't work. and if I change the qdb_cell (0,0) become (1,0) the application is force closed. thank you. best regards Afif Tue, 22 Dec 2015 06:36:31 GMT http://community.qnx.com/sf/go/post115373 Afif Grahaditya(deleted) 2015-12-22T06:36:31Z post115296: move widget to the front of base http://community.qnx.com/sf/go/post115296 good afternoon everyone, what should I do If I want to move a widget to the front of my base after the webclient is finished? my script is: PtCreateWidget(PtEllipse, NULL, 2, args ); PtWidgetToFront(ABW_tanda); thank you best regards afif. Mon, 14 Dec 2015 07:22:20 GMT http://community.qnx.com/sf/go/post115296 Afif Grahaditya(deleted) 2015-12-14T07:22:20Z post115288: How to target QNX 6.5 form Momentics 5.0.1 http://community.qnx.com/sf/go/post115288 The 6.6 SDP released with a an updated version of Eclipse as well as GCC, improving C++ development. What is the proper way to use Momentics 5.0.1 to target QNX 6.5, so that when developing for that platform one can get the benefits of the new IDE and compiler? In addition, what is the best way to do C++11 development that can execute correctly on QNX 6.5? Fri, 11 Dec 2015 21:37:27 GMT http://community.qnx.com/sf/go/post115288 John Hagen(deleted) 2015-12-11T21:37:27Z post115237: Re: 64 Bit version of Eclipse http://community.qnx.com/sf/go/post115237 On RHEL 7.2 recently updated (as of Des. 7. 2015) one need to install gnu.io.rxtz (http://archive.eclipse.org/tm/updates/rxtx/) before installing from the QNX repo or else dependencies will not be met, and it will not find where to pick it up. I used the new mars installer as well, installed the CDT, rxtx, and then QNX. Currently testing it. Before this I used the vanilla QNX SDK from 6.6, but a gtk/X11 bug hit all kind of scrolling and some mouse actions, resulting in crashes -&gt; not usable. regards, George Mon, 07 Dec 2015 18:00:47 GMT http://community.qnx.com/sf/go/post115237 George Refseth(deleted) 2015-12-07T18:00:47Z post115230: connecting QDB to widget http://community.qnx.com/sf/go/post115230 Hey everyone, I want to connect column Ndegree untul Edetik in the picture to the widget, but when I click button the result is 0 like in the picture, do you know why? am I using wrong command? thanks Mon, 07 Dec 2015 06:20:01 GMT http://community.qnx.com/sf/go/post115230 Afif Grahaditya(deleted) 2015-12-07T06:20:01Z post115204: Re: RE: Parallel Builds http://community.qnx.com/sf/go/post115204 Hi, Thanks. That lookslike it's for a new version pf the IDE, not Dev Suite 6.3.2 ( IDE 4.0.1 ) Gerald Thu, 03 Dec 2015 21:36:14 GMT http://community.qnx.com/sf/go/post115204 Gerald Brandt(deleted) 2015-12-03T21:36:14Z post115203: RE: Parallel Builds http://community.qnx.com/sf/go/post115203 In the QNX C/C++ Project settings go under the Make Builder tab - there is an entry at the bottom for using multiple threads when compiling. Note that this is limited to compiling - the linking is done on a single thread and compilation is limited to one project at a time, i.e. 3 projects A, B, and C each have 10 source files and the parallel job number is 5. Build All would build A, then B, then C. During source file compilation A's 10 files are compiled 5 at a time until they are all done. The project is then linked on a single thread. Momentics then moves on to project B and does the same thing... If you want parallel job compilation you will need to script it all from the command line. [cid:image001.png@01D12DDF.726DA400] -----Original Message----- From: Gerald Brandt [mailto:community-noreply@qnx.com] Sent: Thursday, December 03, 2015 2:36 PM To: general-ide Subject: Parallel Builds I'm running Momentics v6.3.2. Is there a way to do parallel builds, so I use all six of my processors to compile instead of just one? Gerald _______________________________________________ General http://community.qnx.com/sf/go/post115198 To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com&lt;mailto:general-ide-unsubscribe@community.qnx.com&gt; Thu, 03 Dec 2015 21:30:16 GMT http://community.qnx.com/sf/go/post115203 James Thomson(deleted) 2015-12-03T21:30:16Z post115198: Parallel Builds http://community.qnx.com/sf/go/post115198 I'm running Momentics v6.3.2. Is there a way to do parallel builds, so I use all six of my processors to compile instead of just one? Gerald Thu, 03 Dec 2015 20:36:12 GMT http://community.qnx.com/sf/go/post115198 Gerald Brandt(deleted) 2015-12-03T20:36:12Z post115148: Re: tutorial using QDB. http://community.qnx.com/sf/go/post115148 &gt; I'm working using QNX 6.5 too.. i don't know why it always said "near syntax &gt; error"..like in the picture. I think if I can make it with the sample program maybe I can make my own QDB after that. Tue, 01 Dec 2015 03:40:00 GMT http://community.qnx.com/sf/go/post115148 Afif Grahaditya(deleted) 2015-12-01T03:40:00Z post115147: Re: tutorial using QDB. http://community.qnx.com/sf/go/post115147 I'm working using QNX 6.5 too.. i don't know why it always said "near syntax error"..like in the picture. Tue, 01 Dec 2015 03:39:14 GMT http://community.qnx.com/sf/go/post115147 Afif Grahaditya(deleted) 2015-12-01T03:39:14Z post115146: Re: tutorial using QDB. http://community.qnx.com/sf/go/post115146 One comment - I'd suggest using your own in-memory database. We were using QDB in 6.5 and it was fine with high throughout - on moving to 6.6 the performance tanked and after some troubleshooting we moved away from it. Thanks, -James &gt; On Nov 30, 2015, at 8:13 PM, Afif Grahaditya &lt;community-noreply@qnx.com&gt; wrote: &gt; &gt; thanks for reply &gt; &gt; I already using your advice but it's "ïnput/output error" like attached picture. &gt; &gt; &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post115145 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com &gt; &lt;qdb5.jpg&gt; Tue, 01 Dec 2015 03:29:59 GMT http://community.qnx.com/sf/go/post115146 James Thomson(deleted) 2015-12-01T03:29:59Z post115145: Re: tutorial using QDB. http://community.qnx.com/sf/go/post115145 thanks for reply I already using your advice but it's "ïnput/output error" like attached picture. Tue, 01 Dec 2015 02:12:55 GMT http://community.qnx.com/sf/go/post115145 Afif Grahaditya(deleted) 2015-12-01T02:12:55Z post115136: Re: tutorial using QDB. http://community.qnx.com/sf/go/post115136 I think you posting to the wrong forum this is forum for Momentics IDE However values in INSERT should be in single quotes INSERT INTO Customers (CustomerName, ContactName, Address, City, PostalCode, Country) VALUES ('Cardinal','Tom B. Erichsen','Skagen 21','Stavanger','4006','Norway'); Fri, 27 Nov 2015 18:11:33 GMT http://community.qnx.com/sf/go/post115136 Elena Laskavaia 2015-11-27T18:11:33Z post115134: tutorial using QDB. http://community.qnx.com/sf/go/post115134 hello everyone I'm want to create a database I already make .sql and .cfg file extention, I already connected to the database now I have a problem, When I type INSERT INTO customers (firstname,lastname) VALUES (Afif,Fifa); It give me error "near INSERT syntax error." do you know why? I still confuse about it.. thanks Fri, 27 Nov 2015 08:25:48 GMT http://community.qnx.com/sf/go/post115134 Afif Grahaditya(deleted) 2015-11-27T08:25:48Z post115100: tutorial using QDB. http://community.qnx.com/sf/go/post115100 I'm just learning about QNX and QDB, I follow the instruction in www.qnx.com, i get the result is "missing argument '-c'" can you help me solve the problem? thanks Tue, 24 Nov 2015 07:53:55 GMT http://community.qnx.com/sf/go/post115100 Afif Grahaditya(deleted) 2015-11-24T07:53:55Z post114878: Problem getting Config http://community.qnx.com/sf/go/post114878 Using forum instead of official channel because I'm using Mars. I'm on ubuntu 14, 64Bit. The problem is present even if starting Eclipse via sudo When I go in About -&gt; Installation Details -&gt;Configuration a popup appears: An internal error occurred during: "Configuration Fetch Job". Invalid thread access The qnx line in the Eclipse log caught my attention: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:4491) at org.eclipse.swt.SWT.error(SWT.java:4406) at org.eclipse.swt.SWT.error(SWT.java:4377) at org.eclipse.swt.widgets.Display.error(Display.java:1186) at org.eclipse.swt.widgets.Display.checkDevice(Display.java:765) at org.eclipse.swt.widgets.Display.getSystemCursor(Display.java:2211) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:59) at com.qnx.tools.ide.qde.internal.ui.SystemSummaryLicenseInfoSection.write(SystemSummaryLicenseInfoSection.java:50) at org.eclipse.ui.internal.ConfigurationInfo.appendExtensions(ConfigurationInfo.java:107) at org.eclipse.ui.internal.ConfigurationInfo.getSystemSummary(ConfigurationInfo.java:73) at org.eclipse.ui.internal.about.AboutSystemPage$1.run(AboutSystemPage.java:159) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) Pointers ? Tue, 03 Nov 2015 19:15:45 GMT http://community.qnx.com/sf/go/post114878 Mario Charest 2015-11-03T19:15:45Z post114646: Re: 64 Bit version of Eclipse http://community.qnx.com/sf/go/post114646 I installed the zip file through Mars "Install New Software" method. I tried when Mars first came out but it wouldn't install, couldn't resolve dependencies. I decided to try against this week and remember that when I did the same procedure with Kepler I needed to use the Classic version of Eclipse. For Mars I realized that the “SDK package” is what I was looking for. I don't have much mileage with it since only started using it yesterday. But it's looking good so far. I had to modify the .ini provided with Mars to use the equinox launcher provided with Momentics 6.6.0, as specify in qde.ini of 6.6. We have been using Luna for over a year with the same repo files. The reason we have been using this setup instead of out of the box Momentics, is Momentics comes with an old svn plug-in and I couldn't find a way to upgrade/uninstall reliably it because of the way it’s bundle. By using the Eclipse + QNXREpos setup we have been able to keep up-to-date with Eclipse/CDT and make use of the latest feature set. We offer our programmers the choice of Eclipse+repos or Momentics telling them that by using Eclipse+repos they are using an "untested" package that is not officially support. But after more than a year of experience it turns out that Eclipse+repos is more stable and has increase usability. Wed, 14 Oct 2015 19:32:54 GMT http://community.qnx.com/sf/go/post114646 Mario Charest 2015-10-14T19:32:54Z post114640: Re: 64 Bit version of Eclipse http://community.qnx.com/sf/go/post114640 Did you try to install this from the repo on top of 64 bit mars? I am really surprise it works with mars since this repo is for Kepler CDT uses native packages, if you can get 64 bit native fragments from mars cdt and drop them in some-how - it may work. Wed, 14 Oct 2015 14:05:32 GMT http://community.qnx.com/sf/go/post114640 Elena Laskavaia 2015-10-14T14:05:32Z post114637: 64 Bit version of Eclipse http://community.qnx.com/sf/go/post114637 Half a year ago someone told me that you guys were working on a 64bit flavor of Eclipse. We have been able to run 32Bit Momentics on Ubuntu 64Bit without too much fuss, but it's getting troublesome ( has anyone been able to install 32 bit JavaHL on Ubuntu 64 bit.). I wont ask when or if that's comming ;-) Instead I would like to know if there is some sort of hack/trick that one can pull to use Eclipse 64 bit. I currently use Mars with the latest QNX stuff added in ( qnx-momentics-v201510011642-repo.zip ) Tue, 13 Oct 2015 21:09:13 GMT http://community.qnx.com/sf/go/post114637 Mario Charest 2015-10-13T21:09:13Z post114398: Re: Undefined references when compiling and linking with mudflap. http://community.qnx.com/sf/go/post114398 After reading my question, the little light came on and I added "mudflapth" to the "Libraries" field and it now links. This step was not in the instructions. Tue, 01 Sep 2015 18:56:59 GMT http://community.qnx.com/sf/go/post114398 Robert Murrell 2015-09-01T18:56:59Z post114397: Undefined references when compiling and linking with mudflap. http://community.qnx.com/sf/go/post114397 I am using QNX 6.5.0. We have a Managed C/C++ project with QNX toolchain. I followed the procedures in the QNX Momentics IDE User's Guide (Configuring Mudflap to find errors). When I compile and link the project, I get "undefined reference" errors. The following is a snippet from the console: qcc -o source\ui_stats.o ..\..\shared\source\ui_stats.cpp -V4.4.2,gcc_ntox86_cpp -w1 -IC:\Devel\work\expert -IC:\Devel\work\expert/../shared/source -IC:\Devel\work\shared\cifXDrv -IC:\Devel\work\shared\cifXDrv\cifXToolkit -DX86_BUILD -c -g -fmudflapth -Wc,-Wno-invalid-offsetof -Wno-switch qcc -o expert.bin (...) expert.o -lm -lc -lsocket -Bstatic -lgf -limg -lcache -lshutdown -lcifXDrv -V4.4.2,gcc_ntox86_cpp -w1 -lang-c++ -g -fmudflapth -LC:\Devel\work\shared\cifXDrv\Debug -lang-c++ C:/QNX650/target/qnx6/x86/lib/gcc/4.4.2\libmudflapth.a(libmudflapth_la-mf-runtime.o): In function `mfsplay_tree_xmalloc': /home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libmudflap/../../../../libmudflap/mf-runtime.c:2477: undefined reference to `__real_malloc' These command lines were generated by the IDE. Am I missing a library? Tue, 01 Sep 2015 18:50:12 GMT http://community.qnx.com/sf/go/post114397 Robert Murrell 2015-09-01T18:50:12Z post114318: Re: Using libraries on Imported existing project http://community.qnx.com/sf/go/post114318 typo, should be QNX SDP 6.6 Thu, 20 Aug 2015 21:19:34 GMT http://community.qnx.com/sf/go/post114318 K Seto(deleted) 2015-08-20T21:19:34Z post114317: Using libraries on Imported existing project http://community.qnx.com/sf/go/post114317 Hi, I use Momentics 5.0.1 with DSP 6.6. I followed "Tutorial 3: Import an existing project into the IDE" to import my existing C++ project.(http://www.qnx.com/developers/docs/660/topic/com.qnx.doc.ide.userguide/topic/tutorials_TUT3_.html?resultof=%22%69%6d%70%6f%72%74%22%20%22%65%78%69%73%74%69%6e%67%22%20%22%65%78%69%73%74%22%20%22%70%72%6f%6a%65%63%74%22%20) It seems this type of importing would give a Makefile project in IDE. So the property page doesn't have the linker page or extra library page for listing dynamically-loaded libraries. Also when running the executable, it complained about failed to load some standard libraries such as the libstdc++.so. My questions are: * How to specify libraries (both linked time and runtime time libraries) for an imported existing project? * Do I have to do it manually in the original makefiles? * Or, should I convert the imported project to a QNX C++ project? But the "New&gt;Other...&gt;Convert to QNX project" wizard doesn't see the imported project (probably due to that the existing code not living inside the workspace.) Perhaps I need to modify any search path for the wizard to detect my project? Thanks in advance. Ken Thu, 20 Aug 2015 21:16:04 GMT http://community.qnx.com/sf/go/post114317 K Seto(deleted) 2015-08-20T21:16:04Z post114195: How do I add a .lib library to a project? http://community.qnx.com/sf/go/post114195 I've created a static C library from Matlab using Coder. This is a .lib file. How do I add this library to a QNX project using momentics? When I include it, it says it has undefined references, and I can't find where to add this library in (for example, the Linker tab only lets you add .o or .a files, not .lib) Fri, 31 Jul 2015 19:33:38 GMT http://community.qnx.com/sf/go/post114195 Samuel Hutchinson(deleted) 2015-07-31T19:33:38Z post114185: Re: Code Coverage not working on IDE 5.0.1 http://community.qnx.com/sf/go/post114185 Try Run mode On 15-07-30 01:32 PM, Joseph Arsanious wrote: &gt; Its in Debug mode &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post114184 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Thu, 30 Jul 2015 19:26:13 GMT http://community.qnx.com/sf/go/post114185 Elena Laskavaia 2015-07-30T19:26:13Z post114184: Re: Code Coverage not working on IDE 5.0.1 http://community.qnx.com/sf/go/post114184 Its in Debug mode Thu, 30 Jul 2015 17:32:28 GMT http://community.qnx.com/sf/go/post114184 Joseph Arsanious 2015-07-30T17:32:28Z post114183: Re: Code Coverage not working on IDE 5.0.1 http://community.qnx.com/sf/go/post114183 Do you run in Run mode or in Debug mode? (Should be Run mode) Thu, 30 Jul 2015 16:41:02 GMT http://community.qnx.com/sf/go/post114183 Elena Laskavaia 2015-07-30T16:41:02Z post114108: Re: Error starting process when running C programs http://community.qnx.com/sf/go/post114108 Hello Samuel So the simple answer is "No, the intended purpose of the C/C++ and Debug view in Momentics is not to compile/debug programs for the local machine" Now because the Momentics C/C++ and Debug view are based on the Eclipse CDT, it is possible to set stuff up so that you could compile things for the local machine through make files and such. But again, this is not the intended purpose of Momentics. Thanks, Rodney On 07/13/2015 01:38 PM, Samuel Hutchinson wrote: &gt; So if I understand correctly, you use "run as local ..." when you have a program that has been compiled for the current machine (probably from some other machine) and you want to run it. You can't compile normal C/C++ programs for the host machine at all with Momentics. &gt; &gt; Is this all right? &gt; Thanks for answering. &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post114107 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Mon, 13 Jul 2015 17:45:02 GMT http://community.qnx.com/sf/go/post114108 Rodney Dowdall(deleted) 2015-07-13T17:45:02Z post114107: Re: Error starting process when running C programs http://community.qnx.com/sf/go/post114107 So if I understand correctly, you use "run as local ..." when you have a program that has been compiled for the current machine (probably from some other machine) and you want to run it. You can't compile normal C/C++ programs for the host machine at all with Momentics. Is this all right? Thanks for answering. Mon, 13 Jul 2015 17:38:21 GMT http://community.qnx.com/sf/go/post114107 Samuel Hutchinson(deleted) 2015-07-13T17:38:21Z post114106: Re: Error starting process when running C programs http://community.qnx.com/sf/go/post114106 Hello Samuel The launch "Local C/C++ Application" is an artifact that is there because the CDT plugins can be run on a variety of hosts with a variety of compilers. The Local C/C++ application does nothing to the selected application. It assumes that the selected application has been compiled using a compiler for the local machine. It tells the launch configuration to use a local debugger (usually gdb) and to run that debugger with the specified application. It does not interact or modify the specified application in any way. Thanks, Rodney On 07/13/2015 01:07 PM, Samuel Hutchinson wrote: &gt; I understand that, but I thought that since I was running the program as "Local C/C++ Application" it was designed to work on the host. &gt; &gt; Am I just misunderstanding what that setting is? &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post114105 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Mon, 13 Jul 2015 17:31:23 GMT http://community.qnx.com/sf/go/post114106 Rodney Dowdall(deleted) 2015-07-13T17:31:23Z post114105: Re: Error starting process when running C programs http://community.qnx.com/sf/go/post114105 I understand that, but I thought that since I was running the program as "Local C/C++ Application" it was designed to work on the host. Am I just misunderstanding what that setting is? Mon, 13 Jul 2015 17:07:05 GMT http://community.qnx.com/sf/go/post114105 Samuel Hutchinson(deleted) 2015-07-13T17:07:05Z post114104: Re: Error starting process when running C programs http://community.qnx.com/sf/go/post114104 Hello Samuel Applications that are compiled for the QNX operating cannot be run on the Windows operating system. You will need to setup a target running the QNX operating system, either on a physical machine, or through VMware to run your application. Thanks, Rodney Mon, 13 Jul 2015 14:40:52 GMT http://community.qnx.com/sf/go/post114104 Rodney Dowdall(deleted) 2015-07-13T14:40:52Z post114100: Error starting process when running C programs http://community.qnx.com/sf/go/post114100 I'm learning to use Momentics, and whenever I try to run simple hello world C/C++ programs as local applications I get an error: Error starting process cannot run program "[src path]": Launching failed. Is there someway to fix this? I have GNU installed and on the PATH, is there someway to tell momentics where it is since it can't seem to find it? I've attached a screenshot of the error Fri, 10 Jul 2015 21:20:55 GMT http://community.qnx.com/sf/go/post114100 Samuel Hutchinson(deleted) 2015-07-10T21:20:55Z post114029: Code Coverage not working on IDE 5.0.1 http://community.qnx.com/sf/go/post114029 Hi, I updated my IDE from v 4.7 to the 5.0.1 and I can't get the code coverage to work though it was working in the 4.7 version. I get the following error: Error in final launch sequence Cannot notify launch delegate before releasing application java.lang.NullPointerException This is what I see in the debug window middleman_app [C/C++ QNX QConn (IP)] &lt;terminated, exit value: -1&gt;C:\local_tools\qnx\QNX650SP1\host\win32\x86\usr\bin\ntoarm-gdb.exe &lt;terminated, exit value: -15&gt;/tmp/middleman_app on 10.0.0.122 pid 368677 (6/25/15 1:09 PM) The application is compiled and linked with the "Build for Code Coverage" option checked. Any ideas? Thank you Joseph Thu, 25 Jun 2015 20:17:55 GMT http://community.qnx.com/sf/go/post114029 Joseph Arsanious 2015-06-25T20:17:55Z post114011: Re: set the numbers in QNX momentics http://community.qnx.com/sf/go/post114011 Thank you..for given detail explination. Wed, 24 Jun 2015 07:24:57 GMT http://community.qnx.com/sf/go/post114011 srihari kolli(deleted) 2015-06-24T07:24:57Z post114006: Re: set the numbers in QNX momentics http://community.qnx.com/sf/go/post114006 Line numbering is set for the editor in the Global Preferences. From the menu bar: Window -&gt; Preferences -&gt; General -&gt; Editors -&gt; Text Editors Select "Show line numbers" check box. Also available in the Editor window by right mouse button clicking in the left margin of the editor and selecting "Show Line Numbers" from the pop-up menu. Tue, 23 Jun 2015 14:07:06 GMT http://community.qnx.com/sf/go/post114006 Dave Nickerson 2015-06-23T14:07:06Z post114004: set the numbers in QNX momentics http://community.qnx.com/sf/go/post114004 How to set the numbers for source code in QNX momentics. example: 1. #include &lt;iostream&gt; 2 int main() 3. { 4 printf() 5 return; 6 } Tue, 23 Jun 2015 05:23:04 GMT http://community.qnx.com/sf/go/post114004 srihari kolli(deleted) 2015-06-23T05:23:04Z post113933: Re: RE: Permission issue withe windows 7 and Momentics 6.3.2 http://community.qnx.com/sf/go/post113933 Probably worth starting a new topic for this since you believe it does not have anything to do with previous issue, thread is from 2011 (which may cause people to skip it) and it is a different version of Momentics. When you do start the new topic, mention how you installed Momentics (as administrator or non-administrator). Which directory you are trying to create your workspace in and your permissions in that directory. - Dave Mon, 08 Jun 2015 15:51:04 GMT http://community.qnx.com/sf/go/post113933 Dave Nickerson 2015-06-08T15:51:04Z post113803: Named Packet sockets - AF_LOCAL and SOCK_DGRAM a valid combination in QNX? http://community.qnx.com/sf/go/post113803 Has anyone gotten AF_LOCAL sockets with SOCK_DGRAM socket protocol working on QNX? I'm porting a project from Linux to QNX and it contains a library based on exchanging data packets over named sockets. It's using SOCK_SEQPACKET which doesn't exist in QNX, so I'm trying to get it to work with minimal changes using SOCK_DGRAM. Everything compiles but I have had various issues: (1) Clients can send data, but recipient response never arrives. (2) If I use AF_INET, everything with SOCK_DGRAM works but I'll have to convert the library away from named sockets to port numbers. Not terrible, but not my first choice. (3) Management doesn't want to leave posix code to use QNX Messages because of future portablity fears. Before I invest too much time in a dead end, I want to confirm it's not a dead end -- has anyone gotten AF_LOCAL + SOCK_DGRAM working in QNX, or knows it's a supported or unsupported combination? Thank you, KennF Tue, 12 May 2015 22:42:00 GMT http://community.qnx.com/sf/go/post113803 Kennet_ Frankle(deleted) 2015-05-12T22:42:00Z post113787: Re: RE: Permission issue withe windows 7 and Momentics 6.3.2 http://community.qnx.com/sf/go/post113787 It sounds like I'm having this same exact problem with Momentics 6.5 and windows 7. I don't think it has anything to do with SVN, because I created a new workspace not controlled by SVN and still get the permission denied error. Sorry I don't have any ideas for a solution, but I don't think it has anything to do with SVN. Thu, 07 May 2015 18:08:27 GMT http://community.qnx.com/sf/go/post113787 James Mason(deleted) 2015-05-07T18:08:27Z post113763: new to QNX http://community.qnx.com/sf/go/post113763 hI all: I just installed QNX and started to use it one of my module got the follwoing error(in the same project with multiple moudles):(link error) C:/QNX650/host/win32/x86/usr/bin/qcc -Vgcc_ntoarmv7 -Wl,--no-keep-memory -lang-c++ -lang-c++ -oC:/Users/qiurosea/Documents/MKS/Development/QNX/MPU-APPS/ServerConfigLib/arm/o-le-v7/ServerConfigLib ServerConfig.o -L . -L C:/QNX650/target/qnx6/armle-v7/lib -L C:/QNX650/target/qnx6/armle-v7/usr/lib -Wl,--rpath-link . -Wl,--rpath-link C:/QNX650/target/qnx6/armle-v7/lib -Wl,--rpath-link C:/QNX650/target/qnx6/armle-v7/usr/lib -lc -EL C:/QNX650/target/qnx6/armle-v7/lib/crt1.o: In function `start_7': (.text+0xe8): undefined reference to `main' I checked this module, there is no main and also this module includes all the function definition. to other modules in the same project, it is ok though I used exact same configure. I am stuck here for two days, I would need your help. (I checked the ctrl.o, I do not have source code for this file) thanks Thu, 30 Apr 2015 21:11:52 GMT http://community.qnx.com/sf/go/post113763 roseanne qiu(deleted) 2015-04-30T21:11:52Z post113750: Characters coding in QNX's terminals http://community.qnx.com/sf/go/post113750 Hello, I encountered some difficulties when trying to build simple menu on tft display using ncurses. I use QNX 6.5. Suppose that using utf-8 with QNX's terminals is impossible yet. What about using 1-byte windows cp-1250 or ISO-8859-2? Is it possible to set terminal i.e. qnx or qansi to use central european characters on target rather than standard ANSI coding? Tue, 28 Apr 2015 07:32:29 GMT http://community.qnx.com/sf/go/post113750 Micha&#322; Sekula 2015-04-28T07:32:29Z post113538: Re: Code coverage combining sessions gives 0% sumary totals http://community.qnx.com/sf/go/post113538 This issue should be resolved in the latest version of the IDE (5.0.1 SR1). You can download it at http://community.qnx.com/sf/frs/do/viewRelease/projects.ide/frs.5_0_1.ide_5_0_1_sr4 Thu, 12 Mar 2015 14:55:00 GMT http://community.qnx.com/sf/go/post113538 David Cummings(deleted) 2015-03-12T14:55:00Z post113508: Code coverage combining sessions gives 0% sumary totals http://community.qnx.com/sf/go/post113508 In the web page http://www.qnx.org.uk/developers/articles/rel_2080_2.html we are seeing the issue described below on QNX6.5.0 SP1: (Re-posting in correct forum) If you generate code coverage files from the command line, and then import them into the IDE, you can see coverage on a file-by-file basis, but the roll-up coverage for the project is reported as being 0%. (Ref# 42550) We also see this problem when combining code coverage that was generated using the IDE. Has this bug been fixed? If so, where can I get the solution? Thanks, Glyn. Fri, 06 Mar 2015 09:08:50 GMT http://community.qnx.com/sf/go/post113508 Glyn Jones(deleted) 2015-03-06T09:08:50Z post113350: Re: Generating a system build image http://community.qnx.com/sf/go/post113350 Sure Dave, I should go step by step and see where the problem lies. i will update you the outcome soon. Thanks. Philip Fri, 20 Feb 2015 06:40:16 GMT http://community.qnx.com/sf/go/post113350 Philip Abraham(deleted) 2015-02-20T06:40:16Z post113340: Re: Generating a system build image http://community.qnx.com/sf/go/post113340 It is possible to have procnto output to a serial port but not likely helpful in this case since I assume you have stdout stderr available on a display console. I would suggest using the builtin command display_msg display_msg Starting serial port Adding this before each new step in your boot process will allow you to see how far you are getting in your boot script. For now you might consider commenting out the photon portions and just just get a console working, once that is successful, add back in the Photon components and commands. Also note that most drivers have -v options to make their startup be more verbose (display more status and failure information). Thu, 19 Feb 2015 13:24:57 GMT http://community.qnx.com/sf/go/post113340 Dave Nickerson 2015-02-19T13:24:57Z post113336: Re: Generating a system build image http://community.qnx.com/sf/go/post113336 &gt; As well since you are intending to embedded Photon and Photon application, &gt; worth also reading: &gt; &gt; http://www.qnx.com/developers/docs/6.5.0SP1/photon/prog_guide/embed.html Thanks Dave. I have read the "Photon in Embedded Systems" section. I followed the steps given in the article to create an image using System Builder, and I get an image (photonBld.ifs file). I then moved this file to target's .boot folder (my target is now a VMWare x86 Virtual Machine running QNX 6.5). On boot up I select this generated photonBld.ifs file, but then nothing happens. No progress message, no errors, just stops after displaying the following line: "QNX v1.2b Boot Loader: photonBld.ifs ............." Is there a way I can debug this to see what's happening? There were no warnings/errors on building in System Builder. Regards, Philip Thu, 19 Feb 2015 04:47:24 GMT http://community.qnx.com/sf/go/post113336 Philip Abraham(deleted) 2015-02-19T04:47:24Z post113329: Re: Generating a system build image http://community.qnx.com/sf/go/post113329 Have a look at the Building Embedded Systems bookset: http://www.qnx.com/developers/docs/6.5.0SP1/neutrino/building/about.html As well since you are intending to embedded Photon and Photon application, worth also reading: http://www.qnx.com/developers/docs/6.5.0SP1/photon/prog_guide/embed.html And the utility reference for mkifs will explain many of the commands understood by the utility. http://www.qnx.com/developers/docs/6.5.0SP1/neutrino/utilities/m/mkifs.html - Dave Wed, 18 Feb 2015 20:03:03 GMT http://community.qnx.com/sf/go/post113329 Dave Nickerson 2015-02-18T20:03:03Z post113323: Generating a system build image http://community.qnx.com/sf/go/post113323 Hello Everyone, I have QNX executable (dialog based, created in PhAB) and I want this executable to be run when the QNX RTOS machine boots up. I don't want to load the usual QNX desktop. I am using the System Builder in the IDE, and have created a generic image file (.ifs). But when I move this .ifs file to a Virtual Machine (running QNX RTOS 6.5), upon boot up, many error messages are given saying: Unknown symbol: &lt;different names&gt; Idd: FATAL: Could not resolve all symbols I also want to run a script (say named: testScript) from the boot script file (.bsh). The script will be stored in: /home/test/ I understand I will have to create the folders /home/test/ in the target image. I have searched this forum for help on working with system builder in Momentics IDE. But I don't seem to be getting the help that I need. By the way, I am using IDE 4.6.0, the target RTOS (or for development purpose the Virtual Machine) will be 6.5 Can anyone please give me tips or links to pages that contain some information to build a target image? Thanks. Regards, Philip Wed, 18 Feb 2015 02:19:31 GMT http://community.qnx.com/sf/go/post113323 Philip Abraham(deleted) 2015-02-18T02:19:31Z post112452: Re: Access the proc filesystem on QNX 6.6 x86 by a non root user http://community.qnx.com/sf/go/post112452 It is probably not the right forum to ask this, maybe try core os forums? http://community.qnx.com/sf/discussion/do/listTopics/projects.core_os/discussion.newcode On 14-11-25 05:15 AM, Stefan Holzmüller wrote: &gt; I have two Systems to test on. &gt; &gt; 1. A Pre compiled QNX 6.5 distribution with diskboot &gt; 2. A custom build image with QNX 6.6 &gt; &gt; On QNX 6.5 it is possible to run the following command as a non root user: &gt; $ showmem -P &gt; $ id &gt; uid=1000(tester) gid=1000(tester) &gt; &gt; Under QNX 6.6 the same command produces the following errors: &gt; $ showmem -P &gt; mem_offset64_peer() failed (Operation not permitted): pid=1, vaddr=0xf4400000 &gt; Unable to get phys addrs for pid: 1 &gt; This process will be ignored &gt; mem_offset64_peer() failed (Operation not permitted): pid=2, vaddr=0x07fc7000 &gt; Unable to get phys addrs for pid: 2 &gt; This process will be ignored &gt; ... &gt; $ id &gt; uid=1000(tester) gid=1000(tester) groups=1000(tester),100(users) &gt; &gt; I have changed the boot command so every user on the system has access to proc: &gt; procnto-smp-instr -v -u 0002 &gt; &gt; $ ls -l /proc/ &gt; ... &gt; dr-xr-xr-x 2 root root 1 Nov 24 17:44 3 &gt; dr-xr-xr-x 2 root root 1 Nov 24 17:44 36883 &gt; dr-xr-xr-x 2 root root 1 Nov 24 17:44 36887 &gt; ... &gt; &gt; If I try to list process number 3 it works &gt; $ ls -l /proc/3 &gt; total 1882 &gt; -rw-rw-r-- 1 root root 962560 Nov 24 17:44 as &gt; -rw-rw-r-- 1 root root 9 Nov 24 17:44 cmdline &gt; -rw-rw-r-- 1 root root 20 Nov 24 17:44 exefile &gt; &gt; But the user is unable to open this for example &gt; $ ls -l /proc/36883 &gt; ls: Operation not permitted (/proc/36883) &gt; &gt; Is the access restricted to the root user? &gt; &gt; Thanks &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post112424 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Wed, 26 Nov 2014 20:01:59 GMT http://community.qnx.com/sf/go/post112452 Elena Laskavaia 2014-11-26T20:01:59Z post112424: Access the proc filesystem on QNX 6.6 x86 by a non root user http://community.qnx.com/sf/go/post112424 I have two Systems to test on. 1. A Pre compiled QNX 6.5 distribution with diskboot 2. A custom build image with QNX 6.6 On QNX 6.5 it is possible to run the following command as a non root user: $ showmem -P $ id uid=1000(tester) gid=1000(tester) Under QNX 6.6 the same command produces the following errors: $ showmem -P mem_offset64_peer() failed (Operation not permitted): pid=1, vaddr=0xf4400000 Unable to get phys addrs for pid: 1 This process will be ignored mem_offset64_peer() failed (Operation not permitted): pid=2, vaddr=0x07fc7000 Unable to get phys addrs for pid: 2 This process will be ignored ... $ id uid=1000(tester) gid=1000(tester) groups=1000(tester),100(users) I have changed the boot command so every user on the system has access to proc: procnto-smp-instr -v -u 0002 $ ls -l /proc/ ... dr-xr-xr-x 2 root root 1 Nov 24 17:44 3 dr-xr-xr-x 2 root root 1 Nov 24 17:44 36883 dr-xr-xr-x 2 root root 1 Nov 24 17:44 36887 ... If I try to list process number 3 it works $ ls -l /proc/3 total 1882 -rw-rw-r-- 1 root root 962560 Nov 24 17:44 as -rw-rw-r-- 1 root root 9 Nov 24 17:44 cmdline -rw-rw-r-- 1 root root 20 Nov 24 17:44 exefile But the user is unable to open this for example $ ls -l /proc/36883 ls: Operation not permitted (/proc/36883) Is the access restricted to the root user? Thanks Tue, 25 Nov 2014 10:15:48 GMT http://community.qnx.com/sf/go/post112424 Stefan Holzmüller(deleted) 2014-11-25T10:15:48Z post112377: Re: Are spaces allowed in bsp_working_dir? http://community.qnx.com/sf/go/post112377 No spaces permitted. Generally any pathnames that contain source/utilities/libs/headers cannot contain white space. Wed, 19 Nov 2014 21:04:46 GMT http://community.qnx.com/sf/go/post112377 Dave Nickerson 2014-11-19T21:04:46Z post112364: Are spaces allowed in bsp_working_dir? http://community.qnx.com/sf/go/post112364 I am new to QNX Neutrino and am working with QNX SDP 6.6. I have seen in several places within user guides and installation manuals that spaces are not allowed within directory names. Is this the case for bsp_working_dir? In the document "Building Embedded Systems" there is an example of bsp_working_dir given: /home/myID/my_BSPs/integrator which has no spaces and has an underscore. Any insight provided will be appreciated. Thanks in advance. Jim Czekaj Tue, 18 Nov 2014 23:26:35 GMT http://community.qnx.com/sf/go/post112364 James Czekaj(deleted) 2014-11-18T23:26:35Z post112315: Re: QNX postmortem debugging is broken in IDE 5.0.1 http://community.qnx.com/sf/go/post112315 Thank you David for pointing it out. Coming from IDE 4.7.0, I didn't notice there is a new QNX postmortem launcher option. That was the issue. Best regards, Vincent Tue, 11 Nov 2014 21:13:18 GMT http://community.qnx.com/sf/go/post112315 Vincent Wan(deleted) 2014-11-11T21:13:18Z post112314: Re: QNX postmortem debugging is broken in IDE 5.0.1 http://community.qnx.com/sf/go/post112314 You need to use the QNX postmortem launch configuration as opposed to the C/C++ one. Tue, 11 Nov 2014 19:00:09 GMT http://community.qnx.com/sf/go/post112314 David Cummings(deleted) 2014-11-11T19:00:09Z post112313: QNX postmortem debugging is broken in IDE 5.0.1 http://community.qnx.com/sf/go/post112313 Whenever I try to do postmortem debugging using a core file, the following error message would appear in a "Problem Occurred" popup window: Error while launching command: gdb --version Any idea what is wrong here? Thanks. Tue, 11 Nov 2014 18:39:06 GMT http://community.qnx.com/sf/go/post112313 Vincent Wan(deleted) 2014-11-11T18:39:06Z post112241: Re: IDE 5.0 and GCC 4.7.2 http://community.qnx.com/sf/go/post112241 I solved this problem. I had to update to the 7.4 version of gdb to debug the project that I was working on. Tue, 04 Nov 2014 02:18:04 GMT http://community.qnx.com/sf/go/post112241 Rodney Dowdall(deleted) 2014-11-04T02:18:04Z post112234: Re: C++ indexer with projects located several levels below the workspace root http://community.qnx.com/sf/go/post112234 There appear to be a lot of errors/issues being reported. I've attached the log file, I hear reading them helps cure insomnia :) Thanks Kevin Thu, 30 Oct 2014 14:23:08 GMT http://community.qnx.com/sf/go/post112234 Kevin Stallard 2014-10-30T14:23:08Z post112233: Re: C++ indexer with projects located several levels below the workspace root http://community.qnx.com/sf/go/post112233 In my research, I found a promising area in the Workspace preferences: Windows-&gt;Preferences-&gt;C++-&gt;New CDT Project Wizard-&gt;Makefile Project However, this property page/dialog appears buggy, it won't save changes and now when I open it I get a message saying that it contains invalid values. When I try to get to it a second or third time, I get a Java NULL pointer exception. Thanks Kevin Thu, 30 Oct 2014 14:16:59 GMT http://community.qnx.com/sf/go/post112233 Kevin Stallard 2014-10-30T14:16:59Z post112232: C++ indexer with projects located several levels below the workspace root http://community.qnx.com/sf/go/post112232 Hi, I can't get the indexer to find normal, QNX header files if the project doesn't live directly at the workspace root. Simple header files such as &lt;iostream&gt; aren't resolved by the indexer. Ideas? Using IDE 5.0.1 with QNX 6.6 Thanks Kevin Thu, 30 Oct 2014 02:17:21 GMT http://community.qnx.com/sf/go/post112232 Kevin Stallard 2014-10-30T02:17:21Z post112222: IDE 5.0 and GCC 4.7.2 http://community.qnx.com/sf/go/post112222 Hello Are there any known issues with debugging code in IDE 5.0 with QCC using GCC 4.7.2? When I debug I dont' get source. I can't set breakpoints and back traces are just addresses for some shared objects. All projects that I am trying to look at are build debug. I am attaching to the running process through qconn. It does not seem to matter though if I attach to it or if I launch it straight from qconn. This is with QNX 6.5.0 SP 1. Thanks, Rodney Wed, 29 Oct 2014 14:48:42 GMT http://community.qnx.com/sf/go/post112222 Rodney Dowdall(deleted) 2014-10-29T14:48:42Z post112064: Re: Updating the IDE http://community.qnx.com/sf/go/post112064 Okay, so I didn't realize they were cumalitive zip files, and not standalone instances. I installed the first instance of the Qde 5.0 zip file and it worked, and now I am going through each zip file and building on top of it. Rodney Fri, 17 Oct 2014 18:17:15 GMT http://community.qnx.com/sf/go/post112064 Rodney Dowdall(deleted) 2014-10-17T18:17:15Z post112063: Updating the IDE http://community.qnx.com/sf/go/post112063 Hello I am trying to use the following IDE update: http://community.qnx.com/sf/frs/do/downloadFile/projects.ide/frs.ide_5_0.ide_5_0_20130109/frs39600?dl=1 I took the zip file, extracted it to C:\QNX650\host\win32\x86\usr\qde\qde-5.0. I setup the dropins folder to point to the docs. I copied the jre directory from C:\QNX650\host\win32\x86\usr\qde\eclipse to C:\QNX650\host\win32\x86\usr\qde\qde-5.0. I opened up a command shell and navigate to C:\QNX650\host\win32\x86\usr\qde\qde-5.0 and then run qde. It launches fine and asks me to create an ide-5.0-workspace in my users directory. I select that as my workspace, but when eclipse loads, I don't have access to any of the QNX plugins. I can't open a QNX system builder perspective for example, or a QNX system profiler perspective. It's like it did not load any of the plugins for QNX, but they are all there in the plugins directory. Did I miss a step somewhere? Thanks, Rodney Fri, 17 Oct 2014 17:47:59 GMT http://community.qnx.com/sf/go/post112063 Rodney Dowdall(deleted) 2014-10-17T17:47:59Z post111789: Momentics IDE 5.0.1 QNX 6.6 Cyclone V Soc BSP http://community.qnx.com/sf/go/post111789 the issue I am having is generating an ifs- prefixed file to deploy. Using the supplied BSP it is possible to compile an image and load it onto the cyclone V via tftpboot. The question i am having is thus, how do I modify the build script to include an external project? or alternately generate an efs- prefixed image and a combination image to load to my board. Thu, 18 Sep 2014 20:21:15 GMT http://community.qnx.com/sf/go/post111789 Ian Currie 2014-09-18T20:21:15Z post111737: QNX 6.6 Momentics, Intellisense and C++11 http://community.qnx.com/sf/go/post111737 Hi, I'm trying to get full intellisense with C++11 features in QNX C++ Projects in the QNX 6.6 Momentics IDE. My testcase is something like: #include &lt;memory&gt; class A { public: void foo() {}; }; int main(int argc, char *argv[]) { std::unique_ptr&lt;A&gt; finst; finst-&gt;foo(); return EXIT_SUCCESS; } This compiles fine and Intellisense knows enough about std::unique_ptr to autocomplete the name. What doesn't work is showing the type of finst in the autocomplete-dropdown (Type f and press CTRL-SPACE, then continue typing). The dropdown shows "finst: *", so it can't resolve the name. I was able to get this working by enabling "Enable language settings providers for this project" in the project settings unter "C/C++ General -&gt; Preprocessor...". Then I added the "CDT GCC Built-In Compiler Settings" and changed the command to "ntox86-${COMMAND} -std=c++0x -x c++ -E -P -v -dD ${INPUTS}". After deleting the cache files and restarting the IDE, intellisnse worked and finst-&gt; CTRL+SPACE showed "A" and "foo()" in the dropdown list. Sadly this disables the indexing of include paths given under project settings "QNX C/C++ Project -&gt; Compiler -&gt; Extra include paths". So it is not an option to use the "CDT GCC Built-In Compiler Settings". How does the QNX Project add symbols to the indexer? I think it is supposed to provide an indexing provider like the one used for pure C++ projects (CDT Managed Build Settings Entries) Jörg Tue, 16 Sep 2014 15:04:20 GMT http://community.qnx.com/sf/go/post111737 Jörg Vehlow(deleted) 2014-09-16T15:04:20Z post111716: Plug-in development http://community.qnx.com/sf/go/post111716 I need to develop a plugin for ide Momentics 4.7. Using an Eclipse PDE (plug-in development environment) I developed a simple plugin and tried to install it on Momentics IDE. The installation was successful, but plugin wasn't run. But on Eclipse IDE plugin works. What wrong with it? Are there tools for developing plug-in on momentics ide? Mon, 15 Sep 2014 12:23:47 GMT http://community.qnx.com/sf/go/post111716 Den Brain(deleted) 2014-09-15T12:23:47Z post111512: A suitable JVM could not be found while installing QNX SDP 6.5.0 SP1 http://community.qnx.com/sf/go/post111512 I am getting following error when i am trying to install QNX SDP 6.5.0 SP1 on my host PC. ================== sudo -E ./qnxsdp-6.5.0SP1-201206271006-linux.bin [sudo] password for parasoft: InstallShield Wizard Initializing InstallShield Wizard... Searching for Java(tm) Virtual Machine... ................................... .................................... ................................... A suitable JVM could not be found. Please run the program again using the option -is:javahome &lt;JAVA HOME DIR&gt; ===================== I tried to install using below combinations 1) sudo -E ./qnxsdp-6.5.0SP1-201206271006-linux.bin 2) sudo -E ./qnxsdp-6.5.0SP1-201206271006-linux.bin -is:javahome JAVA_HOME=/usr/lib/jvm/java-6-openjdk-common/ 3) sudo -E ./qnxsdp-6.5.0SP1-201206271006-linux.bin -is:javahome JAVA_HOME=/usr/lib/jvm/java-6-openjdk-i386/ 4) sudo -E ./qnxsdp-6.5.0SP1-201206271006-linux.bin -is:javahome JAVA_HOME=/usr/lib/jvm/java-6-openjdk-i386/bin/ Host OS: ubuntu 12.04 32 bit Please halp me to solve this issue. Thanks Regards, Rahman Thu, 21 Aug 2014 08:43:04 GMT http://community.qnx.com/sf/go/post111512 Abdur Rahman 2014-08-21T08:43:04Z post111467: Re: Qnx Ethernet problem http://community.qnx.com/sf/go/post111467 Hi, And other problem(in my opinio it is main problem) is : Starting onboard network driver, generating unique MAC address from silicon die ID sh: omap4-dieid: cannot execute - No such file or directory So omap4-died binary can not executed on booting Mon, 18 Aug 2014 12:07:39 GMT http://community.qnx.com/sf/go/post111467 yusuf yamak(deleted) 2014-08-18T12:07:39Z post111464: Qnx Ethernet problem http://community.qnx.com/sf/go/post111464 Hi, I am using PandaBoard ES.I download qnx-sdp-6.6 bsp and put MLO,U-boot and ifs-omap4430-panda.bin to sd card.And I put to Pandaboard and everything works fine.But If I compile Bsp and I use "ifs-omap4430-panda.bin" form images folder,pandaboard ethernet isn't work.I get following error end of booting: ksh: No controlling tty (open /dev/tty: No such device or address) ksh: warning: won't have full job control And I run ifconfig command on PandaBoard,command output is: lo0: flags=8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; mtu 33192 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 What can I solve this problem? Thank for your interest. Mon, 18 Aug 2014 08:28:17 GMT http://community.qnx.com/sf/go/post111464 yusuf yamak(deleted) 2014-08-18T08:28:17Z post111460: Cannot set breakpoints in Momentics IDE 5.0.1 from SDP 6.6 http://community.qnx.com/sf/go/post111460 We typically build our code on a Linux machine and then use a Windows 7 box for debug with the QNX IDE. Ever since the upgrade to QNX 6.6, I have noticed that breakpoints on source lines in files that are not in the same directory as “common.mk” no longer take effect (the small check mark underneath the dot of the breakpoint is missing). I know I have built with debug options since I can set breakpoints in the disassembly window, and upon halting at the breakpoints the correct source file is brought up in the IDE. At that point I can also step through the source lines in the function. I have also set up the “Path mapping” options in the same way as in SDP 6.5.0 to ensure the IDE can automatically bring up the right source files. The same executable can be debugged just fine on IDE 4.7 with no breakpoint issues. Any ideas what I need to change in order to set breakpoints? Thanks, Vincent Fri, 15 Aug 2014 20:32:25 GMT http://community.qnx.com/sf/go/post111460 Vincent Wan(deleted) 2014-08-15T20:32:25Z post111449: Re: Momentic IDE 5.0.1 http://community.qnx.com/sf/go/post111449 Yes,I talking about system builder. Can't I use UI to add files to image in this version?Isn't there any way?Momentics Ide 5.0.1 help says that;I can use UI for this operation,but I can't. Fri, 15 Aug 2014 05:26:25 GMT http://community.qnx.com/sf/go/post111449 Ahmet Bektas(deleted) 2014-08-15T05:26:25Z post111444: Re: Momentic IDE 5.0.1 http://community.qnx.com/sf/go/post111444 You talking about system builder? It should have prompt you to convert this project into flat build file. Unfortunately UI for editing this file is not present in this version, you have to add files using text editor, can check documentation of how populate system image build file. On 14-08-14 08:18 AM, yusuf yamak wrote: &gt; Hi, &gt; I installed QNX SDP 6.6.I want to build an image in Momentics IDE but I can't find project.bld.When Project.bld file is double clicked,Qnx System builder window is opened in Momentics IDE 4.7 and I can add folder,binary,dll etc. to image.How can I open this window in 5.0.1. &gt; &gt; &gt; &gt; _______________________________________________ &gt; &gt; General &gt; http://community.qnx.com/sf/go/post111433 &gt; To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Thu, 14 Aug 2014 20:35:37 GMT http://community.qnx.com/sf/go/post111444 Elena Laskavaia 2014-08-14T20:35:37Z post111433: Momentic IDE 5.0.1 http://community.qnx.com/sf/go/post111433 Hi, I installed QNX SDP 6.6.I want to build an image in Momentics IDE but I can't find project.bld.When Project.bld file is double clicked,Qnx System builder window is opened in Momentics IDE 4.7 and I can add folder,binary,dll etc. to image.How can I open this window in 5.0.1. Thu, 14 Aug 2014 12:18:07 GMT http://community.qnx.com/sf/go/post111433 yusuf yamak(deleted) 2014-08-14T12:18:07Z post111303: Re: Cannot link to source files in project sub-folders http://community.qnx.com/sf/go/post111303 This is very usefully for me ! _____________ [url=http://www.allnewdeals.com]daily deals[/url], [url=http://www.allnewdeals.com]online shopping sites[/url], [url=http://www.allnewdeals.com]hot deals[/url], [url=http://www.allnewdeals.com]best deals[/url] Tue, 05 Aug 2014 06:17:41 GMT http://community.qnx.com/sf/go/post111303 Klara Kritonis 2014-08-05T06:17:41Z post111285: Python for QNX 6.5 ARMv7 (Pandaboard TI-OMAP-4430) http://community.qnx.com/sf/go/post111285 Hey, ist there already any Python port for QNX 6.5 ARMv7 (Pandaboard TI-OMAP-4430). I was looking everywhere but i didnt find anything. Would be very nice, if someone could point me to the right direction. Best regards, Nachaat. Fri, 01 Aug 2014 13:38:37 GMT http://community.qnx.com/sf/go/post111285 Hassis Nachaat 2014-08-01T13:38:37Z post110944: Re: Issue with register key http://community.qnx.com/sf/go/post110944 You may have solved this already but if not....each license key allows up to three activations after which you need to contact your QNX Sales representative to add additional activations for your license. You may also request additional activations through your myQNX account. Simply log into your account, review the list of licenses. The list will indicate if you have activations left for that license or it provides a link to request additional activations. Fri, 04 Jul 2014 14:13:56 GMT http://community.qnx.com/sf/go/post110944 Dave Nickerson 2014-07-04T14:13:56Z post110694: Issue with register key http://community.qnx.com/sf/go/post110694 Hi, I had a license register on another pc previously. I uninstalled the software and reinstall on a new pc. but now, I can't register my license, it says Your activation limit has been exceeded any clue how I can register my software? thanks Fri, 13 Jun 2014 22:07:59 GMT http://community.qnx.com/sf/go/post110694 hua yang(deleted) 2014-06-13T22:07:59Z post110318: Re: appBuilder on QNX6.4. and 6.5.0 trouble http://community.qnx.com/sf/go/post110318 &gt; Hi, all, &gt; I've installed the IDE 4.7 (win) with QNX6.5 on my PC and I've try to &gt; generate a Photon application. &gt; On the same PC I've have 6.3.2,6.4.1 and now 6.5.0. &gt; IDE and QNX directories are on D: partition. &gt; &gt; In the IDE4.7 (6.4.1 environment) I' ve created a simple appBuilder &gt; application using a workspace placed on a network disk (H:). &gt; When I do generate UI in Phab development environment or simply to save it, &gt; the error report: &gt; "command approto -p *.c *.cc *.cpp &gt;proto.h died(127)" &gt; &gt; the 6.5.0 env. has the same problem. &gt; &gt; If I select the 6.3.2 environment, all works fine. &gt; &gt; Now, if I copy the same project on a location on the D: disk and I import it &gt; the same &gt; network workspace, all works fine in both 6.4.1 and 6.5.0 envs. &gt; &gt; So, it seems that the appBuilder released with &gt;=6.4.1 works fine only &gt; if the project is on the same driver where appBuilder is located.... &gt; Any idea ? &gt; thanks &gt; Wed, 14 May 2014 11:25:54 GMT http://community.qnx.com/sf/go/post110318 meng fanjun 2014-05-14T11:25:54Z post110312: Re: Cannot link to source files in project sub-folders http://community.qnx.com/sf/go/post110312 A resolution was posted here: http://community.qnx.com/sf/discussion/do/listPosts/projects.community/discussion.qnx_momentics_getting_started.topc25343 Tue, 13 May 2014 19:15:27 GMT http://community.qnx.com/sf/go/post110312 Ariosto Ferro(deleted) 2014-05-13T19:15:27Z post110304: Cannot link to source files in project sub-folders http://community.qnx.com/sf/go/post110304 Hello, I am just getting started with the QNX momentics IDE. I started creating a simple project but I am running into the problem where the QNX Momentics IDE cannot seem to link against source files in sub folders of my project. I have created a very small simple project, it is a QNX C/C++ project. It has the following structure: In the root folder: MyTest.cc, and a source folder called asdf. In the /asdf/ folder: asdf.h and asdf.cpp exist. MyTest.cc is as follows: #include &lt;cstdlib&gt; #include &lt;iostream&gt; #include "asdf/asdf.h" int main() { doStuff(); } asdf.cpp is as follows: /* * asdf.cpp */ #include "asdf.h" #include &lt;stdio.h&gt; void doStuff() { printf ("hello, world.\n"); } and asdf.h: /* * asdf.h */ #ifndef ASDF_H_ #define ASDF_H_ void doStuff(); #endif /* ASDF_H_ */ As you can see, this is a very simple example. The project compiles against the header correctly then gives me the linker error: "undefined reference to doStuff"... I am new to QNX and a rather novice programmer, but this still strikes me as something the IDE should be able to manage? What am I missing? I can simply compile this example from command line with g++ MyTest.cpp asdf/asdf.cpp -o MyTest and it works just fine, so I am very confused why I cannot get the IDE to do the same.. Any advice? Tue, 13 May 2014 17:24:46 GMT http://community.qnx.com/sf/go/post110304 Ariosto Ferro(deleted) 2014-05-13T17:24:46Z post110235: Is it possible to build QNX application from command line without having IDE installed? http://community.qnx.com/sf/go/post110235 For automatic build, if no installation required for IDE, the build job can be easily maintained when IDE need be updated. Is it possible that without IDE installed but just copy/unzip to local file system and use it to build QNX application? Thu, 08 May 2014 21:09:08 GMT http://community.qnx.com/sf/go/post110235 John Ma 2014-05-08T21:09:08Z post110135: Momentics 6.6 http://community.qnx.com/sf/go/post110135 Is there some sort of "hack" available to run Momentics on a 64bits JVM. Preferable on Linux ? Sat, 03 May 2014 00:17:47 GMT http://community.qnx.com/sf/go/post110135 Mario Charest 2014-05-03T00:17:47Z post110115: Windows 7: Momentics corrupting common.mk http://community.qnx.com/sf/go/post110115 Reinstalled Momentics (Version: 4.6.0 / Build id: I20090510) on new Windows/7 development machine. Every time it updates the file 'common.mk' in a QNX C++ project it leaves out / removes the following: ifndef QNX_INTERNAL QNX_INTERNAL=$(PROJECT_ROOT)/.qnx_internal.mk endif include $(QNX_INTERNAL) This problem didn't occur on my old Windows/XP development system. Any insights on how to fix this issue is much appreciated. Thu, 01 May 2014 18:04:36 GMT http://community.qnx.com/sf/go/post110115 Dan McCormick(deleted) 2014-05-01T18:04:36Z post109797: QNX6.6 Network issue on VMware http://community.qnx.com/sf/go/post109797 Hi, I tried to install QNX6.6 iso into the vmware. but i cannot make the network working. i get this error: "unable to access /dev/io-net/en0" Fri, 04 Apr 2014 10:17:55 GMT http://community.qnx.com/sf/go/post109797 Handy Mulyono 2014-04-04T10:17:55Z post109776: Can I build pkgsrc projects in the IDE? http://community.qnx.com/sf/go/post109776 Hi: We wish to build some pkgsrc projects for ARM. Weve done it in the past, but we used a native QNX install. Currently that option isnt available, so I'd like to know if packages can be built on the IDE? Is there any information that will show me how? Thanks, Andy Thu, 03 Apr 2014 05:28:14 GMT http://community.qnx.com/sf/go/post109776 Andy Rhind 2014-04-03T05:28:14Z post109562: IDE hangles executive files. http://community.qnx.com/sf/go/post109562 Sometimes IDE can't free the executive file that was run for debugging under IDE control. Details: I have Momentics 4.7 IDE installed on Windows XP office computer and an embedded QNX at the industrial processor. In Momentics I edit the sources, compile and link the executive file. Then I tried to debug. With the help of RED buttons I stop the debugging of the program and try to create a new program version. The new version is compiled and the *.o files are created. But the IDE couldn't remove the previous version of the execute file and then couldn't link the new one. In my mind, the IDE (Java based) has started some number of threads when debugging but didn't stop some thread which holds the executive. Moreover the Windows XP couldn't delete that executive file outside the IDE untill I stop the IDE and reload it. How to solve the problem? What is the sequence to push the red buttons in the IDE? The time of loading the IDE is long and it is not so suitable to lost the IDE session. With best regards, Serge. Fri, 21 Mar 2014 14:44:05 GMT http://community.qnx.com/sf/go/post109562 Sergey Kazakov(deleted) 2014-03-21T14:44:05Z post109489: How to change complier to GCC in IDE? http://community.qnx.com/sf/go/post109489 I want to use SSE to accelerate my compution .But I only find SSE heads (such as xmmintrin.h )in folder \QNX650\host\win32\x86\usr\lib\gcc\i486-pc-nto-qnx6.5.0\4.4.2\include . Is it means that I must change complier to GCC? and How can I do it? Wed, 19 Mar 2014 01:34:38 GMT http://community.qnx.com/sf/go/post109489 robort smith 2014-03-19T01:34:38Z post109471: ide-5.0 on Linux http://community.qnx.com/sf/go/post109471 I've installed Ubuntu 13.10 64 bit and I followed the instructions at: http://www.qnx.com/developers/articles/inst_5847_6.html to load some extra libraries. When I start with run-qde.sh I get the following messages: Gtk-Message: Failed to load module "overlay-scrollbar" Gtk-Message: Failed to load module "Unity-gtk-module" I haven't seen any problem yet. Is this a problem? Tue, 18 Mar 2014 00:43:37 GMT http://community.qnx.com/sf/go/post109471 Mitchell Schoenbrun 2014-03-18T00:43:37Z post109339: Re: IDE 5.0 : How to enable line#:col# http://community.qnx.com/sf/go/post109339 The absence of line/column on the bottom status bar occurs only when editting systembuilder 'build' files. Fortunately, it works in the CDT. The missing line number is irritating since mkifs reports errors by line number - which you cannot resolve in the editor. Tue, 11 Mar 2014 11:19:56 GMT http://community.qnx.com/sf/go/post109339 Dennis Kellly 2014-03-11T11:19:56Z post109295: QNX license could not be obtained (Windows) http://community.qnx.com/sf/go/post109295 Hi, I am getting the following error messages when starting QNX Momentics (Version: 4.7.0, Build id: 201006232051) on Windows 7, immediately after selecting workspace &amp; startup: "Academic License Expired Your QNX license could not be obtained, QNX functionality will be disabled. [OK]" followed by "QNX License Validator Error This QNX feature has been disabled due to licensing." What I already tried to do: - Uninstall and reinstall QNX SDP (include two reboots) - Check license file in C:\Program Files (x86)\QNX Software Systems\license\licenses - Shows correct serial number as shown on http://www.qnx.com/account/index.html - The license is not expired. - Variables %QNX_CONFIGURATION% &amp; %QNX_HOST% exist and point to the correct directories (C:\Program Files (x86)\QNX Software Systems &amp; C:/QNX650/host/win32/x86). This might be related to [url=http://community.qnx.com/sf/discussion/do/listPosts/projects.ide/discussion.ide.topc25094]topc25094[/url], but I don't get any mention of "LD_LIBRARY_PATH", so I created a new topic. Any suggestions are welcome! Thanks for your time/help. Jan Mon, 10 Mar 2014 09:32:57 GMT http://community.qnx.com/sf/go/post109295 Jan Henrik(deleted) 2014-03-10T09:32:57Z post109247: IDE 5.0 : How to enable line#:col# http://community.qnx.com/sf/go/post109247 How do I enable the editor status bar (bottom line "writeable insert 143:30") info present in all previous IDE's? Please telll me it's not gone... Thu, 06 Mar 2014 21:24:52 GMT http://community.qnx.com/sf/go/post109247 Dennis Kellly 2014-03-06T21:24:52Z post109201: Re: QNX6.6 QDE: undefined sysmbol at start http://community.qnx.com/sf/go/post109201 .... it works on openSuse 12.1 .==&gt;&gt; 32bit system ! --Armin Wed, 05 Mar 2014 14:25:56 GMT http://community.qnx.com/sf/go/post109201 Armin Steinhoff(deleted) 2014-03-05T14:25:56Z post109197: QNX6.6 QDE: undefined sysmbol at start http://community.qnx.com/sf/go/post109197 Hi, do I need a newer or different "libcairo" ?? (openSuSE 12.3 Milestone 2) LINUX4C:/home/opt/qnx660 # run-qde.sh (qde:6535): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk", (qde:6535): Gtk-WARNING **: Unable to locate theme engine in module_path: "oxygen-gtk", /home/opt/qnx660/host/linux/x86/usr/qde/eclipse/qde: symbol lookup error: /usr/lib/libcairo.so.2: undefined symbol: pixman_image_composite32 Regards Armin Steinhoff Wed, 05 Mar 2014 11:13:47 GMT http://community.qnx.com/sf/go/post109197 Armin Steinhoff(deleted) 2014-03-05T11:13:47Z post109133: how to deal with"License Check Failure. Your QNX license could not be obtained, QNX functionality will be disabled. Ensure the path to the QNX license library is defined in the LD_LIBRARY_PATH environment variable. no qnxlic in java.library.path "? http://community.qnx.com/sf/go/post109133 License Check Failure. Your QNX license could not be obtained, QNX functionality will be disabled. Ensure the path to the QNX license library is defined in the LD_LIBRARY_PATH environment variable. no qnxlic in java.library.path I am installing QDE ( linux host ). But the above problem appears. How can I deal with it? Mon, 03 Mar 2014 11:55:33 GMT http://community.qnx.com/sf/go/post109133 robort smith 2014-03-03T11:55:33Z post108986: Re: Problem installing 6.5.0 SP1 http://community.qnx.com/sf/go/post108986 Not sure if that method updates all of QNX. Doesn't seem to work anyway. Fri, 21 Feb 2014 19:19:38 GMT http://community.qnx.com/sf/go/post108986 Michael Mott 2014-02-21T19:19:38Z post108985: Re: Problem installing 6.5.0 SP1 http://community.qnx.com/sf/go/post108985 Well, that's not it! QNX "temet nosce". Have you tried the "Find and Install Updates" from the Help menu in the IDE? Mike Fri, 21 Feb 2014 18:57:22 GMT http://community.qnx.com/sf/go/post108985 Michael Schaffner 2014-02-21T18:57:22Z post108984: Re: Problem installing 6.5.0 SP1 http://community.qnx.com/sf/go/post108984 QNX Installations Installation Name: QNX Software Development Platform 6.4.0 Version: 6.4.0 Base Directory: C:/myQNX/QNX640 QNX_HOST: C:/myQNX/QNX640/host/win32/x86 QNX_TARGET: C:/myQNX/QNX640/target/qnx6 Installation Name: QNX Software Development Platform 6.5.0 Version: 6.5.0 Base Directory: C:/myQNX/QNX650 QNX_HOST: C:/myQNX/QNX650/host/win32/x86 QNX_TARGET: C:/myQNX/QNX650/target/qnx6 Fri, 21 Feb 2014 18:25:54 GMT http://community.qnx.com/sf/go/post108984 Michael Mott 2014-02-21T18:25:54Z post108980: Re: Problem installing 6.5.0 SP1 http://community.qnx.com/sf/go/post108980 Mike: Open a Windows command prompt window. Type 'qconfig'. What does it show for the Base Directory? Mike Schaffner Fri, 21 Feb 2014 16:36:59 GMT http://community.qnx.com/sf/go/post108980 Michael Schaffner 2014-02-21T16:36:59Z post108901: Problem installing 6.5.0 SP1 http://community.qnx.com/sf/go/post108901 I've been running 6.4.0 with no issues and decided to upgrade to 6.5.0 SP1. 6.5.0 installed with no issues. When I install SP1, I get the following error: This software can be installed with QNX SDP 6.5.0. Please install QNX baseline first. Could this be because I don't have 6.5.0 installed in c:\QNX650? I have it in c:\myQNX\QNX650. Anyone have any ideas how to resolve this? Thanks Wed, 19 Feb 2014 19:21:11 GMT http://community.qnx.com/sf/go/post108901 Michael Mott 2014-02-19T19:21:11Z post108751: RE: Monitor/log ipc data http://community.qnx.com/sf/go/post108751 You can see the first few integers ( msg1 msg2), but that`s it. Recording message data would represent WAY to much data. ________________________________________ From: a l [community-noreply@qnx.com] Sent: Wednesday, February 5, 2014 2:46 AM To: general-ide Subject: Monitor/log ipc data Hello all, When making a kernel log in qnx ide..i can perfectly see the ipc events. Enabling the ipc lines , makes this even more clear. But is there a way to display the data send in any way ? (enabling raw event data window, display extra data. But it doesn't show the text my sample app is sending over) Best would be in the ide , but any other option is welcome to.. Thanks _______________________________________________ General http://community.qnx.com/sf/go/post108605 To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com Wed, 12 Feb 2014 17:48:42 GMT http://community.qnx.com/sf/go/post108751 Mario Charest 2014-02-12T17:48:42Z post108610: cc1plus: Virtual memory exhausted http://community.qnx.com/sf/go/post108610 I am trying to build a project in QNX Momentics IDE (4.6) using qcc in Linux. I fail to succeed the build process with the following error: virtual memory exhausted: Cannot allocate memory /opt/qnx641/host/linux/x86/usr/lib/gcc/i386-pc-nto-qnx6.4.0/4.3.3/cc1plus error 1 The project has a cpp file with more than 1.3 MLOC. This one is an autogenerated code from a large Matlab/SIMULINK simulation model so it is not easy to divide and conquer. It is hard to understand if it is LOC limit of qcc compiler or due to a programming practice in the autogenerated code. I would like to ask: Is there any source file size limit for qcc? What are the bad programming practices that cause this? Any suggestions to fix virtual memory exhausted problem of cc1plus? Wed, 05 Feb 2014 13:03:53 GMT http://community.qnx.com/sf/go/post108610 Umut Durak 2014-02-05T13:03:53Z