Feed for discussion QNX Momentics Getting Started in project Community. Posts for QNX Momentics Getting Started post101575: Re: Really cannot uninstall QNX SDP 6.5.0 Erick Roane http://community.qnx.com/sf/go/post101575 2013-05-21T19:59:31Z 2013-05-21T19:59:31Z A colleague of mine referred me to the same issue in topic 2346. Turns out, for me the vpd.properties file was the one thing I wasn't able to figure out on my own. I did everything else but that, so after I deleted vpd.properties the install worked. "Quick search uncovers this http://community.qnx.com/sf/discussion/do/listPosts/projects.toolchain/discussion.core_development_tools.topc2346 Did you try this 1. Are the Environment variables set? If you're starting from a fresh install, then the environment variables shouldn't be set. You can check/change these by doing the following: 1a) Right click on My Computer and select Properties 1b) Select the Advanced Tab 1c) Press the Environment Variables button. If QNX_HOST and QNX_TARGET are set, clear them. 2. If you're installing fresh, then ensure that QNX630/install is cleared out. 3. To completely remove QNX from a Windows installation, ensure that the following do not exist. <drive>:\QNX630\host <drive>:\QNX630\target <drive>:\Program Files\QNX Software Systems <drive>:\Windows\vpd.properties " Erick Roane 2013-05-21T19:59:31Z post101562: Really cannot uninstall QNX SDP 6.5.0 Erick Roane http://community.qnx.com/sf/go/post101562 2013-05-21T00:13:58Z 2013-05-21T00:13:58Z Steps to reproduce: 1. Directly run the uninstaller for QNX SDP 6.5.0 SP1 (not through control panel). 2. Before restarting also run the uninstaller for QNX SDP 6.5.0 (again, not through control panel). 3. Restart. 4. Run the installer for QNX SDP 6.5.0 and you will see the following message: "The installation cannot continue because this product is already installed. If you wish to reinstall it, please unistall it first." 5. Referring to other related issues on this topic I found a cleanup utility at http://www.qnx.com/download/group.html?programid=20905 6. Run the clean up utility for SP1 and the regular installation. 7. Restart 8. 4. Run the installer for QNX SDP 6.5.0 and you will see the following message: "The installation cannot continue because this product is already installed. If you wish to reinstall it, please unistall it first." So you see, even after I run the cleanup utility, I still cannot reinstall the QNX SDP. I am running Windows 7 Professional SP1 on a Dell Precision M4700. Erick Roane 2013-05-21T00:13:58Z post100932: Pandaboard BSP pdebug missing Anthony Linnett http://community.qnx.com/sf/go/post100932 2013-04-27T06:58:41Z 2013-04-27T06:58:41Z Hi. My pandaboard is successfully booting QNX from SD. I am trying to debug my first app but I get the message Cannot locate 'pdebug' binary on the target (default /usr/bin/pdebug) <target> reported an error: No such file or directory. I confirm this file is missing from both pre-compiled ifs-omap4430-panda.bin and self-compiled images. How can I installed pdebug on Pandaboard (arm) platform? Thanks! Anthony Linnett 2013-04-27T06:58:41Z post100844: Re: QNX6.5 SP1 minimal runtime installation david billa http://community.qnx.com/sf/go/post100844 2013-04-24T14:16:31Z 2013-04-24T14:16:31Z Dear All, I could not find the post option in this forum. Hence, i am posting my query here since i am facing the problem with QNX6.5 SP1. The below is my query, 1) I am trying to port QNX 6.5.0 OS to my Intel top-cliff board. 2) I have downloaded qnxsdp-6.5.0-x86-201007091524-nto.iso file and tried to install in the following ways a) I tried to boot into live boot option (F2), it always shows "/etc/system/sysinit : No such file or directory." b) I tried to install it on my hard-disk with partition type as 179 it is also shows missing some file. But when I use the same CD on my development PC for virtual box Qnx OS installation. It gets installed successfully. Any clue on this issue that any settings is missing? 3) I have downloaded Intel crown-bay source and built the IFS images by following the below mentioned steps - Typed "make" in the src root directory. - mkifs -v -r ../install crownby.fastboot.usb.build custom.ifs - The above step created a ifs file and used the same for following steps - connected a USB drive in virtual box where Qnx is installed. - fdisk /dev/umass0 - Deleted all existing partitions, and created a QNX partition of type 79, used the entire USB Memory stick - Made this partition as bootable - Saved the configuration and exited - To restart the associated devb-umass driver slay devb-umass and devb-umass command issued at the terminal -To Initialize the USB disk -dinit –hq /dev/hd1t79 command used - USB disk is mounted as follows mount –t qnx4 /dev/hd1t79 /fs/usb0 -Finally the built IFS file copied as follows cp custom.ifs /fs/usb0/.boot But it shows only hit esc for .altboot and continued with dots when I booted in the board, then its hangs continuously. So please someone help me to debug the issue. Thanks, david. david billa 2013-04-24T14:16:31Z post100246: License key for x86 runtime install Tim Gessner http://community.qnx.com/sf/go/post100246 2013-03-31T20:52:52Z 2013-03-31T20:52:52Z I am using a non-commercial license. I downloaded the x86 runtime iso and tried to install but it asks me for a license key. The key I used for momentics doesn't work for the x86 runtime. I am running momentics on ubuntu linux and trying to install neutrino on virtualbox under max os x 10.8. I downloaded the qnx sdp 6.5 and the 6.4.0 x86 iso. At my last job I had a commercial license, now I'm just trying to keep my skills up and installing at home. Any thoughts about how to install the x86 runtime with a non-commercial license? thanx Tim Tim Gessner 2013-03-31T20:52:52Z post99779: IP Connection with another computer Ong Di Yong http://community.qnx.com/sf/go/post99779 2013-03-11T03:50:58Z 2013-03-11T03:50:58Z Hi, I am new to QNX OS. I am currently trying to establish a TCP/IP connection with another computer running in windows7. I have set the IP addresses and netmasks as follow: 192.168.100.128 + 255.255.255.0 for computer under QNX 192.168.100.120 + 255.255.255.0 for computer under windows7 Upon connection, I am only able to ping and receive replies from the computer running in windows7 but not for the computer running in QNX. may I know how can I resolve this ambiguity? Thanks. Ong Di Yong 2013-03-11T03:50:58Z post99697: Re: cannot start qde on Fedora 16 x86_64 Vadim V http://community.qnx.com/sf/go/post99697 2013-03-06T06:12:57Z 2013-03-06T06:12:57Z Greetings)) Luis began just fine theme, respect. But he listed is not enough sometimes(( I tried to set up Momentics for 6.3.2 onto Fedora 17 x86_64 unsuccessfully, it breaks without messages -- after dots. Fedora has all libraries that mentioned above, and needs something else. Dear QNX specialists and users, do you have some ideas for extra necessary libs? With respect... Vadim V 2013-03-06T06:12:57Z post97856: Re: Remote debugging Ivan Not specified http://community.qnx.com/sf/go/post97856 2012-12-06T10:12:03Z 2012-12-06T10:12:03Z There was message "Program received signal SIGKILL, Killed." in console, so I decided process I was debugging received that signal. I completely forgot about watchdog! There is an application which starts process I want to debug, it allows to specify whether watchdog is enabled and heartbeat interval. Now I can to resume execution and everything continue to work. Thank you! Ivan Not specified 2012-12-06T10:12:03Z post97816: Re: Remote debugging Elena Laskavaia http://community.qnx.com/sf/go/post97816 2012-12-05T14:50:15Z 2012-12-05T14:50:15Z SIGKILL? How do you know? This signal cannot be intercepted. When you resume gdb will send SIGCONT to process. If you sure about SIGKILL can it be the watchdog in your system that thinks that process stopped responding for too long and kills it? On 12-12-05 05:09 AM, Ivan Not specified wrote: > Thanks a lot! Your answer is very helpfull. I've attached to remote process. Currently I have another problem: when I attach to process its execution stops, then after attempt to resume it, process receives sigkill. It looks like something project specific. I mention that only because I don't want to miss a chance to receive some new advice. > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post97802 > To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Elena Laskavaia 2012-12-05T14:50:15Z post97802: Re: Remote debugging Ivan Not specified http://community.qnx.com/sf/go/post97802 2012-12-05T10:09:31Z 2012-12-05T10:09:31Z Thanks a lot! Your answer is very helpfull. I've attached to remote process. Currently I have another problem: when I attach to process its execution stops, then after attempt to resume it, process receives sigkill. It looks like something project specific. I mention that only because I don't want to miss a chance to receive some new advice. Ivan Not specified 2012-12-05T10:09:31Z post97717: Re: Remote debugging Elena Laskavaia http://community.qnx.com/sf/go/post97717 2012-12-03T14:41:34Z 2012-12-03T14:41:34Z gdbserver built for linux won't help because qnx is not linux. You can do standard "QNX Attach to Running Process" launch configuration. * Create a fake makefile project, as location specify location of your project on disk (pre-built) * Open Run->Debug Configurations... * Select "QNX Attach to Running Process" debug configuration, press New button * Select your binary, click Debug (If you have your shared libs set paths in Debug tab first). * Select you process (that should match your binary) and click ok. * It attaches in random place. Place continue to hit your breakpoints if you set any. On 12-12-01 04:53 PM, Ivan Not specified wrote: > I want to debug application which is running on target. The application is build using jam based build system, so I don't have project which I can open in IDE. I haven't found the way to debug application using IDE if IDE wasn't used in build process (I'm sorry, if I am wrong, I'm new to the IDE, just let me know if I should try again). My idea was to use gdb server. I've build it under linux using cross compiler from QNX installation disk, but I can't connect to it for some reason. Could you share your experience concerning debugging without IDE. > > Thanks in advance > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post97710 > To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Elena Laskavaia 2012-12-03T14:41:34Z post97710: Remote debugging Ivan Not specified http://community.qnx.com/sf/go/post97710 2012-12-01T21:53:48Z 2012-12-01T21:53:48Z I want to debug application which is running on target. The application is build using jam based build system, so I don't have project which I can open in IDE. I haven't found the way to debug application using IDE if IDE wasn't used in build process (I'm sorry, if I am wrong, I'm new to the IDE, just let me know if I should try again). My idea was to use gdb server. I've build it under linux using cross compiler from QNX installation disk, but I can't connect to it for some reason. Could you share your experience concerning debugging without IDE. Thanks in advance Ivan Not specified 2012-12-01T21:53:48Z post97470: Re: qconfig.mk file disappears after installing the 6.5 service pack Jon Wallace http://community.qnx.com/sf/go/post97470 2012-11-27T01:22:51Z 2012-11-27T01:22:51Z QNX_TARGET=/opt/qnx650/target/qnx6 QNX_HOST=/opt/qnx650/host/linux/x86 PATH=/usr/lib/lightdm/lightdm: /usr/local/sbin: /usr/local/bin: /usr/sbin: /usr/bin: /sbin: /bin: /usr/games: /opt/qnx650/host/linux/x86/usr/bin: /etc/qnx/bin MAKEFLAGS=-I/opt/qnx650/target/qnx6/usr/include I don't know for sure, but these all look good to me Jon Wallace 2012-11-27T01:22:51Z post97435: Re: qconfig.mk file disappears after installing the 6.5 service pack Jon Wallace http://community.qnx.com/sf/go/post97435 2012-11-24T20:57:28Z 2012-11-24T20:57:28Z The link is still there and it points to the right spot, but the actual file in include/mk is gone. I installed the service pack with the -E on sudo as well. I don't have my laptop with me but I'll post my env vars the next chance I get. I tried compiling the BSP (beagle bone) without the service pack and it worked fine. I could back that folder up and install the service pack but I have no idea what else might be breaking... > Is /opt/qnx650/target/qnx6/usr/include/qconfig.mk missing? > > > It should be a link to mk/qconf-linux.mk > > Also check you env vars; > > QNX_HOST > QNX_TARGET > MAKEFLAGS > PATH > > > Sent from my BB > > ----- Original Message ----- > From: Jon Wallace [mailto:community-noreply@qnx.com] > Sent: Saturday, November 24, 2012 04:15 AM > To: momenticsgs-community <momenticsgs-community@community.qnx.com> > Subject: qconfig.mk file disappears after installing the 6.5 service pack > > I'm just getting my environment set up for the first time, I'm completely new > to QnX but I've been really impressed with the level of documentation so far. > There's one roadblock that I haven't been able to find an answer to by > searching QnX, Foundry, or the whole internet: I can't build my bsp because > the make system can't find qconfig.mk. I checked out my /opt/qnx650/target/ > qnx6/usr/include/mk directory and this is what I see: > > jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls > nto_mips.mk > > Clearly there should be a lot more. So I uninstalled the SDP and re-installed > (I used sudo -E on the package this time, I left out the E flag the first time > and I thought I might as well try that) Well after doing that, I checked the > target include files again and lo and behold: > > jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls > ab.mk makepriv-qnx ntoxdev.mk qconf-nto.mk qrules.mk > build-cfg makepriv-unix os_linux.mk qconf-win32.mk qtargets.mk > buildlist.mk nto_arm.mk os_nto.mk qdepfile.mk recurse.mk > flist-unix nto_mips.mk os_win32.mk qlevel.mk > flist-win32 nto_ppc.mk phapps.mk qmacros.mk > linux_x86.mk nto_sh.mk prod_utils.mk qmake-cfg.mk > makepriv-nt.bat nto_x86.mk qconf-linux.mk qphabtarg.mk > > At this point I thought I was in the clear so I installed the service pack and > went to build my bsp again and I got the same error! No qconfig.mk. So I went > back the the includes directory and it was back to the way it was the first > time. It seems like the service pack installer is clobbering that folder on my > host. Has anyone seen this before? > > Here's the file names for each installer, they look like they have build dates > /numbers so I'm hoping its helpful > > Main: > qnxsdp-6.5.0-201007091524-linux.bin > Service Pack: > qnxsdp-6.5.0SP1-201206271006-linux.bin > > My system: > Linux jon-netbook 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC > 2012 i686 i686 i386 GNU/Linux > Ubuntu 12.04 LTS > > Thanks in advance! > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post97432 > To cancel your subscription to this discussion, please e-mail momenticsgs- > community-unsubscribe@community.qnx.com Jon Wallace 2012-11-24T20:57:28Z post97434: Re: qconfig.mk file disappears after installing the 6.5 service pack Natalia Miyusova http://community.qnx.com/sf/go/post97434 2012-11-24T17:12:17Z 2012-11-24T17:12:17Z did you use "sudo -E" option when you installed 650SP1 ? Natalia Miyusova 2012-11-24T17:12:17Z post97433: Re: qconfig.mk file disappears after installing the 6.5 service pack Aleksandar Ristovski http://community.qnx.com/sf/go/post97433 2012-11-24T13:25:34Z 2012-11-24T13:25:34Z Is /opt/qnx650/target/qnx6/usr/include/qconfig.mk missing? It should be a link to mk/qconf-linux.mk Also check you env vars; QNX_HOST QNX_TARGET MAKEFLAGS PATH Sent from my BB ----- Original Message ----- From: Jon Wallace [mailto:community-noreply@qnx.com] Sent: Saturday, November 24, 2012 04:15 AM To: momenticsgs-community <momenticsgs-community@community.qnx.com> Subject: qconfig.mk file disappears after installing the 6.5 service pack I'm just getting my environment set up for the first time, I'm completely new to QnX but I've been really impressed with the level of documentation so far. There's one roadblock that I haven't been able to find an answer to by searching QnX, Foundry, or the whole internet: I can't build my bsp because the make system can't find qconfig.mk. I checked out my /opt/qnx650/target/qnx6/usr/include/mk directory and this is what I see: jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls nto_mips.mk Clearly there should be a lot more. So I uninstalled the SDP and re-installed (I used sudo -E on the package this time, I left out the E flag the first time and I thought I might as well try that) Well after doing that, I checked the target include files again and lo and behold: jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls ab.mk makepriv-qnx ntoxdev.mk qconf-nto.mk qrules.mk build-cfg makepriv-unix os_linux.mk qconf-win32.mk qtargets.mk buildlist.mk nto_arm.mk os_nto.mk qdepfile.mk recurse.mk flist-unix nto_mips.mk os_win32.mk qlevel.mk flist-win32 nto_ppc.mk phapps.mk qmacros.mk linux_x86.mk nto_sh.mk prod_utils.mk qmake-cfg.mk makepriv-nt.bat nto_x86.mk qconf-linux.mk qphabtarg.mk At this point I thought I was in the clear so I installed the service pack and went to build my bsp again and I got the same error! No qconfig.mk. So I went back the the includes directory and it was back to the way it was the first time. It seems like the service pack installer is clobbering that folder on my host. Has anyone seen this before? Here's the file names for each installer, they look like they have build dates/numbers so I'm hoping its helpful Main: qnxsdp-6.5.0-201007091524-linux.bin Service Pack: qnxsdp-6.5.0SP1-201206271006-linux.bin My system: Linux jon-netbook 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 i686 i686 i386 GNU/Linux Ubuntu 12.04 LTS Thanks in advance! _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post97432 To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Aleksandar Ristovski 2012-11-24T13:25:34Z post97432: qconfig.mk file disappears after installing the 6.5 service pack Jon Wallace http://community.qnx.com/sf/go/post97432 2012-11-24T09:15:14Z 2012-11-24T09:15:14Z I'm just getting my environment set up for the first time, I'm completely new to QnX but I've been really impressed with the level of documentation so far. There's one roadblock that I haven't been able to find an answer to by searching QnX, Foundry, or the whole internet: I can't build my bsp because the make system can't find qconfig.mk. I checked out my /opt/qnx650/target/qnx6/usr/include/mk directory and this is what I see: jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls nto_mips.mk Clearly there should be a lot more. So I uninstalled the SDP and re-installed (I used sudo -E on the package this time, I left out the E flag the first time and I thought I might as well try that) Well after doing that, I checked the target include files again and lo and behold: jon@jon-netbook:/opt/qnx650/target/qnx6/usr/include/mk$ ls ab.mk makepriv-qnx ntoxdev.mk qconf-nto.mk qrules.mk build-cfg makepriv-unix os_linux.mk qconf-win32.mk qtargets.mk buildlist.mk nto_arm.mk os_nto.mk qdepfile.mk recurse.mk flist-unix nto_mips.mk os_win32.mk qlevel.mk flist-win32 nto_ppc.mk phapps.mk qmacros.mk linux_x86.mk nto_sh.mk prod_utils.mk qmake-cfg.mk makepriv-nt.bat nto_x86.mk qconf-linux.mk qphabtarg.mk At this point I thought I was in the clear so I installed the service pack and went to build my bsp again and I got the same error! No qconfig.mk. So I went back the the includes directory and it was back to the way it was the first time. It seems like the service pack installer is clobbering that folder on my host. Has anyone seen this before? Here's the file names for each installer, they look like they have build dates/numbers so I'm hoping its helpful Main: qnxsdp-6.5.0-201007091524-linux.bin Service Pack: qnxsdp-6.5.0SP1-201206271006-linux.bin My system: Linux jon-netbook 3.2.0-33-generic-pae #52-Ubuntu SMP Thu Oct 18 16:39:21 UTC 2012 i686 i686 i386 GNU/Linux Ubuntu 12.04 LTS Thanks in advance! Jon Wallace 2012-11-24T09:15:14Z post97200: Re: QNX6.5 SP1 minimal runtime installation Dave Nickerson http://community.qnx.com/sf/go/post97200 2012-11-14T21:35:40Z 2012-11-14T21:35:40Z While not exactly what you are looking, it does contain information that will you find helpful. The intent of the document is to walk you through creating a custom CD installer that would be used for installing a runtime configuration on an x86 target. It will definitely help you cut the file list down to the ones you require for your own runtime target. Also note that the documentation also includes a section called "Building an Embedded System" that you may also find useful. To find the Technote on creating your own custom runtime installation CD, goto http://www.qnx.com/developers/docs/6.5.0_sp1/index.jsp And Search for "Runtime Kit" Thanks, Dave Dave Nickerson 2012-11-14T21:35:40Z post97135: QNX6.5 SP1 minimal runtime installation Esa Heikkinen http://community.qnx.com/sf/go/post97135 2012-11-13T13:14:07Z 2012-11-13T13:14:07Z Hi How can i install minimal QNX6.5 SP1 runtime installation to my target (x86 PC104-card) ? I did not find any minimal runtime installation packet or image. Is that exist ? I do not need Photon or development tools.. Mainly i only need network and basic commands/libraries.. How much is minimum size of that kind of runtime ? Is it only way to remove all unnecessary files by manual from already installed big installation ? Regards Esa Esa Heikkinen 2012-11-13T13:14:07Z post96949: Re: makefile problem Elena Laskavaia http://community.qnx.com/sf/go/post96949 2012-11-07T14:39:37Z 2012-11-07T14:39:37Z IPC example is example with makefile project type. I don't understand why this is a problem and what it has to do with shared and static libraries. If you need templates for those just create them using regular project wizard (not example) On 12-11-07 01:51 AM, pooja chahal wrote: > Please make me clear that how in example given of "neutrino IPC" samples given in IDE, makefile is created and why this example is not created in QNX wizard,it is created in c/c++ wizard. > Secondly why makefiles are not created automatically in c/c++ wizard projects in executable,shared library and in static library. > > Please make me clear and suggest something for improvement. > Thanks in advance. > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post96922 > To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Elena Laskavaia 2012-11-07T14:39:37Z post96922: makefile problem pooja chahal http://community.qnx.com/sf/go/post96922 2012-11-07T06:51:26Z 2012-11-07T06:51:26Z Please make me clear that how in example given of "neutrino IPC" samples given in IDE, makefile is created and why this example is not created in QNX wizard,it is created in c/c++ wizard. Secondly why makefiles are not created automatically in c/c++ wizard projects in executable,shared library and in static library. Please make me clear and suggest something for improvement. Thanks in advance. pooja chahal 2012-11-07T06:51:26Z post96110: RE: Compiling 6.2.1 program on 6.3.2 Mario Charest http://community.qnx.com/sf/go/post96110 2012-10-08T21:30:00Z 2012-10-08T21:30:00Z You can`t, QSSL doesn't support this. -----Message d'origine----- De : elton costa [mailto:community-noreply@qnx.com] Envoyé : Monday, October 08, 2012 3:25 PM À : momenticsgs-community Objet : Compiling 6.2.1 program on 6.3.2 hello everybody. i'm new here and my first question is: How to make my self-hosted 6.3.2 qnx machine be capable of generate a 6.2.1 executable file? In other words how to put the 6.2.1 option on the Window > Preferences>QNX>Select install and, in fact, compile on this version? _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post96107 To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Mario Charest 2012-10-08T21:30:00Z post96107: Compiling 6.2.1 program on 6.3.2 elton costa http://community.qnx.com/sf/go/post96107 2012-10-08T19:25:18Z 2012-10-08T19:25:18Z hello everybody. i'm new here and my first question is: How to make my self-hosted 6.3.2 qnx machine be capable of generate a 6.2.1 executable file? In other words how to put the 6.2.1 option on the Window > Preferences>QNX>Select install and, in fact, compile on this version? elton costa 2012-10-08T19:25:18Z post95980: Re: Lost at the beginning of getting QNX running on PC104 Advantech PCM3350 Adam Barber http://community.qnx.com/sf/go/post95980 2012-10-02T17:20:01Z 2012-10-02T17:20:01Z Ok, made a bit of a mistake, forgot to plug the other end of the VGA cable into my monitor.... Sorry about that. Now, when I turn it on, I see the bios start screen, then it shows: 32qldr Version 1.01 Filename /BOOT.IFS (a bunch of #'s) Image read to address 0x00110000 Transfer control.... And then it hangs there. So far I've waited a few minutes and nothing happens. I'm not quite sure if this is good or not. Adam Barber 2012-10-02T17:20:01Z post95977: Re: Lost at the beginning of getting QNX running on PC104 Advantech PCM3350 Adam Barber http://community.qnx.com/sf/go/post95977 2012-10-02T16:37:03Z 2012-10-02T16:37:03Z This was quite helpful I think! I'm not totally sure it is working. The board I have has a vga-out, so I plugged that into a monitor and I get nothing when I turn it on with the boot disk in (I think I formatted/performed all the f32qldr instructions properly). I assume this could be for a number of reasons, one might be that I'm using the generic x86 bsp. I can't find one for the specific board I'm using. Is there an easy way to test if I've booted qnx properly on the PC104? Also, is there a way to set its IP address so I can send files over via FTP? Thanks so much for the help, this is very much appreciated. Adam Barber 2012-10-02T16:37:03Z post95966: Re: Lost at the beginning of getting QNX running on PC104 Advantech PCM3350 Pavol Kycina http://community.qnx.com/sf/go/post95966 2012-10-02T08:29:10Z 2012-10-02T08:29:10Z Hello, Have a look at http://community.qnx.com/sf/frs/do/listReleases/projects.bazaar/frs.f32qldr Regards, PKY > I have a slightly older PC/104 board lying around (Advantech PCM-3350 with a > 64mb Compact Flash card). I've tried using the x86 install cds, but they > require at least 1600mb on the partition, and obviously my CF card is too > small. It also seems as though I should be able to get this installed by > creating an OS image in the QNX system builder in Momentics (running on > Windows 7), doing my development there, and then loading it onto the PC/104 > using FTP or something like that. However, I can't find any sort of tutorial > or documentation that actually lays out how to do this. I'm quite lost about > where to look or what to do, I've been trying my "google-fu" and searching > these forums for people with similar problems but it seems as though I'm stuck > far before other people. > > Is my only solution to use a bigger CF card or a newer PC/104 board? I'd > really like to get this working with the hardware I have as I don't want to > buy things without any confidence that I can get things working on there. > > Please let me know if there is any other relevant information I can give you. Pavol Kycina 2012-10-02T08:29:10Z post95960: Lost at the beginning of getting QNX running on PC104 Advantech PCM3350 Adam Barber http://community.qnx.com/sf/go/post95960 2012-10-01T22:19:48Z 2012-10-01T22:19:48Z I have a slightly older PC/104 board lying around (Advantech PCM-3350 with a 64mb Compact Flash card). I've tried using the x86 install cds, but they require at least 1600mb on the partition, and obviously my CF card is too small. It also seems as though I should be able to get this installed by creating an OS image in the QNX system builder in Momentics (running on Windows 7), doing my development there, and then loading it onto the PC/104 using FTP or something like that. However, I can't find any sort of tutorial or documentation that actually lays out how to do this. I'm quite lost about where to look or what to do, I've been trying my "google-fu" and searching these forums for people with similar problems but it seems as though I'm stuck far before other people. Is my only solution to use a bigger CF card or a newer PC/104 board? I'd really like to get this working with the hardware I have as I don't want to buy things without any confidence that I can get things working on there. Please let me know if there is any other relevant information I can give you. Adam Barber 2012-10-01T22:19:48Z post95731: Re: How to install without Photon Keith Russell http://community.qnx.com/sf/go/post95731 2012-09-21T12:44:23Z 2012-09-21T12:44:23Z You appear to be running from CD, not installing. When you boot you should be given the option of installing or running direct from the CD. This would appear shortly after the "Hit space for options" message assuming you didn't hit any keys, of course. The installation is all text based so you aren't actually running the installer. If you just boot without hitting anything what happens? Keith Russell 2012-09-21T12:44:23Z post95730: Re: How to install without Photon Esa Heikkinen http://community.qnx.com/sf/go/post95730 2012-09-21T12:29:57Z 2012-09-21T12:29:57Z Maybe i should go to an optician :) There was following text in display in booting sequence: "Press the space bar to input boot options .." There was also possible to disable Photon.. Esa Heikkinen 2012-09-21T12:29:57Z post95712: Re: How to install without Photon Esa Heikkinen http://community.qnx.com/sf/go/post95712 2012-09-20T14:11:54Z 2012-09-20T14:11:54Z But it is not possible to type this command while booting from original boot-DVD, because it starts directly to photon without command prompt ? ? Or should i copy the original boot-DVD and put /etc/system/config/nophoton-file to the copy ? I dont exactly know how to do that, but i think it is possible. Maybe directly mounting iso-image (or via virtualmachine like Vmware) ? Esa Heikkinen 2012-09-20T14:11:54Z post95708: Re: How to install without Photon Sean Boudreau http://community.qnx.com/sf/go/post95708 2012-09-20T13:37:20Z 2012-09-20T13:37:20Z In the past /etc/rc.d/rc.sysinit used to look for the presence of a /etc/system/config/nophoton file: # touch /etc/system/config/nophoton And then photon wouldn't be started. On Wed, Sep 19, 2012 at 09:19:39AM -0400, Esa Heikkinen wrote: > > I would want to install Neutrino 6.5.0 from DVD (qnxsdp-6.5.0-x86-201007091524-nto.iso) without Photon (GUI) only from commandline. Is that possible ? > > Do i need to take another iso-image or do i need to press some button while booting sequnece ? > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post95676 > To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Sean Boudreau 2012-09-20T13:37:20Z post95676: How to install without Photon Esa Heikkinen http://community.qnx.com/sf/go/post95676 2012-09-19T13:19:39Z 2012-09-19T13:19:39Z I would want to install Neutrino 6.5.0 from DVD (qnxsdp-6.5.0-x86-201007091524-nto.iso) without Photon (GUI) only from commandline. Is that possible ? Do i need to take another iso-image or do i need to press some button while booting sequnece ? Esa Heikkinen 2012-09-19T13:19:39Z post95551: Re: Cannot begin install Andrew Schuessler http://community.qnx.com/sf/go/post95551 2012-09-13T13:43:49Z 2012-09-13T13:43:49Z Problem solved. FYI: I am running 64 bit arch and had not yet installed the 32 bit libraries. Andrew Schuessler 2012-09-13T13:43:49Z post95543: Cannot begin install Andrew Schuessler http://community.qnx.com/sf/go/post95543 2012-09-12T22:25:29Z 2012-09-12T22:25:29Z I'm having some trouble getting momentics installed on my arch system. I realize that arch linux is not officially supported but I thought perhaps I could get some pointers. Like I said I'm running arch linux, with openJdk7 installed. When running: [root@compname ~]# ./qnxsdp-6.5.0-201007091524-linux.bin I get: " InstallShield Wizard Initializing InstallShieldWizard... Preparing Java(tm) Virtual Machine..... ............................................................ ............................................................ ............................................................ ............................................................ ............................................................ ............................................................ [root@compname ~]# " Nothing happens at all, and I recieve no feedback as to what could be the problem. I've tried looking for installOptionalLog.txt mentioned in other posts but cannot find one. Any ideas on how to get some more debug information or what could be the issue? Many thanks, Andrew Andrew Schuessler 2012-09-12T22:25:29Z post95334: How to get DDKs for SDP 6.5.0 Alex Mach http://community.qnx.com/sf/go/post95334 2012-09-03T11:38:48Z 2012-09-03T11:38:48Z Hi, when I try to download Input DDK I have to register QNX SDP 6.4.x or QNX Momentics 6.3.x development seat but I have Product Serial and Password for 6.5.0 only. So how can I get the DDK? Thanks, Alex. Alex Mach 2012-09-03T11:38:48Z post95296: Writing a network driver for QNX Thomas O'Dell http://community.qnx.com/sf/go/post95296 2012-08-30T09:13:38Z 2012-08-30T09:13:38Z Hi, I'm working on a virtio-net driver for QNX. I'm running QNX 6.5.0 SP1 under VirtualBox on a MacBook Pro. I've worked my way through "Talking to hardware under QNX Neutrino" -- note there is an error in the documentation: [quote] iobase = mmap_device_io(info.BaseAddressSize[2], info.CpuBaseAddress[2]); [unquote] should be [quote] iobase = mmap_device_io(info.BaseAddressSize[2], PCI_IO_ADDR(info.CpuBaseAddress[2])); [unquote] . I can now get configuration information from my virtio device. My question is: Now what? It appears the document "Porting an io-net driver to io-pkt" is the best choice, but it relies heavily on the source code, which is now no longer available. Any other publicly available documents or source code with Apache or similar license available? Regards, Thomas O'Dell TR Solutions Pte Ltd http://www.trsolutions.biz/ Thomas O'Dell 2012-08-30T09:13:38Z post95191: Re: Can't uninstall QNX Momentics Tao Ding http://community.qnx.com/sf/go/post95191 2012-08-28T12:54:00Z 2012-08-28T12:54:00Z use qnxwincleanup utilities to uninstall old version. Tao Ding 2012-08-28T12:54:00Z post95138: Re: Can't uninstall QNX Momentics Seyfettin Sünger http://community.qnx.com/sf/go/post95138 2012-08-26T18:12:00Z 2012-08-26T18:12:00Z I think, it is better to tell how you have solved the issue for the ones who may have the same issue. Regards, > Solved. Seyfettin Sünger 2012-08-26T18:12:00Z post95116: Re: Can't uninstall QNX Momentics Tao Ding http://community.qnx.com/sf/go/post95116 2012-08-24T15:09:57Z 2012-08-24T15:09:57Z Solved. Tao Ding 2012-08-24T15:09:57Z post95038: Re: Problem with running a compiled program Stephen Kwak http://community.qnx.com/sf/go/post95038 2012-08-22T19:12:17Z 2012-08-22T19:12:17Z And I've made sure to check Application when I created the project Stephen Kwak 2012-08-22T19:12:17Z post95031: Problem with running a compiled program Stephen Kwak http://community.qnx.com/sf/go/post95031 2012-08-22T18:05:12Z 2012-08-22T18:05:12Z Hi all, So I have the QNX SDP installed, and am currently using the IDE in order to write a simple hello world program to run via network on the target (the QNX on the VMware). I've followed the instructions on this guide: http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.momentics_quickstart/about.html I've been able to get to step 8, but at step 9 (when I run debug), problems occurs. "'Downloading and starting the application ...' has encountered a problem. Error starting remote application. Under details: Error: Attempting to exec a shared lib. Am I missing something here?? Please help. Thanks Stephen Kwak 2012-08-22T18:05:12Z post94952: Can't uninstall QNX Momentics Tao Ding http://community.qnx.com/sf/go/post94952 2012-08-20T15:24:01Z 2012-08-20T15:24:01Z I want to install qnx momentics 4.0.1, but it shows I should uninstall the previous one installed my laptop. But I can't uninstall it. It seems it can't find uninstall.exe. How I should to deal with it? Tao Ding 2012-08-20T15:24:01Z post94142: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94142 2012-07-06T18:59:27Z 2012-07-06T18:59:27Z You're installing on a localized version of Windows. SP1 installers do not have jvm bundled in. I'm not surprised that extra steps were required to get this working. Anyway, I'm glad the problem is resolved now. Natalia Natalia Miyusova 2012-07-06T18:59:27Z post94137: Re: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94137 2012-07-06T15:22:40Z 2012-07-06T15:22:40Z Dear Natalia, Thanks for support, it works. I installed SP1, but again, why do I need to use this kind of commands to install SDP. There must be a answer for this. I have Java installed, I have SDP 6.5 install, so why it doesn't let me to install SP1 when I double click on executuable file of it. Anyway, if you know the answer please share, if not. Thanks for the support. Hava a nice weekend. Best regards, Seyfettin Sünger 2012-07-06T15:22:40Z post94134: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94134 2012-07-06T14:58:42Z 2012-07-06T14:58:42Z > Thanks for reply, then I run the command again. > > Please, see the new attached log file. > > Regards, Ok, specify language=en as an argument to java (assuming your setup.jar is in the directory you're running this from): C:\QNX650\_jvm\bin\java -Dis.debug=1 -Duser.language=en -cp setup.jar run > sp1-debug-log.txt 2>&1 Natalia Miyusova 2012-07-06T14:58:42Z post94132: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94132 2012-07-06T14:57:24Z 2012-07-06T14:57:24Z is sounds like your setup.jar is missing from the directory where you're running this command from. Natalia Miyusova 2012-07-06T14:57:24Z post94133: Re: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94133 2012-07-06T14:51:14Z 2012-07-06T14:51:14Z Thanks for reply, then I run the command again. Please, see the new attached log file. Regards, Seyfettin Sünger 2012-07-06T14:51:14Z post94131: Re: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94131 2012-07-06T14:51:03Z 2012-07-06T14:51:03Z Please see the attached file. Seyfettin Sünger 2012-07-06T14:51:03Z post94120: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94120 2012-07-06T12:49:49Z 2012-07-06T12:49:49Z > Here is the exception I have taken when I entered your command to cmd screen. > > > Eventhough Log file was empty, I tried to share it with you in order to > believe me that it is empty, but Foundry27 portal didn't allow me to share it > with you. > > C:\QNX650\_jvm\bin>java -Dis.debug=1 -cp setup.jar run > sp1-debug-log.txt > Exception in thread "main" java.lang.NoClassDefFoundError: run > > Looking forward another suggestions to fix that issue. > > Regards, Can you try launching the installer again, this time output everything to the log: C:\QNX650\_jvm\bin\java -Dis.debug=1 -cp setup.jar run > sp1-debug-log.txt 2>&1 Natalia Miyusova 2012-07-06T12:49:49Z post94110: Re: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94110 2012-07-06T06:56:56Z 2012-07-06T06:56:56Z Here is the exception I have taken when I entered your command to cmd screen. Eventhough Log file was empty, I tried to share it with you in order to believe me that it is empty, but Foundry27 portal didn't allow me to share it with you. C:\QNX650\_jvm\bin>java -Dis.debug=1 -cp setup.jar run > sp1-debug-log.txt Exception in thread "main" java.lang.NoClassDefFoundError: run Looking forward another suggestions to fix that issue. Regards, Seyfettin Sünger 2012-07-06T06:56:56Z post94093: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94093 2012-07-05T18:03:00Z 2012-07-05T18:03:00Z > I saw the same cknum from "cmd" screen according to your input you provided > for me. > > Here it is; > 1906560718 214371576 C:\Users\Seyfo\Desktop\new\qnxsdp-6.5.0SP1-201206261830- > wi > n32.exe > > Also, I just double clicked on executuable SDP 6.5 and followed the > instructions. Please see the attached log file of installation of SDP6.5. > > Looking forward to your comments. > > Regards, Ok, so the download was fine. I don't know what this can possibly be. I guess you'll have to run it with the special debug option to figure out. Here are the instructions: <sp1-installer-executable> -is:extract C:\QNX650\_jvm\bin\java -Dis.debug=1 -cp setup.jar run > sp1-debug-log.txt Please post sp1-debug-log.txt Natalia Miyusova 2012-07-05T18:03:00Z post94087: Re: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94087 2012-07-05T17:28:27Z 2012-07-05T17:28:27Z I saw the same cknum from "cmd" screen according to your input you provided for me. Here it is; 1906560718 214371576 C:\Users\Seyfo\Desktop\new\qnxsdp-6.5.0SP1-201206261830-wi n32.exe Also, I just double clicked on executuable SDP 6.5 and followed the instructions. Please see the attached log file of installation of SDP6.5. Looking forward to your comments. Regards, Seyfettin Sünger 2012-07-05T17:28:27Z post94079: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94079 2012-07-05T15:51:01Z 2012-07-05T15:51:01Z to verify cksum, you would do something like this: C:\QNX650\host\win32\x86\usr\bin\cksum <SP1-installer-executable> How did you install 6.5.0? Did you use any workarounds? Do you still have a log file? The log would usually be in %TEMP% folder or in the same level as your qnx650 install directory. Natalia Miyusova 2012-07-05T15:51:01Z post94076: Re: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94076 2012-07-05T15:17:52Z 2012-07-05T15:17:52Z Dear Natalia, Sorry but, I was able to find an executuable file under C:\QNX650\host\win32\x86\usr\bin, but I couldn't use it. According to your comment, I found a program called FastSum which show me the md5 sum but not cksum. Note that md5 sum result is the same. See the attached file. Do you have any suggestion? I can try all, but please tell me how to do, cause I am so junior to Embedded. Best regards, Seyfettin Sünger 2012-07-05T15:17:52Z post94059: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94059 2012-07-05T12:54:04Z 2012-07-05T12:54:04Z Ok, you're using correct version of java and still it's failing for some reason. Please confirm cksum and md5sum of SP1 installer that you downloaded. Natalia Miyusova 2012-07-05T12:54:04Z post94064: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94064 2012-07-05T12:51:39Z 2012-07-05T12:51:39Z > Sorry but, what do you mean with confirm? > > Here are the informations where I downloaded SP1. > > Check Sum: 1906560718 214371576 > MD5 Sum: bd2aa02faefb7349cca9874f195d591e > > But, I don't know how to check those values with my downloaded "exe" file. > > Regards, Here is the section from SP1 installation notes: ----------------------- Before you install this software, please note the following: .............. We post CRC and MD5 checksums with the packages in the Download area on our website. If you download a CD or DVD image or an installer from our website, make sure that its checksum matches that given on the website. On Unix-style OSs (e.g. QNX Neutrino, Linux), you can use the cksum utility to calculate the CRC checksum. Microsoft doesn't support such utilities on Windows, but they're available from third parties. ............. ----------------------- cksum utility is shipped with 6.5.0. You'll find it in QNX_HOST. Natalia Miyusova 2012-07-05T12:51:39Z post94063: Re: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94063 2012-07-05T12:39:37Z 2012-07-05T12:39:37Z Sorry but, what do you mean with confirm? Here are the informations where I downloaded SP1. Check Sum: 1906560718 214371576 MD5 Sum: bd2aa02faefb7349cca9874f195d591e But, I don't know how to check those values with my downloaded "exe" file. Regards, Seyfettin Sünger 2012-07-05T12:39:37Z post94058: Re: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94058 2012-07-05T12:38:40Z 2012-07-05T12:38:40Z Hi Natalia, Thanks for support, I appreciate it. Please see the requested attached file. Best regards, Seyfettin Sünger 2012-07-05T12:38:40Z post94057: Re: SDP 6.5 Service Pack 1 Natalia Miyusova http://community.qnx.com/sf/go/post94057 2012-07-05T12:22:28Z 2012-07-05T12:22:28Z As I mentioned in the other thread - SP1 installer should use java from 6.5.0 installation. To find out why this is not happening in your case, please launch the installer with the debug option and post the output. Here is the command to run: <sp1-installer-executable> -is:log sp1-log.txt Please post sp1-log.txt Natalia Natalia Miyusova 2012-07-05T12:22:28Z post94051: SDP 6.5 Service Pack 1 Seyfettin Sünger http://community.qnx.com/sf/go/post94051 2012-07-05T10:34:33Z 2012-07-05T10:34:33Z Hi there, I cannot install Service Pack 1 on SDP 6.5. I have an installed SDP 6.5. While trying to install SP1 on it, installation progress return me an error which can be seen on attached file? My OS is Windows7 Home Premium x64 ENG and I have Java (TM) 7 Update 5 installed on my laptop. Is there any who can assist me about this? Thanks in advance. Regards, Seyfettin Sünger 2012-07-05T10:34:33Z post94027: Re: What is the right Java version to install SDKs? Natalia Miyusova http://community.qnx.com/sf/go/post94027 2012-07-04T15:04:59Z 2012-07-04T15:04:59Z Hi, SDP 6.5.0 installation comes with jvm 1.5.0 which can be found in <6.5.0 install dir>/_jvm. When you install 6.5.0 Service Pack1, it will use the jvm from SDP 6.5.0. Note: 6.5.0SP1 is not a fresh install. It can only be installed on top of 6.5.0 baseline. Hope that helps. Natalia Natalia Miyusova 2012-07-04T15:04:59Z post94025: What is the right Java version to install SDKs? Seyfettin Sünger http://community.qnx.com/sf/go/post94025 2012-07-04T14:47:36Z 2012-07-04T14:47:36Z Dear ALL, I have a windows 7 Home Premium(x64) Eng installed laptop. I have Momentics 4.7 installed on my computer, but I want to install the new service pack which is QNX 6.5 Service Pack1. I have been recieved below error since I have been evaluating QNX 6.4.1 and upper. Can anyone tell me what is the right java version should be installed on a compuer. If you know it, can you please share the link with me. I don't want to recieve below error and fix it using "-is:extract" command to install new version. An unhandled error occured -- specify system property "is.debug" for more information. My Java versions : -Java (TM) 6 Update 33 -Java (TM) SE Development Kit 6 Update 26 -J2SE Run Time Enviroment 5.0 Update 5 Looking forward to your comments. Seyfettin Sünger 2012-07-04T14:47:36Z post93987: Re: ssh into momentics Elena Laskavaia http://community.qnx.com/sf/go/post93987 2012-07-03T13:33:48Z 2012-07-03T13:33:48Z Momentics is a program (or set of tools) that runs on desktop, in these sense you "connect via ssh to it" does not make sense. If you mean to connect to Neutrino, then yes this is possible if there is sshd service running on it. You still need Ethernet cable probably too, unless you device runs wi-fi. On 12-07-02 12:51 PM, Will Milner wrote: > Hey all, I know normally you use an Ethernet cable to connect with momentics but is it possible to connect remotely via ssh? Thanks! > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post93977 > To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Elena Laskavaia 2012-07-03T13:33:48Z post93977: ssh into momentics Will Milner http://community.qnx.com/sf/go/post93977 2012-07-02T16:51:16Z 2012-07-02T16:51:16Z Hey all, I know normally you use an Ethernet cable to connect with momentics but is it possible to connect remotely via ssh? Thanks! Will Milner 2012-07-02T16:51:16Z post93877: Re: Momentics not sycronizing Elena Laskavaia http://community.qnx.com/sf/go/post93877 2012-06-26T18:58:59Z 2012-06-26T18:58:59Z Because it does not set up for automatic refresh. Search in Preferences for "refresh" but your version of IDE may be too old and don't have auto-refresh options On 12-06-26 02:52 PM, Will Milner wrote: > Hello, I'm running momentics on a linux machine with QNX neutrino and whenever I make an edit on the QNX machine it doesn't show up through momentics, but if I make an edit on momentics it will show up on the QNX machine. Why won't momentics refresh properly when I make edits on the QNX machine? > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post93874 > To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Elena Laskavaia 2012-06-26T18:58:59Z post93874: Momentics not sycronizing Will Milner http://community.qnx.com/sf/go/post93874 2012-06-26T18:52:46Z 2012-06-26T18:52:46Z Hello, I'm running momentics on a linux machine with QNX neutrino and whenever I make an edit on the QNX machine it doesn't show up through momentics, but if I make an edit on momentics it will show up on the QNX machine. Why won't momentics refresh properly when I make edits on the QNX machine? Will Milner 2012-06-26T18:52:46Z post93493: Re: Attach to remote process via qconn Elena Laskavaia http://community.qnx.com/sf/go/post93493 2012-06-04T13:39:05Z 2012-06-04T13:39:05Z Sorry I don't understand what you saying, when you select Run->Profiler... you don't see Attach launch configuration? What do you? Can you attach screenshot? On 12-06-03 06:00 PM, community-noreply@qnx.com wrote: > Hi everyone, > > I have QNX server with running process and my PC with Momentics ide. I > would like attach from Momentics to running process. > > Solving is decribed here > http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.ide.userguide/topic/profiler_PROFaRunProcess_.html > > Problem is in step 2. Category C/C++ QNX Attach to Remote Process via > QConn (IP) miss in left part Launch manager (Run> Profile) C/C++ QNX > Attach to Remote Process via QConn (IP). Launch manager for debug and > pofiling have category C/C++ QNX Attach to Remote Process via QConn (IP). > No category is filtered. I set Build for Profiling (Call Count > Instrumentation) and add compile parameter -p in project properties and I > build project. > > I didn't find where the problem was. Could you help me? > > Thanks a lot. > > > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post93477 > To cancel your subscription to this discussion, please e-mail momenticsgs-community-unsubscribe@community.qnx.com Elena Laskavaia 2012-06-04T13:39:05Z post93477: Attach to remote process via qconn Honza Saferna http://community.qnx.com/sf/go/post93477 2012-06-03T22:01:57Z 2012-06-03T22:01:57Z Hi everyone, I have QNX server with running process and my PC with Momentics ide. I would like attach from Momentics to running process. Solving is decribed here http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=/com.qnx.doc.ide.userguide/topic/profiler_PROFaRunProcess_.html Problem is in step 2. Category C/C++ QNX Attach to Remote Process via QConn (IP) miss in left part Launch manager (Run > Profile) C/C++ QNX Attach to Remote Process via QConn (IP). Launch manager for debug and pofiling have category C/C++ QNX Attach to Remote Process via QConn (IP). No category is filtered. I set Build for Profiling (Call Count Instrumentation) and add compile parameter -p in project properties and I build project. I didn't find where the problem was. Could you help me? Thanks a lot. Honza Saferna 2012-06-03T22:01:57Z post93218: Basic Driver Alistair Boyd http://community.qnx.com/sf/go/post93218 2012-05-19T16:58:48Z 2012-05-19T16:58:48Z I have a write only register in my circuit design to control some LEDs and chip selects. I have code that maps the address using mmap_device_memory() and writes to the register. I maintain a copy of the written value as its write only. The chip selects will be accessed from drivers but the LEDs will be accessed from the applicaiton level. What would be the correct framework to add this functionality to my QNX image? For example do I need to make a small driver application that starts with the other drivers, how then would I access it from other processes? Alistair Boyd 2012-05-19T16:58:48Z post92874: Re: cannot start qde on Fedora 16 x86_64 Loic Domaigne http://community.qnx.com/sf/go/post92874 2012-05-02T10:26:39Z 2012-05-02T10:26:39Z > Hi, > > so I found the problem and could fix it. For people looking to install QNX 6.5 > .0. on Fedora x86_64, you need to install additional 32 bits librairies: > > For the installer to run: > glibc.i686 > libXp.i686 You also need gtk2.i686 > For qde to run: > libXmu.i686 > libXtst.i686 Cheers, Loïc Loic Domaigne 2012-05-02T10:26:39Z post92873: Re: cannot start qde on Fedora 16 x86_64 Loic Domaigne http://community.qnx.com/sf/go/post92873 2012-05-02T10:19:06Z 2012-05-02T10:19:06Z Hi, so I found the problem and could fix it. For people looking to install QNX 6.5.0. on Fedora x86_64, you need to install additional 32 bits librairies: For the installer to run: glibc.i686 libXp.i686 For qde to run: libXmu.i686 libXtst.i686 Cheers, Loïc Loic Domaigne 2012-05-02T10:19:06Z post92872: cannot start qde on Fedora 16 x86_64 Loic Domaigne http://community.qnx.com/sf/go/post92872 2012-05-02T09:05:12Z 2012-05-02T09:05:12Z Hi, when I launch momentics on my FC16 x86_64, I get an error message. Enclosed the message from the .metadata/.log Do you have any ideas what I am missing? TIA, Loïc -- !SESSION 2012-05-02 11:00:21.827 ----------------------------------------------- eclipse.buildId=201006232051 java.version=1.5.0_11 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 !ENTRY org.eclipse.equinox.p2.repository 4 0 2012-05-02 11:00:22.485 !MESSAGE ProvisioningEventBus could not be obtained. Metadata caches may not be cleaned up properly. !ENTRY org.eclipse.osgi 4 0 2012-05-02 11:00:22.611 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3557 or swt-pi-gtk in swt.library.path, java.library.path or the jar file at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:159) at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:131) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:516) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161) at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:143) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:88) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) Loic Domaigne 2012-05-02T09:05:12Z post92745: Re: #include paths Aleksandar Ristovski http://community.qnx.com/sf/go/post92745 2012-04-26T13:41:00Z 2012-04-26T13:41:00Z In case mentioned below, correct form is: #include "sys/csm.h" OR #include <sys/csm.h> BUT NOT #include "full/path/to/csm.h" When you use "" gcc first looks at the directory where current file (containing the inclue directive) is, so quoted form would be appropriate for another header living in 'sys', and less correct, but with little practical difference, would be using quoted include in your .c file). Stage headers: If your header is in stage/usr/include, then this is added automatically providing you correctly setup your environment. Observing compilation line would reveal whether your stage/usr/include is added as one of -I.... options. Further, in case of stage, you do not need to use EXTRA_INCVPATH as it should get added automatically. --- Aleksandar On 12-04-26 09:27 AM, Brandon Doherty wrote: > I'm new to momentics, but I got mine working either with either the full path in "" or adding the include base path in the project properties and using<> with the rest of the path > > ex > extra include path [path to stage]/stage/usr/include > #include<sys/csm.h> > > since csm.h is in stage/usr/include/sys > > Hope that helps. > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post92744 > Aleksandar Ristovski 2012-04-26T13:41:00Z post92744: Re: #include paths Brandon Doherty http://community.qnx.com/sf/go/post92744 2012-04-26T13:27:33Z 2012-04-26T13:27:33Z I'm new to momentics, but I got mine working either with either the full path in "" or adding the include base path in the project properties and using <> with the rest of the path ex extra include path [path to stage]/stage/usr/include #include <sys/csm.h> since csm.h is in stage/usr/include/sys Hope that helps. Brandon Doherty 2012-04-26T13:27:33Z post92628: Re: Installation Problems bhanu shankar d g http://community.qnx.com/sf/go/post92628 2012-04-19T06:35:34Z 2012-04-19T06:35:34Z > That fixed it :-). > > Thanks very much Natalia. > > Have a great day! What about in Linux,what is the possible fix? bhanu bhanu shankar d g 2012-04-19T06:35:34Z post92522: Re: Add include path Elena Laskavaia http://community.qnx.com/sf/go/post92522 2012-04-11T13:42:22Z 2012-04-11T13:42:22Z It depends what project type are using, IDE support at least four project types and setting include paths are different in each. For example in QNX Project, you set it in project properties -> QNX C/C++ Project -> Compiler tab -> Category pick Extra include paths On 12-04-07 02:00 AM, Ahsan Iqbal wrote: > Hi > > I am new to QNX momentix IDE, can any one guide me how could I add custom include path so that ide/compiler should also search .h files from my specified path. > > Regards > Ahsan > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post92492 > Elena Laskavaia 2012-04-11T13:42:22Z post92505: Re: Installation on Linux failing due to previous install Natalia Miyusova http://community.qnx.com/sf/go/post92505 2012-04-09T17:06:16Z 2012-04-09T17:06:16Z Please clarify how you launch the installer and copy/paste the error message that you're getting. > I am trying to follow you by copying the _jvm and _uninstall folders from > another computer. I am getting this error > A suitable JVM could not be found. Please run the program again using the > option -is:javahome<JAVA HOME DIR> > > uninstaller.exe -is:javahome C:\Users\mkommi\Desktop\QNX\_jvm > > I get java.lang.NoCLassDefFoundError:run exception in thread "main" > > I completely uninstalled momentics and ran the windows cleaner couple of times > but I am unable to reinstall. The environment variables are cleared and I > dont see any QNX folder itself in the place I installed it earlier. Can > somebody please help me reinstall. Natalia Miyusova 2012-04-09T17:06:16Z post92492: Add include path Ahsan Iqbal http://community.qnx.com/sf/go/post92492 2012-04-07T06:00:55Z 2012-04-07T06:00:55Z Hi I am new to QNX momentix IDE, can any one guide me how could I add custom include path so that ide/compiler should also search .h files from my specified path. Regards Ahsan Ahsan Iqbal 2012-04-07T06:00:55Z post92332: Re: Installation on Linux failing due to previous install Mahesh Kommi http://community.qnx.com/sf/go/post92332 2012-03-28T23:12:19Z 2012-03-28T23:12:19Z I am trying to follow you by copying the _jvm and _uninstall folders from another computer. I am getting this error A suitable JVM could not be found. Please run the program again using the option -is:javahome<JAVA HOME DIR> uninstaller.exe -is:javahome C:\Users\mkommi\Desktop\QNX\_jvm I get java.lang.NoCLassDefFoundError:run exception in thread "main" I completely uninstalled momentics and ran the windows cleaner couple of times but I am unable to reinstall. The environment variables are cleared and I dont see any QNX folder itself in the place I installed it earlier. Can somebody please help me reinstall. Mahesh Kommi 2012-03-28T23:12:19Z post91950: Re: Cannot checkout qnx source Alistair Boyd http://community.qnx.com/sf/go/post91950 2012-03-07T15:43:01Z 2012-03-07T15:43:01Z Ok thanks for letting me know. Alistair Boyd 2012-03-07T15:43:01Z post91941: RE: Cannot checkout qnx source Steve Reid http://community.qnx.com/sf/go/post91941 2012-03-07T14:19:48Z 2012-03-07T14:19:48Z Hi, Alistair. The source code is no longer generally available. See http://community.qnx.com/sf/wiki/do/viewPage/projects.community/wiki/UpdatedQNXSourceAccessPolicyFAQ. Steve Reid (stever@qnx.com) Technical Editor QNX Software Systems -----Original Message----- From: Alistair Boyd [mailto:community-noreply@qnx.com] Sent: Wednesday, March 07, 2012 8:19 AM To: momenticsgs-community Subject: Cannot checkout qnx source I am trying to check out the qnx source code so I can build the kernel debugger. I have tried using command line and tortoise svn using the following (and entering my username): svn checkout --username <username> http://community.qnx.com/svn/repos/coreos_pub/trunk I always get this error: Checkout from http://community.qnx.com/svn/repos/coreos_pub/trunk, revision HEAD, Fully recursive, Externals included Server sent unexpected return value (500 Internal Server Error) in response to PROPFIND request for '/svn/repos' Please let me know how I can access to the source code. Specifically I want to be able to build and use the kernel debugger. Thanks, _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post91938 Steve Reid 2012-03-07T14:19:48Z post91938: Cannot checkout qnx source Alistair Boyd http://community.qnx.com/sf/go/post91938 2012-03-07T13:18:58Z 2012-03-07T13:18:58Z I am trying to check out the qnx source code so I can build the kernel debugger. I have tried using command line and tortoise svn using the following (and entering my username): svn checkout --username <username> http://community.qnx.com/svn/repos/coreos_pub/trunk I always get this error: Checkout from http://community.qnx.com/svn/repos/coreos_pub/trunk, revision HEAD, Fully recursive, Externals included Server sent unexpected return value (500 Internal Server Error) in response to PROPFIND request for '/svn/repos' Please let me know how I can access to the source code. Specifically I want to be able to build and use the kernel debugger. Thanks, Alistair Boyd 2012-03-07T13:18:58Z post91870: mod_version.c:1: fatal error: can't open deepak kumar http://community.qnx.com/sf/go/post91870 2012-03-01T13:40:53Z 2012-03-01T13:40:53Z Hello, I am installing QNX momentics IDE 4.7.0 for the first time. I am done with the installation I suppose, but I am facing the below error when I try to Build any module: workspace/NativeServices/src/../../SystemServices/inc mod_version.c -o D:/Ide-4.7-workspace/NativeServices/src/../bld/armle-v7/release/NS_FrameworkCore/mod_version.o mod_version.c:1: fatal error: can't open "C:\DOCUME~1\kumarkde\Local Settings\Temp\2qccE4q6Xa\mod_version.s" for writing: Invalid argument make[3]: Leaving directory `D:/Ide-4.7-workspace/NS_FrameworkCore/src' compilation terminated. make[2]: Leaving directory `D:/Ide-4.7-workspace/NativeServices/src' cc: C:/QNX650/host/win32/x86/usr/lib/gcc/arm-unknown-nto-qnx6.5.0eabi/4.4.2/cc1 caught signal 1 make[1]: Leaving directory `D:/Ide-4.7-workspace/NativeServices/src' make[3]: *** [D:/Ide-4.7-workspace/NativeServices/src/../bld/armle-v7/release/NS_FrameworkCore/mod_version.o] Error 1 make[2]: *** [library] Error 2 make[1]: *** [all] Error 2 make: *** [all] Error 2 Can somebody please help. Regards, Deepak deepak kumar 2012-03-01T13:40:53Z post91827: Re: Get memory fault (core dumped) problem Tao Yang http://community.qnx.com/sf/go/post91827 2012-02-28T05:18:36Z 2012-02-28T05:18:36Z Please ignore the initial post. problem solved. unrelated to QNX. Tao Yang 2012-02-28T05:18:36Z post91808: Re: Problems with QNX or to stupid? Pavol Kycina http://community.qnx.com/sf/go/post91808 2012-02-27T15:15:26Z 2012-02-27T15:15:26Z Is chksum of files (on windows and in qnx) the same? Pavol Kycina 2012-02-27T15:15:26Z post91791: Get memory fault (core dumped) problem Tao Yang http://community.qnx.com/sf/go/post91791 2012-02-27T04:21:20Z 2012-02-27T04:21:20Z I have qnxsdp-6.5 installed on my host pc (Vista), and installed QNX on VMware player 4.0. run qconfig on host pc: 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 run qconfig on qnx QNX Installations Installation Name: QNX Software Development Platform 6.5.0 Version: 6.5.0 Base Directory: /usr/qnx650/ QNX_Host: /usr/qnx650/host/qnx6/x86 QNX_target: /usr/qnx650/target/qnx6 The default c++ QNX project can be compiled and run from IDE OK, and I can see the program out "Welcome to the QNX Momentics IDE". but when I transfer the executable file to qnx, and run it from the terminal, I got memory fault (core dumped) message. If I transfer the source file (.cc) files to qnx and compile the source file on QNX instead of IDE, the binary file can run without memory fault. Tao Yang 2012-02-27T04:21:20Z post91786: Re: Problems with QNX or to stupid? Tao Yang http://community.qnx.com/sf/go/post91786 2012-02-26T06:01:39Z 2012-02-26T06:01:39Z It looks like I ran into the same problem. I have qnxsdp-6.5 installed on my host pc (Vista), and installed QNX on VMware player 4.0. run qconfig on host pc: 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 run qconfig on qnx QNX Installations Installation Name: QNX Software Development Platform 6.5.0 Version: 6.5.0 Base Directory: /usr/qnx650/ QNX_Host: /usr/qnx650/host/qnx6/x86 QNX_target: /usr/qnx650/target/qnx6 The default c++ QNX project can be compiled and run from IDE OK, and I can see the program out "Welcome to the QNX Momentics IDE". but when I transfer the executable file to qnx, and run it from the terminal, I got memory fault (core dumped) message. If I transfer the source file (.cc) files to qnx and compile the source file on QNX instead of IDE, the binary file can run without memory fault. Tao Yang 2012-02-26T06:01:39Z post91612: Re: installation problem HuiHsien Wu http://community.qnx.com/sf/go/post91612 2012-02-15T16:34:45Z 2012-02-15T16:34:45Z Change bios mode/remote control to IDE mode. HuiHsien Wu 2012-02-15T16:34:45Z post91611: Re: Installation issue HuiHsien Wu http://community.qnx.com/sf/go/post91611 2012-02-15T16:33:33Z 2012-02-15T16:33:33Z I met the same issue. Tried to install other version of QNX. HuiHsien Wu 2012-02-15T16:33:33Z post91095: Re: Installation issues Seyfettin Sünger http://community.qnx.com/sf/go/post91095 2012-01-24T09:52:15Z 2012-01-24T09:52:15Z I solved the issue, Every step was right accept last step, it should be like that - copy qnxsdp-6.4.1-nnnnnnn-win32.exe to a new folder - run these commands (without the quotes) "qnxsdp-6.4.1-nnnnnnn-win32.exe -is:extract" "windows-sun-1.5.0.exe" "cd bin" "java -Dis.language=en -cp "D:\qnx_win32_setup.jar" run ( this should include quotes) Anyway thanks for your support. Seyfettin Sünger 2012-01-24T09:52:15Z post91068: Re: Installation issues Seyfettin Sünger http://community.qnx.com/sf/go/post91068 2012-01-23T07:45:16Z 2012-01-23T07:45:16Z what do you mean with cksum? Sorry but, I couldn't understand what you mean. Seyfettin Sünger 2012-01-23T07:45:16Z post91047: Re: Installation issues Natalia Miyusova http://community.qnx.com/sf/go/post91047 2012-01-20T13:18:08Z 2012-01-20T13:18:08Z I forgot to ask - have you verified the cksum of the original executable (qnxsdp-6.4.1-nnnnnnn-win32.exe)? Natalia Miyusova 2012-01-20T13:18:08Z post91042: Re: Installation issues Seyfettin Sünger http://community.qnx.com/sf/go/post91042 2012-01-20T08:58:54Z 2012-01-20T08:58:54Z Dear Natalie, I am still getting the same error. If it is possible, may I kindly offer you to connect my computer with a program called teamviewer 7. Maybe you can fix the issue which I cannot see. You can see an attahced file which shows what I have done on cmd screen. May I also ask you to continue to help me via e-mail. Here are some info if you want to reach me; Skype : seyfettinsunger E-mail : s-sunger@target.com.tr Regards, Seyfettin Sünger 2012-01-20T08:58:54Z post91036: Re: Installation issues Natalia Miyusova http://community.qnx.com/sf/go/post91036 2012-01-19T20:23:26Z 2012-01-19T20:23:26Z Sorry, that was a typo. Please try the following instead (pass user.language=en argument to java): C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Duser.language=en -cp C:\Documents and Settings\Target Teknoloji\Desktop\Java\qnx_win32_setup.jar run > Another recommendation would be to try passing user.language=en argument to > java. Try the following: > > =============== > C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Duser. > language=en -cp C:\Documents and Settings\Target Teknoloji\Desktop\Java\ > qnx_win32_setup.jar run > java -Duser.language=en -cp qnx_win32_setup.jar run > ================ > > > > Dear Natalia, > > > > I have read your all post about this subject but nothing chages. I just > don't > > understand why it doesn't allow me to install it. By the way, I am from > Turkey > > . Maybe our OS are bad, not good as in Canada or USA. I have no idea what I > am > > going to do. > > > > > > 1. I copied qnx.6.4.1 into a folder and I called it Java. This folder > located > > on Desktop. > > 2. Then I did what you said to me. But again, same error which can be seen > as > > below. > > > > C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Dis.debug= > 1 > > -cp C:\Documents and Settings\Target Teknoloji\Desktop\Java\qnx_win32_setup. > > > jar > > Exception in thread "main" java.lang.NoClassDefFoundError: and > > > > I am looking forward if you have any other suggesion. > > > > Regards, > > Natalia Miyusova 2012-01-19T20:23:26Z post91029: Re: Installation issues Elena Laskavaia http://community.qnx.com/sf/go/post91029 2012-01-19T19:13:01Z 2012-01-19T19:13:01Z This is invalid command, it is missing the class name to run On 01/19/2012 12:01 PM, Seyfettin Sünger wrote: > Dear Natalia, > > I have read your all post about this subject but nothing chages. I just don't understand why it doesn't allow me to install it. By the way, I am from Turkey. Maybe our OS are bad, not good as in Canada or USA. I have no idea what I am going to do. > > > 1. I copied qnx.6.4.1 into a folder and I called it Java. This folder located on Desktop. > 2. Then I did what you said to me. But again, same error which can be seen as below. > > C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Dis.debug=1 -cp C:\Documents and Settings\Target Teknoloji\Desktop\Java\qnx_win32_setup.jar > Exception in thread "main" java.lang.NoClassDefFoundError: and > > I am looking forward if you have any other suggesion. > > Regards, > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post91017 > Elena Laskavaia 2012-01-19T19:13:01Z post91026: Re: Installation issues Natalia Miyusova http://community.qnx.com/sf/go/post91026 2012-01-19T17:38:34Z 2012-01-19T17:38:34Z Another recommendation would be to try passing user.language=en argument to java. Try the following: =============== C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Duser.language=en -cp C:\Documents and Settings\Target Teknoloji\Desktop\Java\qnx_win32_setup.jar run java -Duser.language=en -cp qnx_win32_setup.jar run ================ > Dear Natalia, > > I have read your all post about this subject but nothing chages. I just don't > understand why it doesn't allow me to install it. By the way, I am from Turkey > . Maybe our OS are bad, not good as in Canada or USA. I have no idea what I am > going to do. > > > 1. I copied qnx.6.4.1 into a folder and I called it Java. This folder located > on Desktop. > 2. Then I did what you said to me. But again, same error which can be seen as > below. > > C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Dis.debug=1 > -cp C:\Documents and Settings\Target Teknoloji\Desktop\Java\qnx_win32_setup. > jar > Exception in thread "main" java.lang.NoClassDefFoundError: and > > I am looking forward if you have any other suggesion. > > Regards, Natalia Miyusova 2012-01-19T17:38:34Z post91024: Re: Installation issues Aleksandar Ristovski http://community.qnx.com/sf/go/post91024 2012-01-19T17:28:26Z 2012-01-19T17:28:26Z On 12-01-19 12:01 PM, Seyfettin Sünger wrote: > C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Dis.debug=1 -cp C:\Documents and Settings\Target Teknoloji\Desktop\Java\qnx_win32_setup.jar Try: C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Dis.debug=1 -cp "C:\Documents and Settings\Target Teknoloji\Desktop\Java\qnx_win32_setup.jar" (note quotation marks around the path to qnx_win32_setup.jar) Aleksandar Ristovski 2012-01-19T17:28:26Z post91017: Re: Installation issues Seyfettin Sünger http://community.qnx.com/sf/go/post91017 2012-01-19T17:01:00Z 2012-01-19T17:01:00Z Dear Natalia, I have read your all post about this subject but nothing chages. I just don't understand why it doesn't allow me to install it. By the way, I am from Turkey. Maybe our OS are bad, not good as in Canada or USA. I have no idea what I am going to do. 1. I copied qnx.6.4.1 into a folder and I called it Java. This folder located on Desktop. 2. Then I did what you said to me. But again, same error which can be seen as below. C:\Documents and Settings\Target Teknoloji\Desktop\Java\bin>java -Dis.debug=1 -cp C:\Documents and Settings\Target Teknoloji\Desktop\Java\qnx_win32_setup.jar Exception in thread "main" java.lang.NoClassDefFoundError: and I am looking forward if you have any other suggesion. Regards, Seyfettin Sünger 2012-01-19T17:01:00Z post91016: Re: Installation issues Natalia Miyusova http://community.qnx.com/sf/go/post91016 2012-01-19T16:24:40Z 2012-01-19T16:24:40Z Here is the workaround I posted earlier - this will force the installer to use java that is bundled in as opposed to the one found on the system. ======================= - copy qnxsdp-6.4.1-nnnnnnn-win32.exe to a new folder - run these commands (without the quotes) "qnxsdp-6.4.1-nnnnnnn-win32.exe -is:extract" "windows-sun-1.5.0.exe" "cd bin" "java -Dis.debug=1 -cp D:\qnx_win32_setup.jar run" ======================= This should work. Natalia > I have the same issue while installing QNX 6.4.1 SDP to my PC. > > My Host Machine has the properties as below: > > - Windows Xp Pro Service Pack 3 > - English Operating System. > - I followed your instruction that tells to go cmd Screen to install right > Java Version, but I failed. Because it gives an error called as below; > > Exception in thread "main" java.lang.NoClassDefFoundError: > > - I also visited Oracle web site to download right Java Version, Although I > downloaded latest release, I got the same error, "No debug found" for QNX 6.4. > 1. > > Now I kindly ask you, what is the reason which doesn't allow me to install QNX > 6.4.1? > > Can you send me right link of Java Version. I am looking forward to your > helpful answers. > > Regards, Natalia Miyusova 2012-01-19T16:24:40Z post91008: Re: Installation issues Seyfettin Sünger http://community.qnx.com/sf/go/post91008 2012-01-19T13:50:52Z 2012-01-19T13:50:52Z I have the same issue while installing QNX 6.4.1 SDP to my PC. My Host Machine has the properties as below: - Windows Xp Pro Service Pack 3 - English Operating System. - I followed your instruction that tells to go cmd Screen to install right Java Version, but I failed. Because it gives an error called as below; Exception in thread "main" java.lang.NoClassDefFoundError: - I also visited Oracle web site to download right Java Version, Although I downloaded latest release, I got the same error, "No debug found" for QNX 6.4.1. Now I kindly ask you, what is the reason which doesn't allow me to install QNX 6.4.1? Can you send me right link of Java Version. I am looking forward to your helpful answers. Regards, Seyfettin Sünger 2012-01-19T13:50:52Z post90822: Re: Momentics and "QNX C/C++ Project" with multiple executables or libraries Elena Laskavaia http://community.qnx.com/sf/go/post90822 2012-01-03T20:44:57Z 2012-01-03T20:44:57Z No extra obj just add extra object files to the same executable. You have to read docs about recursive makefiles to see how to do it. It is very non-trivial. It is probably easier if you just write a standard makefile in this case. Elena Laskavaia 2012-01-03T20:44:57Z post90821: Re: Momentics and "QNX C/C++ Project" with multiple executables or libraries sudhir katta http://community.qnx.com/sf/go/post90821 2012-01-03T20:40:17Z 2012-01-03T20:40:17Z From previous post I understand that by adding EXTRA_OBJS to common.mk I can make multiple executable in a project. I have added EXTRA_OBJS = object1.o object2.o to common.mk but it didn't work Can you please give me an example how I can accomplish this. sudhir katta 2012-01-03T20:40:17Z post90820: Re: Momentics and "QNX C/C++ Project" with multiple executables or libraries Elena Laskavaia http://community.qnx.com/sf/go/post90820 2012-01-03T19:49:08Z 2012-01-03T19:49:08Z IDE project builds one executable by default. You have to create custom makefile to build multiple executables. It is easier if you create one project per executable Elena Laskavaia 2012-01-03T19:49:08Z post90819: Re: Momentics and "QNX C/C++ Project" with multiple executables or libraries sudhir katta http://community.qnx.com/sf/go/post90819 2012-01-03T19:26:50Z 2012-01-03T19:26:50Z Elena, Thanks for the reply. I have one main function in one file. In my project I have multiple c files each has only one main(). I can write a make file to build executable for each file but how can do the same in QNX IDE. Lubos post explains very clearly the same thing. sudhir katta 2012-01-03T19:26:50Z post90817: Re: Transfer File from Windows Server R2 Enterprise Edition to QNX 6.5 32-bit sudhir katta http://community.qnx.com/sf/go/post90817 2012-01-03T19:07:01Z 2012-01-03T19:07:01Z Install cygwin on windows machine and use scp scp usage examples http://www.hypexr.org/linux_scp_help.php sudhir katta 2012-01-03T19:07:01Z post90815: Re: Momentics and "QNX C/C++ Project" with multiple executables or libraries Elena Laskavaia http://community.qnx.com/sf/go/post90815 2012-01-03T19:01:46Z 2012-01-03T19:01:46Z You cannot have multiple main functions. How does linker suppose to choose the right one? Elena Laskavaia 2012-01-03T19:01:46Z post90814: Re: Momentics and "QNX C/C++ Project" with multiple executables or libraries sudhir katta http://community.qnx.com/sf/go/post90814 2012-01-03T18:43:03Z 2012-01-03T18:43:03Z Same problem here. In my project I have multiple test files that have main() in them. They compile to object files but I get linking error multiple definition of `main'. As mentioned in this post I have added dependency as "EXTRA_OBJS:=dependency1.o dependency2.o" to my common.mk file but still I'm getting errors. I appreciate your help. sudhir katta 2012-01-03T18:43:03Z post90775: Re: Problems on installing USB DDK in QNX Momentics 6.4.1 Kevin Stallard http://community.qnx.com/sf/go/post90775 2011-12-30T00:35:13Z 2011-12-30T00:35:13Z I can't seem to make this work. I've updated qversion with 6.3.0, but it still refuses to install, complaining the qnx 6.3.0 is not installed. Ideas? I'm using Linux Ubuntu distro v 10.10 Thanks Kevin Kevin Stallard 2011-12-30T00:35:13Z post90414: Re: Installation on Linux failing due to previous install Yan Wu http://community.qnx.com/sf/go/post90414 2011-12-05T01:02:42Z 2011-12-05T01:02:42Z Never mind - I copied the _uninstall and _jvm folders from another computer to C:\QNX650 and ran the uninstaller.exe. It works in my case. Yan Wu 2011-12-05T01:02:42Z post90413: Re: Installation on Linux failing due to previous install Yan Wu http://community.qnx.com/sf/go/post90413 2011-12-05T00:19:06Z 2011-12-05T00:19:06Z Hi, I come across the same error message but with Windows XP (SP3) installation for QNX 6.5.0. I inherited a second-hand Laptop from others, uninstalled a previous instance and tried to install it again. Then I get into the problem. Log attached. Any idea? Yan Wu 2011-12-05T00:19:06Z post90206: Transfer File from Windows Server R2 Enterprise Edition to QNX 6.5 32-bit limpei Feng http://community.qnx.com/sf/go/post90206 2011-11-21T09:08:00Z 2011-11-21T09:08:00Z Hi, I'm wondering is it possible if i could use Visual Studio 2010 Ultimate as a platform to pick up text files from Windows (201.0.0.1) and deposit it into QNX(201.0.0.6) /home directory and vice versa. if possible, please share. Thx in advance :D limpei Feng 2011-11-21T09:08:00Z post89950: Telnet Alistair Boyd http://community.qnx.com/sf/go/post89950 2011-11-09T11:34:38Z 2011-11-09T11:34:38Z I am trying to get telnet working on my BSP image using QNX SDK 6.5 In my start-up script I can start the network driver as follows: io-pkt-v4 -d mpc85xx pci=0,syspage,emu_phy=0,irq_tx=32,irq_rx=33,irq_err=34 -p ttcpip -d mpc85xx pci=1,ioport=0xe0025000,irq_tx=35,irq_rx=36,irq_err=37 -p ttcpip and set the ip, I then start inetd ifconfig tsec1 192.168.0.80 waitfor /dev/socket inetd & I have created hosts file, inetd.conf file and service file as follows: /etc/hosts = { 127.0.0.1 localhost } /etc/service = { ftp 21/tcp telnet 23/tcp finger 79/tcp pdebug 8000/tcp } /etc/inetd.conf = { ftp stream tcp nowait root /bin/fdtpd fdtpd telnet stream tcp nowait root /sbin/telnetd telnetd finger stream tcp nowait root /bin fingerd pdebug stream tcp nowait root /bin/pdebug pdebug - } When I try to telnet from my Windows machine(i.e telnet 192.168.0.80 23) to the QNX target from the command prompt it seems to accept the command but the command prompt blanks out (until I hit a key). If it try a different IP, e.g. telnet 192.168.0.81 23. It says "Connecting to <IP> ... Could not open connection etc". From this I think my telnet server is doing something. Also note my firewall is off and inetd is running. Also if I search my system (with find) telnet and telnetd are in /proc/boot, I do not have a sbin folder and bin is pretty much empty. Also I can execute telnet on QNX and get the following: # telnet 192.168.0.70 23 Trying 192.168.0.70... telnet: Unable to connect to remote host: Connection refused Can anyone give any advice as to what I need to do to get this working correctly? Thanks Alistair Boyd 2011-11-09T11:34:38Z post89851: Re: Launching serial debugger failed Aleksandar Ristovski http://community.qnx.com/sf/go/post89851 2011-11-03T12:38:36Z 2011-11-03T12:38:36Z .gdbinit is optional and if you don't have it, then don't worry about that "not found" message. Maybe it is the baud rate mismatch? Did you start pdebug with the baud rate spec? # pdebug /dev/ser1,115200 If not explicitly specified, it will default to 57600 On 11-11-03 01:18 AM, Lisa Damodaran wrote: > Hi > > I have loaded the ".ifs" image consisting of BSP and hell world application to the target using TFTP boot option. > > The basic drivers are invoked in the boot script. Then I started devc-pty and pdebug /dev/ser1 from the serial terminal. > > After that switched to debug configuration and launched a serial debug with port as COM1 and the same baud rate as in the target(115200). Then I am getting the error. > > Where to find .gdbinit file? Error shows that .gdbinit file is not found. > > Thanks > Lisa > > > -----Original Message----- > From: Aleksandar Ristovski [mailto:community-noreply@qnx.com] > Sent: Wednesday, November 02, 2011 6:25 PM > To: momenticsgs-community > Subject: Re: Launching serial debugger failed > > Please provide a bit more detail on how exactly did you setup debug > configuration in the IDE. > > Have you started pdebug on the serial port? Qconn will not work over > serial line and so you need to run pdebug directly on the serial port, e.g. > > # pdebug /dev/ser0 > > or > > #pdebug /dev/ser2,115200 > > if you want to specify baud rate. > > After that, specify correct port on your host (in the debug configuration). > > On 11-11-02 05:23 AM, Lisa Damodaran wrote: >> Hi >> >> I am new to QNX and MOMENTICS IDE. I am trying to debug a "simple hello world" program in the AM3517 EVM target using the serial debug. But I am getting errors as attached. >> >> I am booting the target using TFTP boot option and all the drivers are available. I am trying to debug once the target is up and running. Pdebug is available and serial driver is also invoked. >> >> Is the procedure correct? Please help... >> >> >> Thanks >> Lisa >> >> ________________________________ >> ::DISCLAIMER:: >> ----------------------------------------------------------------------------------------------------------------------- >> >> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. >> It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in >> this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. >> Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of >> this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have >> received this email in error please delete it and notify the sender immediately. Before opening any mail and >> attachments please check them for viruses and defect. >> >> ----------------------------------------------------------------------------------------------------------------------- >> >> >> >> >> _______________________________________________ >> >> QNX Momentics Getting Started >> http://community.qnx.com/sf/go/post89820 > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post89825 > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post89844 > Aleksandar Ristovski 2011-11-03T12:38:36Z post89845: RE: Launching serial debugger failed Lisa Damodaran http://community.qnx.com/sf/go/post89845 2011-11-03T05:28:13Z 2011-11-03T05:28:13Z I am using the IDE version 4.7 and QNX version 6.5.0. The BSP package I have used is bsp-nto641-ti-am3517-evm-trunk-201005111508. Thanks Lisa -----Original Message----- From: Elena Laskavaia [mailto:community-noreply@qnx.com] Sent: Wednesday, November 02, 2011 7:14 PM To: momenticsgs-community Subject: Re: Launching serial debugger failed What version of IDE you are using? It looks like binary mismatch problem, do you have same libc installed on target as on desktop? On 11/02/2011 05:23 AM, Lisa Damodaran wrote: > Hi > > I am new to QNX and MOMENTICS IDE. I am trying to debug a "simple hello world" program in the AM3517 EVM target using the serial debug. But I am getting errors as attached. > > I am booting the target using TFTP boot option and all the drivers are available. I am trying to debug once the target is up and running. Pdebug is available and serial driver is also invoked. > > Is the procedure correct? Please help... > > > Thanks > Lisa > > ________________________________ > ::DISCLAIMER:: > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of > this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have > received this email in error please delete it and notify the sender immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ----------------------------------------------------------------------------------------------------------------------- > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post89820 _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post89826 Lisa Damodaran 2011-11-03T05:28:13Z post89844: RE: Launching serial debugger failed Lisa Damodaran http://community.qnx.com/sf/go/post89844 2011-11-03T05:18:54Z 2011-11-03T05:18:54Z Hi I have loaded the ".ifs" image consisting of BSP and hell world application to the target using TFTP boot option. The basic drivers are invoked in the boot script. Then I started devc-pty and pdebug /dev/ser1 from the serial terminal. After that switched to debug configuration and launched a serial debug with port as COM1 and the same baud rate as in the target(115200). Then I am getting the error. Where to find .gdbinit file? Error shows that .gdbinit file is not found. Thanks Lisa -----Original Message----- From: Aleksandar Ristovski [mailto:community-noreply@qnx.com] Sent: Wednesday, November 02, 2011 6:25 PM To: momenticsgs-community Subject: Re: Launching serial debugger failed Please provide a bit more detail on how exactly did you setup debug configuration in the IDE. Have you started pdebug on the serial port? Qconn will not work over serial line and so you need to run pdebug directly on the serial port, e.g. # pdebug /dev/ser0 or #pdebug /dev/ser2,115200 if you want to specify baud rate. After that, specify correct port on your host (in the debug configuration). On 11-11-02 05:23 AM, Lisa Damodaran wrote: > Hi > > I am new to QNX and MOMENTICS IDE. I am trying to debug a "simple hello world" program in the AM3517 EVM target using the serial debug. But I am getting errors as attached. > > I am booting the target using TFTP boot option and all the drivers are available. I am trying to debug once the target is up and running. Pdebug is available and serial driver is also invoked. > > Is the procedure correct? Please help... > > > Thanks > Lisa > > ________________________________ > ::DISCLAIMER:: > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of > this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have > received this email in error please delete it and notify the sender immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ----------------------------------------------------------------------------------------------------------------------- > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post89820 _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post89825 Lisa Damodaran 2011-11-03T05:18:54Z post89826: Re: Launching serial debugger failed Elena Laskavaia http://community.qnx.com/sf/go/post89826 2011-11-02T13:44:11Z 2011-11-02T13:44:11Z What version of IDE you are using? It looks like binary mismatch problem, do you have same libc installed on target as on desktop? On 11/02/2011 05:23 AM, Lisa Damodaran wrote: > Hi > > I am new to QNX and MOMENTICS IDE. I am trying to debug a "simple hello world" program in the AM3517 EVM target using the serial debug. But I am getting errors as attached. > > I am booting the target using TFTP boot option and all the drivers are available. I am trying to debug once the target is up and running. Pdebug is available and serial driver is also invoked. > > Is the procedure correct? Please help... > > > Thanks > Lisa > > ________________________________ > ::DISCLAIMER:: > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of > this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have > received this email in error please delete it and notify the sender immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ----------------------------------------------------------------------------------------------------------------------- > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post89820 Elena Laskavaia 2011-11-02T13:44:11Z post89825: Re: Launching serial debugger failed Aleksandar Ristovski http://community.qnx.com/sf/go/post89825 2011-11-02T12:54:46Z 2011-11-02T12:54:46Z Please provide a bit more detail on how exactly did you setup debug configuration in the IDE. Have you started pdebug on the serial port? Qconn will not work over serial line and so you need to run pdebug directly on the serial port, e.g. # pdebug /dev/ser0 or #pdebug /dev/ser2,115200 if you want to specify baud rate. After that, specify correct port on your host (in the debug configuration). On 11-11-02 05:23 AM, Lisa Damodaran wrote: > Hi > > I am new to QNX and MOMENTICS IDE. I am trying to debug a "simple hello world" program in the AM3517 EVM target using the serial debug. But I am getting errors as attached. > > I am booting the target using TFTP boot option and all the drivers are available. I am trying to debug once the target is up and running. Pdebug is available and serial driver is also invoked. > > Is the procedure correct? Please help... > > > Thanks > Lisa > > ________________________________ > ::DISCLAIMER:: > ----------------------------------------------------------------------------------------------------------------------- > > The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. > It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in > this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. > Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of > this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have > received this email in error please delete it and notify the sender immediately. Before opening any mail and > attachments please check them for viruses and defect. > > ----------------------------------------------------------------------------------------------------------------------- > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post89820 Aleksandar Ristovski 2011-11-02T12:54:46Z post89820: Launching serial debugger failed Lisa Damodaran http://community.qnx.com/sf/go/post89820 2011-11-02T09:23:50Z 2011-11-02T09:23:50Z Hi I am new to QNX and MOMENTICS IDE. I am trying to debug a "simple hello world" program in the AM3517 EVM target using the serial debug. But I am getting errors as attached. I am booting the target using TFTP boot option and all the drivers are available. I am trying to debug once the target is up and running. Pdebug is available and serial driver is also invoked. Is the procedure correct? Please help... Thanks Lisa ________________________________ ::DISCLAIMER:: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- Lisa Damodaran 2011-11-02T09:23:50Z post89796: Re: Can't set up project for loading to simulator Elena Laskavaia http://community.qnx.com/sf/go/post89796 2011-11-01T12:48:25Z 2011-11-01T12:48:25Z This is wrong forum. Please post further question regarding NDK at http://supportforums.blackberry.com/t5/Native-SDK-for-BlackBerry-Tablet/bd-p/native_sdk Elena Laskavaia 2011-11-01T12:48:25Z post89782: Re: Can't set up project for loading to simulator Peter Snider(deleted) http://community.qnx.com/sf/go/post89782 2011-10-31T21:36:58Z 2011-10-31T21:36:58Z After digging around, I found: Select the menu from the project to run (in this case FallingBlocks), then set the simulator as the target with: Build Configurations-->SetActive-->Simulator The sample app now runs on the simulator. (I may have made some other changes as well though.) Peter Snider(deleted) 2011-10-31T21:36:58Z post89781: Can't set up project for loading to simulator Peter Snider(deleted) http://community.qnx.com/sf/go/post89781 2011-10-31T20:59:12Z 2011-10-31T20:59:12Z I have Momentics installed and running. I can build my own project and the Falling Blocks sample. However, I can't get my code to load to the simulator. I'm following the documentation at: https://bdsc.webapps.blackberry.com/native/documentation/com.qnx.doc.native_sdk.quickstart/topic/config_simulator.html but the documentation seems sparse, and I must be missing some steps. Can you point me to more detailed information? Can you help me get the sample program to load on the simulator? Right now I'm stuck at the step of trying to set the target of my run configuration to be the simulator. It doesn't show up in any list, and my attempts so far to configure this have failed. I'm using the Windows NDK 1.0.0 Thanks Peter Snider(deleted) 2011-10-31T20:59:12Z post88633: Re: Problem building project Julio Arellano http://community.qnx.com/sf/go/post88633 2011-09-05T08:03:55Z 2011-09-05T08:03:55Z > Alright, so how do I check wether I have make on top level? I realize I'm > perhaps asking a stupid question, but I'm new at this. Thanks for the help. Also my makefile looks like this LIST=CPU ifndef QRECURSE QRECURSE=recurse.mk ifdef QCONFIG QRDIR=$(dir $(QCONFIG)) endif endif include $(QRDIR)$(QRECURSE) Is this okay? Julio Arellano 2011-09-05T08:03:55Z post88632: Re: Problem building project Julio Arellano http://community.qnx.com/sf/go/post88632 2011-09-05T07:10:11Z 2011-09-05T07:10:11Z Alright, so how do I check wether I have make on top level? I realize I'm perhaps asking a stupid question, but I'm new at this. Thanks for the help. Julio Arellano 2011-09-05T07:10:11Z post88588: Re: License Check Failure: no qnxlic in java.library.path Mark Dowdy http://community.qnx.com/sf/go/post88588 2011-09-01T16:49:27Z 2011-09-01T16:49:27Z Host is Windows, target is x86. Path was the problem, thanks for the help. Mark Mark Dowdy 2011-09-01T16:49:27Z post88579: Re: Problem building project Elena Laskavaia http://community.qnx.com/sf/go/post88579 2011-09-01T13:06:36Z 2011-09-01T13:06:36Z The scanner info error can be ignored, the other one is because you don't have make on top level or you don't have target all On 09/01/2011 07:48 AM, Julio Arellano wrote: > I just installed QNX on this machine, and imported an already existing project. Now when I click build, I get a warning > > > Error launching external scanner info generator (gcc -E -P -v -dD C:/QNX632/ide4-workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) > > > Also the console displays > > make -k all > make: *** No rule to make target `all'. > > > How can I fix this? Any suggestions much appreciated > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post88573 > Elena Laskavaia 2011-09-01T13:06:36Z post88577: Re: License Check Failure: no qnxlic in java.library.path Elena Laskavaia http://community.qnx.com/sf/go/post88577 2011-09-01T13:03:41Z 2011-09-01T13:03:41Z On linux it is in /opt/qnx650/host/linux/x86/usr/lib/libqnxlic.so On Windows path to it has to be added to PATH not to LD_LIBRARY_PATH, but it is all should have happened automatically. What platform are you on? On 08/31/2011 05:31 PM, Andrew Yun wrote: >> I'm trying to run Momentics 4.7 (QNX 6.5.0) and I'm getting a License Check >> Failure: no qnxlic in java.library.path on Windows. QNX_HOST is set to my >> installation directory, my Path contains %QNX_HOST%/usr/bin, and >> LD_LIBRARY_PATH is set to %QNX_HOST%/usr/lib. Based other forum posts, it >> looks like I'm missing a qnxlic* file (%QNX_HOST%/usr/lib contains gcc/ libaoi >> .a, libAp.a and libph.dll.a). Where does this file come from? I have a valid 6 >> .5.0 license, I've been running the development tools for months. Thanks. >> >> Mark > > > Is your %QNX_HOST%/usr/bin a part of your %PATH%? That's where qnxlic.dll is supposed to be. > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post88561 > Elena Laskavaia 2011-09-01T13:03:41Z post88573: Problem building project Julio Arellano http://community.qnx.com/sf/go/post88573 2011-09-01T11:48:50Z 2011-09-01T11:48:50Z I just installed QNX on this machine, and imported an already existing project. Now when I click build, I get a warning Error launching external scanner info generator (gcc -E -P -v -dD C:/QNX632/ide4-workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) Also the console displays make -k all make: *** No rule to make target `all'. How can I fix this? Any suggestions much appreciated Julio Arellano 2011-09-01T11:48:50Z post88561: Re: License Check Failure: no qnxlic in java.library.path Andrew Yun http://community.qnx.com/sf/go/post88561 2011-08-31T21:31:28Z 2011-08-31T21:31:28Z > I'm trying to run Momentics 4.7 (QNX 6.5.0) and I'm getting a License Check > Failure: no qnxlic in java.library.path on Windows. QNX_HOST is set to my > installation directory, my Path contains %QNX_HOST%/usr/bin, and > LD_LIBRARY_PATH is set to %QNX_HOST%/usr/lib. Based other forum posts, it > looks like I'm missing a qnxlic* file (%QNX_HOST%/usr/lib contains gcc/ libaoi > .a, libAp.a and libph.dll.a). Where does this file come from? I have a valid 6 > .5.0 license, I've been running the development tools for months. Thanks. > > Mark Is your %QNX_HOST%/usr/bin a part of your %PATH%? That's where qnxlic.dll is supposed to be. Andrew Yun 2011-08-31T21:31:28Z post88560: License Check Failure: no qnxlic in java.library.path Mark Dowdy http://community.qnx.com/sf/go/post88560 2011-08-31T21:26:40Z 2011-08-31T21:26:40Z I'm trying to run Momentics 4.7 (QNX 6.5.0) and I'm getting a License Check Failure: no qnxlic in java.library.path on Windows. QNX_HOST is set to my installation directory, my Path contains %QNX_HOST%/usr/bin, and LD_LIBRARY_PATH is set to %QNX_HOST%/usr/lib. Based other forum posts, it looks like I'm missing a qnxlic* file (%QNX_HOST%/usr/lib contains gcc/ libaoi.a, libAp.a and libph.dll.a). Where does this file come from? I have a valid 6.5.0 license, I've been running the development tools for months. Thanks. Mark Mark Dowdy 2011-08-31T21:26:40Z post88409: Re: Copy files from Windows to QNX Paolo Lomotti http://community.qnx.com/sf/go/post88409 2011-08-26T15:32:53Z 2011-08-26T15:32:53Z I've tried also using the host name: fs-cifs -l -vvv //PaoloPC:192.168.163.1:/MyShrdFolder /shared but the error messages are the same. The fact that also the ping doesn't work (only from Linux -> Windows; from Windows -> Linux the ping is ok) could be a signal that something else is wrong? Paolo Lomotti 2011-08-26T15:32:53Z post88406: Re: Copy files from Windows to QNX Elena Laskavaia http://community.qnx.com/sf/go/post88406 2011-08-26T14:45:19Z 2011-08-26T14:45:19Z You missing //HOSTNAME: it is not optional fs-cifs //HOSTNAME:IP:/MyShrdFolder /shared On 26/08/2011 9:06 AM, Paolo Lomotti wrote: > I'm trying to use fs-cifs but it doesn't seem work. > > In particular: > 1. I created under windows a shared folder 'MyShrdFolder' and disabled Windows Firewall. The IP of windows host is 192.168.163.1. > 2. I created a QNX folder 'shared'. Note that QNX is running on a virtual machine (VMWare) so the phisical machine of the two host is the same. > 3. from QNX (phindows) terminal I write the follow: > fs-cifs -vvv 192.168.163.1:/MyShrdFolder /shared > > but appear the following lines: > > cifs[1101873-1]: connect: Connection timed out > cifs[1101873-1]: io_mount: smb_connection failed: Bad file descriptor > io_mount: Bad file descriptor > fs-cifs: missing arguments, or all mount attempts failed. > run "use fs-cifs" or "fs-cifs -h" for help. > > I think that the problem is related to network connection, so sfter this I tried to ping the windows host from QNX terminal and the request timed out while if I ping the QNX host from windows it was reachable. How is this possible? > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post88399 > Elena Laskavaia 2011-08-26T14:45:19Z post88399: Re: Copy files from Windows to QNX Paolo Lomotti http://community.qnx.com/sf/go/post88399 2011-08-26T13:06:37Z 2011-08-26T13:06:37Z I'm trying to use fs-cifs but it doesn't seem work. In particular: 1. I created under windows a shared folder 'MyShrdFolder' and disabled Windows Firewall. The IP of windows host is 192.168.163.1. 2. I created a QNX folder 'shared'. Note that QNX is running on a virtual machine (VMWare) so the phisical machine of the two host is the same. 3. from QNX (phindows) terminal I write the follow: fs-cifs -vvv 192.168.163.1:/MyShrdFolder /shared but appear the following lines: cifs[1101873-1]: connect: Connection timed out cifs[1101873-1]: io_mount: smb_connection failed: Bad file descriptor io_mount: Bad file descriptor fs-cifs: missing arguments, or all mount attempts failed. run "use fs-cifs" or "fs-cifs -h" for help. I think that the problem is related to network connection, so sfter this I tried to ping the windows host from QNX terminal and the request timed out while if I ping the QNX host from windows it was reachable. How is this possible? Paolo Lomotti 2011-08-26T13:06:37Z post87807: Re: Copy files from Windows to QNX Malte Mundt http://community.qnx.com/sf/go/post87807 2011-08-04T10:56:55Z 2011-08-04T10:56:55Z I'd mount a windows shared folder from QNX using fs-cifs to copy the files, or use qconn and the Momentics IDE Target Filesystem View. - Malte Malte Mundt 2011-08-04T10:56:55Z post87789: Copy files from Windows to QNX Paolo Lomotti http://community.qnx.com/sf/go/post87789 2011-08-03T12:31:49Z 2011-08-03T12:31:49Z Hi guys, I'm trying to copy some files from windows to a virtual machine where is running QNX. The Inetd is running. The ftp for IPv4 is enabled in file inetd.conf. But when I try to establish a connection (using WinSCP), it is able to contact the VM, but while is 'waiting for welcome message', the timeout expires so the connection cannot be reached. This is the result of running ifconfig on QNX VM: lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192 inet 127.0.0.1 netmask 0xff000000 en0: flags=80008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,SHIM> mtu 1500 address: 00:0c:29:f4:ea:47 media: Ethernet 10baseT full-duplex status: active inet 192.168.163.128 netmask 0xffffff00 broadcast 192.168.163.255 and this is the result of ps: PID TTY TIME CMD 434196 ? 00:00:00 pterm 196631 ? 00:00:00 login 196632 ? 00:00:00 login 196633 ? 00:00:00 login 274458 ? 00:00:00 login 348187 ? 00:00:00 pwm 434206 ? 00:00:00 sh 376863 ? 00:00:00 shelf 397345 ? 00:00:00 bkgdmgr 397346 ? 00:00:00 wmswitch 397347 ? 00:00:00 saver 450596 ? 00:00:01 phrelay 446501 ? 00:00:00 inetd 847911 ? 00:00:00 pterm 839720 ? 00:00:00 ab 532521 ? 00:00:00 pwm 561194 ? 00:00:00 shelf 581675 ? 00:00:00 bkgdmgr 581676 ? 00:00:00 wmswitch 581677 ? 00:00:00 saver 847918 ? 00:00:00 sh 872495 ? 00:00:00 ps Could you help me? Paolo Paolo Lomotti 2011-08-03T12:31:49Z post87787: Re: RE: FTP access to QNX host Paolo Lomotti http://community.qnx.com/sf/go/post87787 2011-08-03T12:20:20Z 2011-08-03T12:20:20Z Hi, also I have the same intention (copy file from Windows to QNX which is running with WMware). Inetd and the Ftp service are running on VM, but when I try to connect with WinSCP it is able to connect but while is 'waiting for welcome message', timeout expires, so I cannot establish the ftp connection. This is what appears when I digit: ifconfig lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192 inet 127.0.0.1 netmask 0xff000000 en0: flags=80008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,SHIM> mtu 1500 address: 00:0c:29:f4:ea:47 media: Ethernet 10baseT full-duplex status: active inet 192.168.163.128 netmask 0xffffff00 broadcast 192.168.163.255 and this when I digit: pidin -p io-net mem pid tid name prio STATE code data stack could you help me? Paolo Lomotti 2011-08-03T12:20:20Z post87607: installation problem christophe blachon http://community.qnx.com/sf/go/post87607 2011-07-26T17:12:48Z 2011-07-26T17:12:48Z Hi, I would like to install QNX 6.5.0 SDP to an PC104 equipment from LIPPERT manufacturer and i can't because the driver of the sata disk is not recognised by QNX 6.5.0 : see screen 1/2 (attached) 1/ Is there any solution ? 2/ I can boot on the PC104 with an usb key and format the 2 Serial Ata disks SataDom (screen3) but from there i don't know how to install qnx. I did not find any procedure on the QNX site. Any help would be much apreciated. Many thanks christophe blachon 2011-07-26T17:12:48Z post87190: Re: Runing QNX in VirtualBox Christoph Nemmaier http://community.qnx.com/sf/go/post87190 2011-07-07T13:57:29Z 2011-07-07T13:57:29Z Have you ever tried the non-APIC version? Some time last year I tried to set up a VM that I never got to boot. The non-APIC version works and is still in use. Ciao, Christoph Christoph Nemmaier 2011-07-07T13:57:29Z post86593: Re: log2 Malte Mundt http://community.qnx.com/sf/go/post86593 2011-06-14T14:37:12Z 2011-06-14T14:37:12Z Can you narrow it down to a certain snippet of source code and post it here? Does a hello world compile just fine? Have you looked up 'log2' in the docs? From what I understand, you need to include tgmath.h for it. - Malte Malte Mundt 2011-06-14T14:37:12Z post86591: Re: QNX post-installation problem Malte Mundt http://community.qnx.com/sf/go/post86591 2011-06-14T14:34:40Z 2011-06-14T14:34:40Z Hi! > Press the space bar to input boot options or D to disable DMA... Have you tried to press space? There is a "safe mode" option where you can disable booting "Photon" (QNX widget system), which may help in this case. > Trying SATA ahci. Scanning for devices... > xpt_configure: ahci SIM attach failure > Trying EIDE. Scanning for devices... > ..found 2 devices > Detected USB. Scanning for devices... > Trying SATA mvSata. Scanning for devices... > xpt_configure: No mvSata interfaces found > Generating helpviewer search index > Copied "/usr/photon/config/crtc-settings" to "/etc/system/config/crtc-settings > " > Starting extra run commands > login: At this point, the Photon login screen should come up. If it doesn't probably the graphics driver crashed because your graphics controller isn't supported. Try the "safe mode" mentioned above - you should at least be able to login as 'root' on the text console. Good luck! - Malte Malte Mundt 2011-06-14T14:34:40Z post86564: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86564 2011-06-10T18:25:38Z 2011-06-10T18:25:38Z Is anything else we can add to this wiki? On 06/10/2011 02:23 PM, Aleksandar Ristovski wrote: > His problem is: > > "If it is libc this is a lot more difficult ...." > > > On 06/10/2011 02:20 PM, Elena Laskavaia wrote: >> See "How to fix library mismatch" >> http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/DebuggerFAQ >> >> If you think there is another way please update the wiki >> >> On 06/10/2011 02:09 PM, Aleksandar Ristovski wrote: >>> Andy expressed interest to put instructions on a wiki page. >>> >>> He will update this thread once the wiki is up. >>> >>> --- >>> Aleksandar >>> >>> On 06/10/2011 01:57 PM, Ming Liu wrote: >>>> Thank you for your responses. Yes, please send me instructions for getting the exact version. >>>> >>>> >>>> >>>> _______________________________________________ >>>> >>>> QNX Momentics Getting Started >>>> http://community.qnx.com/sf/go/post86558 >>>> >>> >>> >>> >>> >>> _______________________________________________ >>> >>> QNX Momentics Getting Started >>> http://community.qnx.com/sf/go/post86559 >>> >> >> >> >> _______________________________________________ >> >> QNX Momentics Getting Started >> http://community.qnx.com/sf/go/post86561 >> > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86562 > Elena Laskavaia 2011-06-10T18:25:38Z post86562: Re: how to load shared libraries symbols automatically Aleksandar Ristovski http://community.qnx.com/sf/go/post86562 2011-06-10T18:23:45Z 2011-06-10T18:23:45Z His problem is: "If it is libc this is a lot more difficult ...." On 06/10/2011 02:20 PM, Elena Laskavaia wrote: > See "How to fix library mismatch" > http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/DebuggerFAQ > > If you think there is another way please update the wiki > > On 06/10/2011 02:09 PM, Aleksandar Ristovski wrote: >> Andy expressed interest to put instructions on a wiki page. >> >> He will update this thread once the wiki is up. >> >> --- >> Aleksandar >> >> On 06/10/2011 01:57 PM, Ming Liu wrote: >>> Thank you for your responses. Yes, please send me instructions for getting the exact version. >>> >>> >>> >>> _______________________________________________ >>> >>> QNX Momentics Getting Started >>> http://community.qnx.com/sf/go/post86558 >>> >> >> >> >> >> _______________________________________________ >> >> QNX Momentics Getting Started >> http://community.qnx.com/sf/go/post86559 >> > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86561 > Aleksandar Ristovski 2011-06-10T18:23:45Z post86561: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86561 2011-06-10T18:20:45Z 2011-06-10T18:20:45Z See "How to fix library mismatch" http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/DebuggerFAQ If you think there is another way please update the wiki On 06/10/2011 02:09 PM, Aleksandar Ristovski wrote: > Andy expressed interest to put instructions on a wiki page. > > He will update this thread once the wiki is up. > > --- > Aleksandar > > On 06/10/2011 01:57 PM, Ming Liu wrote: >> Thank you for your responses. Yes, please send me instructions for getting the exact version. >> >> >> >> _______________________________________________ >> >> QNX Momentics Getting Started >> http://community.qnx.com/sf/go/post86558 >> > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86559 > Elena Laskavaia 2011-06-10T18:20:45Z post86559: Re: how to load shared libraries symbols automatically Aleksandar Ristovski http://community.qnx.com/sf/go/post86559 2011-06-10T18:09:08Z 2011-06-10T18:09:08Z Andy expressed interest to put instructions on a wiki page. He will update this thread once the wiki is up. --- Aleksandar On 06/10/2011 01:57 PM, Ming Liu wrote: > Thank you for your responses. Yes, please send me instructions for getting the exact version. > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86558 > Aleksandar Ristovski 2011-06-10T18:09:08Z post86558: Re: how to load shared libraries symbols automatically Ming Liu http://community.qnx.com/sf/go/post86558 2011-06-10T17:57:29Z 2011-06-10T17:57:29Z Thank you for your responses. Yes, please send me instructions for getting the exact version. Ming Liu 2011-06-10T17:57:29Z post86556: Re: how to load shared libraries symbols automatically Aleksandar Ristovski http://community.qnx.com/sf/go/post86556 2011-06-10T17:22:34Z 2011-06-10T17:22:34Z I believe Elena has already suggested that you have a mismatch: On 06/10/2011 12:10 PM, Ming Liu wrote: > 701,560&"warning: Host file C:\\\\bbndk090\\\\target\\\\qnx6\\\\x86\\\\lib/libc.so.3 does not match\ > target file.\n" you need exact version of the binaries. A way to obtain them is to check them out from deckard-65x repository. Let me know if you need instructions on how to do that. Aleksandar Ristovski 2011-06-10T17:22:34Z post86555: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86555 2011-06-10T17:19:36Z 2011-06-10T17:19:36Z It is caused entirely by library mismatch. You have to fix that in order to get gdb stop on library events. On 06/10/2011 12:10 PM, Ming Liu wrote: > Hi, I've been seeing this issue as well, where shared library symbols aren't loaded automatically after dlopen(). I've tried following the advice in this thread but I'm still seeing this issue. > > At the breakpoint in main(), I've been checking the gdb settings (solib-search-path, auto-solib-add, stop-on-solib-events), and the first two are correct (I then manually set stop-on-solib-events to 1, but it doesn't stop). > > I'm using Momentics version 4.8.0 (build id 201105051724) with gdb version 6.8 rev 506. > > The shared libraries are being built with debug info and with -Wl,-export-dynamic. The soname matches the library filename. If I force symbols to load with "sha" it works, but not automatically. > > Shared libraries are being uploaded without stripping debug information. Shared library paths are set (and verified with solib-search-path). I've also tried setting the env var LD_LIBRARY_PATH to the upload path and QNX_TARGET to /. There are no spaces in the path name. > > I'm seeing a libc mismatch, but from the debugger FAQ it seems this might be tricky to fix. > > I've attached gdb trace. Could you please tell me what I'm doing wrong? Thanks! > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86554 Elena Laskavaia 2011-06-10T17:19:36Z post86554: Re: how to load shared libraries symbols automatically Ming Liu http://community.qnx.com/sf/go/post86554 2011-06-10T16:10:10Z 2011-06-10T16:10:10Z Hi, I've been seeing this issue as well, where shared library symbols aren't loaded automatically after dlopen(). I've tried following the advice in this thread but I'm still seeing this issue. At the breakpoint in main(), I've been checking the gdb settings (solib-search-path, auto-solib-add, stop-on-solib-events), and the first two are correct (I then manually set stop-on-solib-events to 1, but it doesn't stop). I'm using Momentics version 4.8.0 (build id 201105051724) with gdb version 6.8 rev 506. The shared libraries are being built with debug info and with -Wl,-export-dynamic. The soname matches the library filename. If I force symbols to load with "sha" it works, but not automatically. Shared libraries are being uploaded without stripping debug information. Shared library paths are set (and verified with solib-search-path). I've also tried setting the env var LD_LIBRARY_PATH to the upload path and QNX_TARGET to /. There are no spaces in the path name. I'm seeing a libc mismatch, but from the debugger FAQ it seems this might be tricky to fix. I've attached gdb trace. Could you please tell me what I'm doing wrong? Thanks! Ming Liu 2011-06-10T16:10:10Z post86408: Re: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86408 2011-06-02T18:41:02Z 2011-06-02T18:41:02Z Thanks a lot. It works! Victor Chen 2011-06-02T18:41:02Z post86378: QNX post-installation problem Hieronim Fet http://community.qnx.com/sf/go/post86378 2011-06-02T10:46:03Z 2011-06-02T10:46:03Z Hello, I am new to QNX. I`ve installed the system, but I`m unable to run it. It doesn`t boot from hard disk(i have tried IDE and SATA) and neither from CD( i mean "live qnx"). Message I get every time i`m trying to run the system is: Press the space bar to input boot options or D to disable DMA... Trying SATA ahci. Scanning for devices... xpt_configure: ahci SIM attach failure Trying EIDE. Scanning for devices... ..found 2 devices Detected USB. Scanning for devices... Trying SATA mvSata. Scanning for devices... xpt_configure: No mvSata interfaces found Generating helpviewer search index Copied "/usr/photon/config/crtc-settings" to "/etc/system/config/crtc-settings" Starting extra run commands login: At this point system hangs, nothing is showing up when i am typing (I tried "root" then enter, nothing happened). I`d like to add one more information: during booting, the system enters to graphical mode (i can see mouse cursor on black background) for a while, then goes back to text mode to show the messages I`ve posted above. I will appreciate any clues. Hieronim Fet 2011-06-02T10:46:03Z post86353: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86353 2011-06-01T20:14:01Z 2011-06-01T20:14:01Z back it up and copy one from stage into that location? On 06/01/2011 04:09 PM, Victor Chen wrote: > > Thanks. I also noticed the warning there: > &"warning: Host file C:/QNX650/target/qnx6/armle-v7/usr/lib/ldqnx.so.2 does not match target\ > file /usr/lib/ldqnx.so.2\n" > > So Momentics by default is using libc from QNX install directory (C:/QNX650/target/qnx6/armle-v7/usr/lib/ldqnx.so.2)? And can we override it by libc from stage directory so that it matches the target system? > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86352 > Elena Laskavaia 2011-06-01T20:14:01Z post86352: Re: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86352 2011-06-01T20:09:12Z 2011-06-01T20:09:12Z Thanks. I also noticed the warning there: &"warning: Host file C:/QNX650/target/qnx6/armle-v7/usr/lib/ldqnx.so.2 does not match target\ file /usr/lib/ldqnx.so.2\n" So Momentics by default is using libc from QNX install directory (C:/QNX650/target/qnx6/armle-v7/usr/lib/ldqnx.so.2)? And can we override it by libc from stage directory so that it matches the target system? Victor Chen 2011-06-01T20:09:12Z post86351: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86351 2011-06-01T19:15:03Z 2011-06-01T19:15:03Z You libc does not match it will cause gdb not to stop on shared library events On 06/01/2011 02:21 PM, Victor Chen wrote: > > Please take a look the GDB traces. And here is the output of a manually loading symbols (I checked library search directory and auto-load flag and the settings are correct) and manually loading is ok: > > MsgNak received - resending > Remote target is little-endian > > show solib-search-path > The search path for loading non-absolute shared library symbol files is C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib\\dll;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib\\graphics\\omap4430. > > show auto-solib-add > Autoloading of shared library symbols is on. > > info sharedlibrary > From To Syms Read Shared Object Library > 0x78070000 0x78089608 No C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib/libscreen.so.1 > 0x01050000 0x010cc3b8 No C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib/libc.so.3 > > sharedlibrary > Reading symbols from C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib/libscreen.so.1...done. > Loaded symbols for C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib/libscreen.so.1 > Reading symbols from C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib/libc.so.3...done. > Loaded symbols for C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib/libc.so.3 > > > Thanks, > Victor > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86349 Elena Laskavaia 2011-06-01T19:15:03Z post86349: Re: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86349 2011-06-01T18:21:00Z 2011-06-01T18:21:00Z Please take a look the GDB traces. And here is the output of a manually loading symbols (I checked library search directory and auto-load flag and the settings are correct) and manually loading is ok: MsgNak received - resending Remote target is little-endian show solib-search-path The search path for loading non-absolute shared library symbol files is C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib\\dll;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib\\graphics\\omap4430. show auto-solib-add Autoloading of shared library symbols is on. info sharedlibrary From To Syms Read Shared Object Library 0x78070000 0x78089608 No C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib/libscreen.so.1 0x01050000 0x010cc3b8 No C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib/libc.so.3 sharedlibrary Reading symbols from C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib/libscreen.so.1...done. Loaded symbols for C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib/libscreen.so.1 Reading symbols from C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib/libc.so.3...done. Loaded symbols for C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib/libc.so.3 Thanks, Victor Victor Chen 2011-06-01T18:21:00Z post86348: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86348 2011-06-01T17:32:27Z 2011-06-01T17:32:27Z Sure send the trace... Checklist * Set shared libraries path in Debug tab in Launch configuration * Paths should not have spaces * Have checkboxes for stop on shared library events and load symbols automatically checked * Library SO version number and name must match exactly the one on the target On 06/01/2011 12:47 PM, Victor Chen wrote: > > I tested another simple application which uses a shared library and looks IDE also can't load symbol automatically. I'm using Momentics on windows XP. Do you want me send you GDB trace file? > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86346 > Elena Laskavaia 2011-06-01T17:32:27Z post86346: Re: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86346 2011-06-01T16:47:29Z 2011-06-01T16:47:29Z I tested another simple application which uses a shared library and looks IDE also can't load symbol automatically. I'm using Momentics on windows XP. Do you want me send you GDB trace file? Victor Chen 2011-06-01T16:47:29Z post86304: Re: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86304 2011-05-31T19:44:44Z 2011-05-31T19:44:44Z I tried Momentics IDE 4.8 but found it still can't load symbols automatically. Here I dumped settings of GDB: show solib-search-path The search path for loading non-absolute shared library symbol files is C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib\\graphics\\omap4430;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\usr\\lib;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib;C:\\p4_workplace\\qnx\\platformQnx\\stage\\armle-v7\\lib\\dll. show solib-absolute-prefix The current system root is "c:/p4_workplace/qnx/platformQnx/stage". show auto-solib-add Autoloading of shared library symbols is on. Victor Chen 2011-05-31T19:44:44Z post86301: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86301 2011-05-31T19:09:16Z 2011-05-31T19:09:16Z Btw there is neat feature called breakpoint actions, you can add actions to your breakpoints, for example to load shared library then resume On 05/31/2011 02:38 PM, Victor Chen wrote: > These two options have been always checked on my side before starting GDB window. > I'm using 4.7.0 without any applying any patch. Could you tell me how can I upgrade to 4.8? > > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86299 > Elena Laskavaia 2011-05-31T19:09:16Z post86300: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86300 2011-05-31T19:04:05Z 2011-05-31T19:04:05Z Is there spaces in path names by any chance? 4.8 (dev build) available here http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/DownloadIDE4.8 On 05/31/2011 02:38 PM, Victor Chen wrote: > These two options have been always checked on my side before starting GDB window. > I'm using 4.7.0 without any applying any patch. Could you tell me how can I upgrade to 4.8? > > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86299 > Elena Laskavaia 2011-05-31T19:04:05Z post86299: Re: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86299 2011-05-31T18:38:03Z 2011-05-31T18:38:03Z These two options have been always checked on my side before starting GDB window. I'm using 4.7.0 without any applying any patch. Could you tell me how can I upgrade to 4.8? Victor Chen 2011-05-31T18:38:03Z post86298: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86298 2011-05-31T18:15:22Z 2011-05-31T18:15:22Z If everything set up correct it should load them automatically, do you have a checkbox checked "Load shared libraries automatically" and "Stop on shared library events"? Btw what IDE are you using? New IDE 4.8 has integration with new debugging framework which may work better. On 05/31/2011 01:58 PM, Victor Chen wrote: > Yes, the shared library path is set correctly because I checked from GDB by "show solib-search-path". > My real trouble here is not to load symbols of shared libraries automatically at the beginnig of starting GDB, but to load it in the middle of the code. The code is using "dlopen()" to load a specified shared library and the shared library symbol is not loaded automatically there. Each time I have to set a break point there and do a manually loading so that I can step in the shared library code to debug. > Is there any way to make GDB debug system to load it automatically? > > Thanks again, > Victor > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86296 > Elena Laskavaia 2011-05-31T18:15:22Z post86296: Re: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86296 2011-05-31T17:58:40Z 2011-05-31T17:58:40Z Yes, the shared library path is set correctly because I checked from GDB by "show solib-search-path". My real trouble here is not to load symbols of shared libraries automatically at the beginnig of starting GDB, but to load it in the middle of the code. The code is using "dlopen()" to load a specified shared library and the shared library symbol is not loaded automatically there. Each time I have to set a break point there and do a manually loading so that I can step in the shared library code to debug. Is there any way to make GDB debug system to load it automatically? Thanks again, Victor Victor Chen 2011-05-31T17:58:40Z post86279: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86279 2011-05-31T00:20:10Z 2011-05-31T00:20:10Z Loading shared libraries from IDE using Modules view is buggy - it does not generate right command to gdb. But it should have loaded them automatically if you have everything set correctly. Did you set shared library path? On 30/05/2011 5:58 PM, Victor Chen wrote: > I tried to make sure the search directories of shared libraries and names are matching but these libraries symbols still can't be loaded by GDB debugger automatically. > One thing makes me feel confusing here is: if I run "sharedlibraries" on GDB command window, these libraries symbols will be loaded. But from "Modules" window they can't be loaded. > Also there is an error "mi_cmd_var_create: unable to create variable object" showed when GDB is started. > > Thanks, > Victor > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86277 > Elena Laskavaia 2011-05-31T00:20:10Z post86277: Re: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86277 2011-05-30T21:58:38Z 2011-05-30T21:58:38Z I tried to make sure the search directories of shared libraries and names are matching but these libraries symbols still can't be loaded by GDB debugger automatically. One thing makes me feel confusing here is: if I run "sharedlibraries" on GDB command window, these libraries symbols will be loaded. But from "Modules" window they can't be loaded. Also there is an error "mi_cmd_var_create: unable to create variable object" showed when GDB is started. Thanks, Victor Victor Chen 2011-05-30T21:58:38Z post86271: Re: how to load shared libraries symbols automatically Elena Laskavaia http://community.qnx.com/sf/go/post86271 2011-05-30T17:09:15Z 2011-05-30T17:09:15Z Check this http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/DebuggerFAQ On 05/30/2011 12:15 PM, Victor Chen wrote: > I'm having problem to load shared libraries symbols automatically on Momentics (4.7.0). The application that I'm debugging depends on several shared libraries and the "Debug Configurations" is set to "Load shared library symbols automatically". > However, each time when the GDB hit the entry point (main), I check loaded symbols by "info sharedlibrary" and it shows all the symbols are not loaded. And if run the command "sharedlibrary" all symbols will be loaded manually. I also checked "auto-solib-add", and it's set to autoloading on mode. Others such as "solib-search-ath" are also corerct. > Anybody can help me to figure out what's wrong here? > > Thanks in advance, > Victor Chen > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post86269 > Elena Laskavaia 2011-05-30T17:09:15Z post86269: how to load shared libraries symbols automatically Victor Chen http://community.qnx.com/sf/go/post86269 2011-05-30T16:15:52Z 2011-05-30T16:15:52Z I'm having problem to load shared libraries symbols automatically on Momentics (4.7.0). The application that I'm debugging depends on several shared libraries and the "Debug Configurations" is set to "Load shared library symbols automatically". However, each time when the GDB hit the entry point (main), I check loaded symbols by "info sharedlibrary" and it shows all the symbols are not loaded. And if run the command "sharedlibrary" all symbols will be loaded manually. I also checked "auto-solib-add", and it's set to autoloading on mode. Others such as "solib-search-ath" are also corerct. Anybody can help me to figure out what's wrong here? Thanks in advance, Victor Chen Victor Chen 2011-05-30T16:15:52Z post86257: Re: Runing QNX in VirtualBox Thomas O'Dell http://community.qnx.com/sf/go/post86257 2011-05-30T13:57:02Z 2011-05-30T13:57:02Z Update on running QNX in VirtualBox: I'm using VirtualBox Version 4.0.8 r71778 on my MacBook Pro running OS X Snow Leopard 10.6.7 I had some problem running the qnxsdp-6.5.0-x86-201007091524-nto-apic.iso out of the box -- I got a fatal system error as soon as QNX finishes booting. However, I changed the Chipset settings (in Settings --> System --> Motherboard) to ICH9, everything runs OK, although it's not particularly fast. I hope this helps someone. Thomas O'Dell Thomas O'Dell 2011-05-30T13:57:02Z post86138: Re: #include paths Mark Levy http://community.qnx.com/sf/go/post86138 2011-05-25T17:26:57Z 2011-05-25T17:26:57Z I beilieve I have seen that adding "extra include paths" does not affect the #include<> form. Anybod care to comment on that? Mark Levy 2011-05-25T17:26:57Z post86095: #include paths Mark Levy http://community.qnx.com/sf/go/post86095 2011-05-24T19:17:30Z 2011-05-24T19:17:30Z I am having a problem where header files are be included from too many different directories. What are the default paths for #include "" and #include <>? Mark Levy 2011-05-24T19:17:30Z post86023: log2 Mark Levy http://community.qnx.com/sf/go/post86023 2011-05-20T20:15:00Z 2011-05-20T20:15:00Z I am getting a compile error: error: there are no arguments to 'log2' that depend on a template parameter, so a declaration of 'log2' must be available Can anyone tell me what this means and how to fix it? As I look at the header files, it seems to come down to identifying the system in platform.h. I am new to QNX and I don't know how to properly define the right symbols. Mark Levy 2011-05-20T20:15:00Z post85881: RE: Momentics 4.7 on Suse 11.4 problems Elena Laskavaia http://community.qnx.com/sf/go/post85881 2011-05-18T22:48:21Z 2011-05-18T22:48:21Z You cannot. Linux sdk does not include photon app builder. -----Original Message----- From: Zoltan Molnar [mailto:community-noreply@qnx.com] Sent: Wednesday, May 18, 2011 6:42 PM To: momenticsgs-community Subject: Momentics 4.7 on Suse 11.4 problems Hi everybody, I have done a fresh install of Suse 11.4 and Momentics 4.7. Installation went well, I could import my test application (previously developed on a Windows host). License is activated. When I try to compile, gives an error at #include <ph.h> line. On the Windows this compiles fine. *How can I make sure that the environment settings are correct for the IDE? Also on Windows Photon AppBuilder starts correctly while on the Suse host gives a 'Timeout waiting for Application Builder' error. Please advise what can I do to get compilation and Photon AppBuilder working, I would really like to develop from a Linux environment. Thank You _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post85880 Elena Laskavaia 2011-05-18T22:48:21Z post85880: Momentics 4.7 on Suse 11.4 problems Zoltan Molnar http://community.qnx.com/sf/go/post85880 2011-05-18T22:42:28Z 2011-05-18T22:42:28Z Hi everybody, I have done a fresh install of Suse 11.4 and Momentics 4.7. Installation went well, I could import my test application (previously developed on a Windows host). License is activated. When I try to compile, gives an error at #include <ph.h> line. On the Windows this compiles fine. *How can I make sure that the environment settings are correct for the IDE? Also on Windows Photon AppBuilder starts correctly while on the Suse host gives a 'Timeout waiting for Application Builder' error. Please advise what can I do to get compilation and Photon AppBuilder working, I would really like to develop from a Linux environment. Thank You Zoltan Molnar 2011-05-18T22:42:28Z post85676: Trying to load vendor-supplied code. Mark Levy http://community.qnx.com/sf/go/post85676 2011-05-13T17:56:30Z 2011-05-13T17:56:30Z I am pretty new to Momentics, although I have successfully completed one programming assignment. This project was already set up for me, but I am now in the position where I have to take a software set that another vendor sent us and put it into the IDE. Whatever I have tried to do so far has failed to build with all sorts of errors that appear to be failure to find certain components or include directories. I do have some projects that have been properly installed and can compile, so I know that a lot of the infrastructure is on my PC someplace. I am getting an error: "Error launching external scanner info generator" for which I saw a posting elsewhere in the forum, but I know that gcc is already loaded. Any clues? Is there any information that I can add to help resolve this? Thanks in advance. Mark Levy 2011-05-13T17:56:30Z post85343: Re: Can't Uninstall Les Thaler http://community.qnx.com/sf/go/post85343 2011-05-02T22:12:04Z 2011-05-02T22:12:04Z What was the fix? I'm having the same problem... Les Thaler 2011-05-02T22:12:04Z post84960: Re: Spelling dictionary in Momentics needed Tamara Fehlberg http://community.qnx.com/sf/go/post84960 2011-04-14T00:26:17Z 2011-04-14T00:26:17Z Thank you, adding that line to the preferences worked. > Though I didn't have the line to replace (step 5), adding the correction brought up the spelling preferences. by which of course I meant Step 4 ;) Tamara Fehlberg 2011-04-14T00:26:17Z post84959: Re: Spelling dictionary in Momentics needed Tamara Fehlberg http://community.qnx.com/sf/go/post84959 2011-04-14T00:22:19Z 2011-04-14T00:22:19Z Thank you, adding that line to the preferences worked. Though I didn't have the line to replace (step 5), adding the correction brought up the spelling preferences. Tamara Fehlberg 2011-04-14T00:22:19Z post84943: Re: Spelling dictionary in Momentics needed Elena Laskavaia http://community.qnx.com/sf/go/post84943 2011-04-13T15:32:55Z 2011-04-13T15:32:55Z from other forum postings ----- "The CDT version of Ganymede apparently shipped improperly configured. After playing around for a while, I have come up with the following steps that fix the problem. 1. Export your Eclipse preferences (File > Export > General > Preferences). 2. Open the exported file in a text editor. 3. Find the line that says /instance/org.eclipse.ui.editors/spellingEngine=org.eclipse.jdt.internal.ui.text.spelling.DefaultSpellingEngine 4. Change it to /instance/org.eclipse.ui.editors/spellingEngine=org.eclipse.cdt.internal.ui.text.spelling.CSpellingEngine 5. Save the preferences file. 6. Import the preferences back into Eclipse (File > Import > General > Preferences). You should now be able to access the Spelling configuration page as seen above." On 04/12/2011 08:42 PM, Tamara Fehlberg wrote: >> That should have dictionary. Did you select C/C++ Spelling Engine in the >> Spelling preference page? >> > > > There are no options on the spelling preferences page other than 'enable spell checking'. (see attachment). > > The spell checking works in the editor, so presumably it is finding some sort of system dictionary, but I cannot add words. > > > > > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post84917 Elena Laskavaia 2011-04-13T15:32:55Z post84917: Re: Spelling dictionary in Momentics needed Tamara Fehlberg http://community.qnx.com/sf/go/post84917 2011-04-13T00:42:04Z 2011-04-13T00:42:04Z > That should have dictionary. Did you select C/C++ Spelling Engine in the > Spelling preference page? > There are no options on the spelling preferences page other than 'enable spell checking'. (see attachment). The spell checking works in the editor, so presumably it is finding some sort of system dictionary, but I cannot add words. Tamara Fehlberg 2011-04-13T00:42:04Z post84899: Re: Spelling dictionary in Momentics needed Elena Laskavaia http://community.qnx.com/sf/go/post84899 2011-04-12T13:54:04Z 2011-04-12T13:54:04Z That should have dictionary. Did you select C/C++ Spelling Engine in the Spelling preference page? On 04/11/2011 11:35 PM, Tamara Fehlberg wrote: > The default install of Momentics I am using (4.7.0) has spell checking, but no dictionary installed. > > Where can I get a dictionary, and where does it need to be installed, so that words can be added to the spell checker? > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post84885 > Elena Laskavaia 2011-04-12T13:54:04Z post84885: Spelling dictionary in Momentics needed Tamara Fehlberg http://community.qnx.com/sf/go/post84885 2011-04-12T03:35:52Z 2011-04-12T03:35:52Z The default install of Momentics I am using (4.7.0) has spell checking, but no dictionary installed. Where can I get a dictionary, and where does it need to be installed, so that words can be added to the spell checker? Tamara Fehlberg 2011-04-12T03:35:52Z post84884: Line wrapping class constructor initialization list in Momentics Tamara Fehlberg http://community.qnx.com/sf/go/post84884 2011-04-12T03:33:51Z 2011-04-12T03:33:51Z Is there anyway to get Momentics to put each parameter in the initialization list of a class constructor on a different line? The Preferences->Code Style->Edit->Line Wrapping has an option for "initialization list" but it doesn't work for classes. I am after line wrapping for three or more variables, eg: Class:Class(param1, param2) : member_1, member_2, member_3 { }; Tamara Fehlberg 2011-04-12T03:33:51Z post84378: Reading and Writing to files on Target Machine Nick Hayes http://community.qnx.com/sf/go/post84378 2011-03-29T16:18:04Z 2011-03-29T16:18:04Z I was wondering if anyone could share a link or would be generous enough to post how to read data like integers from a text file on the target machine and how to write data to a text file on the target machine with C++ code. I am familiar with the C++ language but new to QNX. I am getting familiar with the IDE and have successfully written some code that executes basic cin, cout, and math functions, but I have had no luck with reading data from or writing data to text files. Any help would be appreciated. Thank you. Nick Hayes 2011-03-29T16:18:04Z post84140: real time data acquisition from usb arun kumar http://community.qnx.com/sf/go/post84140 2011-03-21T18:24:02Z 2011-03-21T18:24:02Z I want to read data from usb port i want to make it as a real time task. since i am new to qnx is this is feasible.If so where should i start with to make the code. Any help or sample code will be highly helpful. thanks and regards arun kumar 2011-03-21T18:24:02Z post84070: Student Version for QNX Momentics 6.4.1 Simon Berger http://community.qnx.com/sf/go/post84070 2011-03-17T15:36:40Z 2011-03-17T15:36:40Z Hello all together, on the pages on QNX I found a 30 day eval version for QNX 6.5. I need an eval version for 6.4.1. Does anyone know if there esists one?? Greetings Simon Berger 2011-03-17T15:36:40Z post83961: Re: Patch 1064 Evgeny Lvov http://community.qnx.com/sf/go/post83961 2011-03-14T07:55:45Z 2011-03-14T07:55:45Z Forgot. It is for QNX 6.3.2 Evgeny Lvov 2011-03-14T07:55:45Z post83960: Patch 1064 Evgeny Lvov http://community.qnx.com/sf/go/post83960 2011-03-14T07:53:22Z 2011-03-14T07:53:22Z Hello. Where I can download Patch 1064 ? This patch include drivers for 965GM, Q35, G33 video chipsets. Evgeny Lvov 2011-03-14T07:53:22Z post83958: Re: Seeking Information - QNX Process Control Block Andrew Bendall http://community.qnx.com/sf/go/post83958 2011-03-14T02:26:25Z 2011-03-14T02:26:25Z If at all possible could you please direct us towards the information on the Process Control Block. If it is embedded in the previously posted PDF could you please give a page range for the information. Any help is appreciated Thank you. Andrew Bendall 2011-03-14T02:26:25Z post83957: Re: Seeking Information - QNX Process Control Block Peter Weber http://community.qnx.com/sf/go/post83957 2011-03-13T20:03:07Z 2011-03-13T20:03:07Z http://www.qnx.com/developers/docs/6.5.0/index.jsp Peter Weber 2011-03-13T20:03:07Z post83956: Seeking Information - QNX Process Control Block Aaron White http://community.qnx.com/sf/go/post83956 2011-03-13T18:59:53Z 2011-03-13T18:59:53Z Greetings! I'm currently enrolled in a class about real time operating systems. We were recently assigned a project to research the QNX Process Control Block, however i'm unsure of where to begin looking for information. Could someone point me in the right direction on where to begin looking? Aaron Aaron White 2011-03-13T18:59:53Z post83918: Re: Reading from a file and outputting to a file Aleksandar Ristovski http://community.qnx.com/sf/go/post83918 2011-03-11T06:09:10Z 2011-03-11T06:09:10Z On Thu, 2011-03-10 at 16:16 -0500, Nick Hayes wrote: > We are trying to do our coding in C++. > > Here is the sample code: > > #include <cstdlib> > #include <iostream> > #include <math.h> > #include <fstream> > #include <istream> > #include <ostream> > using namespace std; > > int main(int argc, char *argv[]) { > std::cout << "Welcome to the QNX Momentics IDE" << std::endl; > string num; > cout<<"hello world"<<endl; > ifstream input; > ofstream output; > input.open("numbers.txt"); are you sure input.open succeeded? Aleksandar Ristovski 2011-03-11T06:09:10Z post83913: Re: Reading from a file and outputting to a file Nick Hayes http://community.qnx.com/sf/go/post83913 2011-03-10T21:16:29Z 2011-03-10T21:16:29Z We are trying to do our coding in C++. Here is the sample code: #include <cstdlib> #include <iostream> #include <math.h> #include <fstream> #include <istream> #include <ostream> using namespace std; int main(int argc, char *argv[]) { std::cout << "Welcome to the QNX Momentics IDE" << std::endl; string num; cout<<"hello world"<<endl; ifstream input; ofstream output; input.open("numbers.txt"); output.open("success.txt"); int z; for(int i=0;i<6;i++){ input>>z; cout<<z<<endl; } double one, two, ans; one = 10.0; two = 20.35; ans = one*two; cout<<ans<<" x"<<endl; output<<ans<<" victory"<<endl; double degree; degree=cos(3.1459/4); cout<<degree<<endl; ans = pow(one,two); cout<<ans<<" pow"<<endl; ans = sqrt(one); cout<<ans<<" sqrt"<<endl; output.close(); return EXIT_SUCCESS; } And our file numbers.txt looks like: 1 2 5 7 8 9 And here is the console output: Welcome to the QNX Momentics IDE hello world 134612012 134612012 134612012 134612012 134612012 134612012 203.5 x 0.706345 2.23872e+20 pow 3.16228 sqrt Nick Hayes 2011-03-10T21:16:29Z post83908: Re: Reading from a file and outputting to a file Elena Laskavaia http://community.qnx.com/sf/go/post83908 2011-03-10T20:30:42Z 2011-03-10T20:30:42Z ANSI C stuff would work. Can you post an example? On 03/10/2011 11:59 AM, Nick Hayes wrote: > I'm trying to read data like integers from a simple text file and output to a file, but am having no success. I am used to reading from a file using fstream commands, but these are not working. What header files do I need to include and is there any other specific commands that I need to use to read from a file and to output to a file? > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post83903 > Elena Laskavaia 2011-03-10T20:30:42Z post83906: QNX Typically Hardware Specification Dmitry Ivanov http://community.qnx.com/sf/go/post83906 2011-03-10T18:06:01Z 2011-03-10T18:06:01Z Hello. Where can i find list of typical hardware specificaiton for QNX 6.3.2 ? I looked http://www.qnx.com/developers/hardware_support/ But there is no motherboard chipset list, model of processors and etc. that can be found in shops. What typical hardware support QNX 6.3.2 ? My question connected with that situation. I try to install QNX on intel i5-661 + gigabyte GA-H55M-S2, but network (Realtek 8168) did't work with devnp-rtl8169.so and QNX logon screen hung after downtime. What hardware i need to buy that QNX 6.3.2 work properly ? Dmitry Ivanov 2011-03-10T18:06:01Z post83903: Reading from a file and outputting to a file Nick Hayes http://community.qnx.com/sf/go/post83903 2011-03-10T16:59:43Z 2011-03-10T16:59:43Z I'm trying to read data like integers from a simple text file and output to a file, but am having no success. I am used to reading from a file using fstream commands, but these are not working. What header files do I need to include and is there any other specific commands that I need to use to read from a file and to output to a file? Nick Hayes 2011-03-10T16:59:43Z post83830: Re: RE: RE: RE: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post83830 2011-03-08T17:48:04Z 2011-03-08T17:48:04Z Thanks you for the quick fix! Our math functions now work perfectly. We are now having trouble with reading data from a text file and outputting data to a text file. Here is the sample code: #include <cstdlib> #include <iostream> #include <math.h> #include <fstream> #include <istream> #include <ostream> using namespace std; int main(int argc, char *argv[]) { std::cout << "Welcome to the QNX Momentics IDE" << std::endl; string num; cout<<"hello world"<<endl; ifstream input; ofstream output; input.open("numbers.txt"); output.open("success.txt"); int z; for(int i=0;i<6;i++){ input>>z; cout<<z<<endl; } double one, two, ans; one = 10.0; two = 20.35; ans = one*two; cout<<ans<<" x"<<endl; output<<ans<<" victory"<<endl; double degree; degree=cos(3.1459/4); cout<<degree<<endl; ans = pow(one,two); cout<<ans<<" pow"<<endl; ans = sqrt(one); cout<<ans<<" sqrt"<<endl; output.close(); return EXIT_SUCCESS; } And our file numbers.txt looks like: 1 2 5 7 8 9 And here is the console output: Welcome to the QNX Momentics IDE hello world 134612012 134612012 134612012 134612012 134612012 134612012 203.5 x 0.706345 2.23872e+20 pow 3.16228 sqrt Our files numbers.txt and success.txt are located in the x86 folder in our project folder. Also when the code is built, the debugged, and then run there are no changes made to the success.txt file which is an empty text file that we created. What are we doing wrong? Nick Hayes 2011-03-08T17:48:04Z post83801: RE: RE: RE: Momentics IDE 4.7 build error in hello world tutorial Steve Reid http://community.qnx.com/sf/go/post83801 2011-03-07T22:45:16Z 2011-03-07T22:45:16Z No, that simply includes the header file that contains the function declarations. You need to link your application against the math library; the Quickstart Guide tells you how to do that: http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.momentics_qui ckstart/about.html#Compiling Steve Reid (stever@qnx.com) Technical Editor QNX Software Systems > -----Original Message----- > From: Nick Hayes [mailto:community-noreply@qnx.com] > Sent: Monday, March 07, 2011 5:37 PM > To: momenticsgs-community > Subject: Re: RE: RE: Momentics IDE 4.7 build error in hello world > tutorial > > Our errors occured when we built the program, so it could not run. And > I would really appreciate it if I could get a sample program or code > that would run in C++ in the QNX Momentics that uses math functions > like sin, cos, pow, and sqrt. > > our code has the header files included as: > > #include <math.h> > > does this not include the library so that we can use the math functions > listed above? > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post83800 Steve Reid 2011-03-07T22:45:16Z post83800: Re: RE: RE: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post83800 2011-03-07T22:37:26Z 2011-03-07T22:37:26Z Our errors occured when we built the program, so it could not run. And I would really appreciate it if I could get a sample program or code that would run in C++ in the QNX Momentics that uses math functions like sin, cos, pow, and sqrt. our code has the header files included as: #include <math.h> does this not include the library so that we can use the math functions listed above? Nick Hayes 2011-03-07T22:37:26Z post83765: Installation issue Sophie Zhu http://community.qnx.com/sf/go/post83765 2011-03-05T07:38:28Z 2011-03-05T07:38:28Z I'm new to QNX. I tried to install QNX Neutrino on PC using Full Installation DVD download from QNX website. I did not partition my C drive. Instead C:\ has window 7 installed - HDS721016CLA -160G E:\ is empty - ST3250218AS - 250G Plan to install QNX OS here. When I boot from DVD and start OS installation. The following message comes up. Press the space bar to input boot options or D to disable DMA... Trying SATA ahci. Scanning for devices... xpt_configure: ahci SIM attach failure Trying EIDE. Scanning for devices... xpt_configure: Noeide interface found Detected USB. Scanning for devices... Trying SATA mvSata. Scanning for devices... xpt_configure: No mvSata interfaces found No QNX6.1 or greater file system available to mount. Installation abort. I'm wondering what I can do to solve this issue. Thanks, Sophie Zhu Sophie Zhu 2011-03-05T07:38:28Z post83726: RE: RE: Momentics IDE 4.7 build error in hello world tutorial Mario Charest http://community.qnx.com/sf/go/post83726 2011-03-03T17:13:02Z 2011-03-03T17:13:02Z > -----Message d'origine----- > De : Nick Hayes [mailto:community-noreply@qnx.com] > Envoyé : 3 mars 2011 11:55 > À : momenticsgs-community > Objet : Re: RE: Momentics IDE 4.7 build error in hello world tutorial > > Hi again, > > We have QNX Momentics running now, and we have been trying some > simple C++ code on it. We have been having some problems with getting > math functions to work like pow, sqrt, sin, cos etc. We are also having some > problems with reading in from a file and outputting to a file. We have > included the <math.h> and <fstream> libraries, These are not libraries, they are header files. For the math functions you need to add the math library. This is explain in the documentation of each of tese functions. but when we ran the > following code: > > double ans; > double x=3.1459; > ans=cos(x); > cout<<ans<<endl; > > error messages appear that state there is a problem of "undefined reference > to '_Sin' " and lists its location at line 587 in the math.h library. The error should come up went it's linking it not when you are running the application. > > Similarly, when the following code is run: > > double ans; > ans=pow(3,5) > > an error message states there is a problem of "undefined reference to 'pow' > " and lists its location at the line in our code. > > The syntax we are familiar with using is not working correctly. If anyone could > offer some sample code that runs in QNX Momentics that has sin, cos, pow, > sqrt, and/or is able to read numbers from a text file and output numbers or > text to a text file, that would be very helpful. As for reading files, you provide no descriptions of your problem. > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post83725 > Mario Charest 2011-03-03T17:13:02Z post83725: Re: RE: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post83725 2011-03-03T16:54:51Z 2011-03-03T16:54:51Z Hi again, We have QNX Momentics running now, and we have been trying some simple C++ code on it. We have been having some problems with getting math functions to work like pow, sqrt, sin, cos etc. We are also having some problems with reading in from a file and outputting to a file. We have included the <math.h> and <fstream> libraries, but when we ran the following code: double ans; double x=3.1459; ans=cos(x); cout<<ans<<endl; error messages appear that state there is a problem of "undefined reference to '_Sin' " and lists its location at line 587 in the math.h library. Similarly, when the following code is run: double ans; ans=pow(3,5) an error message states there is a problem of "undefined reference to 'pow' " and lists its location at the line in our code. The syntax we are familiar with using is not working correctly. If anyone could offer some sample code that runs in QNX Momentics that has sin, cos, pow, sqrt, and/or is able to read numbers from a text file and output numbers or text to a text file, that would be very helpful. Nick Hayes 2011-03-03T16:54:51Z post82757: Re: installation problem -> null\Fonts Jerry Cruz http://community.qnx.com/sf/go/post82757 2011-01-30T07:40:32Z 2011-01-30T07:40:32Z I was able to get around it :) Please disregard this post thanks Jerry Jerry Cruz 2011-01-30T07:40:32Z post82756: installation problem -> null\Fonts Jerry Cruz http://community.qnx.com/sf/go/post82756 2011-01-30T06:02:25Z 2011-01-30T06:02:25Z Hi, I need help on installing QNX SDP v6.5. When I install it I get this and I dont know why: ------------ NOTE: null\Fonts directory is not writable by the current user. This directory will need to be accessed during installation of this product. Please set directory permissions accordingly. ------------- I have attached the installOptionalLog.txt thanks for any help ! Jerry Jerry Cruz 2011-01-30T06:02:25Z post82699: Re: Momentics IDE 4.7 build error in hello world tutorial Steve Reid http://community.qnx.com/sf/go/post82699 2011-01-27T19:39:25Z 2011-01-27T19:39:25Z Here's a link to the latest version of the Quickstart Guide that Elena referred to: http://www.qnx.com/download/feature.html?programid=20982 Steve Reid (stever@qnx.com) Technical Editor QNX Software Systems Steve Reid 2011-01-27T19:39:25Z post82696: Re: Momentics IDE 4.7 build error in hello world tutorial Elena Laskavaia http://community.qnx.com/sf/go/post82696 2011-01-27T18:42:53Z 2011-01-27T18:42:53Z Please read getting started guide. For vmware you can specify NAT networking which would create a virtual network between host of virtual device. On 27/01/11 01:25 PM, Nick Hayes wrote: > We are back to working on the project, and we have now installed Windows Virtual PC 2007 on to the computer. We have also uploaded QNX Neutrino onto the operating system. How do I get the QNX Neutrino on the virtual machine to talk to the computer and more specifically to the QNX Momentics? Also we have no internet connection to the computer we are working on. It is not even on a network. > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post82695 > Elena Laskavaia 2011-01-27T18:42:53Z post82695: Re: RE: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post82695 2011-01-27T18:25:52Z 2011-01-27T18:25:52Z We are back to working on the project, and we have now installed Windows Virtual PC 2007 on to the computer. We have also uploaded QNX Neutrino onto the operating system. How do I get the QNX Neutrino on the virtual machine to talk to the computer and more specifically to the QNX Momentics? Also we have no internet connection to the computer we are working on. It is not even on a network. Nick Hayes 2011-01-27T18:25:52Z post78487: Re: RE: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post78487 2010-12-13T19:13:08Z 2010-12-13T19:13:08Z Thanks everybody, I am a student at the University of Alabama and we are now on our holiday break so I will not be able to work on the project again until January. When I do I will update this forum with what is going on. Thanks again everybody, Nick Nick Hayes 2010-12-13T19:13:08Z post78236: RE: Momentics IDE 4.7 build error in hello world tutorial Andy Jin http://community.qnx.com/sf/go/post78236 2010-12-10T02:08:45Z 2010-12-10T02:08:45Z Hi, Nick, Back to your debug problem - you need to make sure the following setups are true in order to debug your program: 1) Besides the IDE 4.7, you need to have the full QNX Development Platform (SDP) installed in your Windows machine. You mentioned you could build your program using Momentics IDE so I assumed you have the SDP installed but just to confirm. 2) You need to ensure your program is built targeting QNX Neutrino not your host OS (Windows). If your project is a "QNX C Project" you already have this set. If your project is a plain "C Project" in your project build settings you need to select the QNX/QCC toolchain. 3) You need to have a separate machine or VM running QNX Neutrino. You need to run the same version of the SDP which is installed in your Windows - this is to make sure you have matching binaries (e.g. libc) between host and target for your debug to success. 4) In you debug launch configuration, you need to select "C/C++ QNX QConn (IP)" debug type. Especially important you can not select the first entry "C/C++ Application" because it will try to run your program on your Windows host and that is going to fail. Based on the error you got ('Launching HelloWorld Debug' has encountered a problem. Error starting process.) I suspect you accidentally selected the first entry. 5) In the Debugger tab you need to select "QNX GDB Debugger" and leave the default "gdb" in the debugger command field. IDE debug launch will find the correct gdb to run based on your target CPU settings. Also the "GDB command set" filed has to be Standard Neutrino not Standard Linux or any others. 6) Leave other tabs and fields in their default settings to get your started. HTH, please try again. It's not that difficult to build and debug a sample Hello World program. Thanks, Andy -----Original Message----- From: Nick Hayes [mailto:community-noreply@qnx.com] Sent: Thu 09/12/2010 5:07 PM To: momenticsgs-community Subject: Re: Momentics IDE 4.7 build error in hello world tutorial We want it to debugg in Windows right now. Our project is to have a plane fly some simple patterns autonomously. Right now we just want to be able to write our code in Momentics and make sure it runs and compiles correctly. We plan to buy a PC104 computer soon and install the QNX RTOS on it to run the code for the plane. So I'm just asking for some help with getting the code to run and compile in Windows for now. _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post78207 Andy Jin 2010-12-10T02:08:45Z post78207: Re: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post78207 2010-12-09T22:07:16Z 2010-12-09T22:07:16Z We want it to debugg in Windows right now. Our project is to have a plane fly some simple patterns autonomously. Right now we just want to be able to write our code in Momentics and make sure it runs and compiles correctly. We plan to buy a PC104 computer soon and install the QNX RTOS on it to run the code for the plane. So I'm just asking for some help with getting the code to run and compile in Windows for now. Nick Hayes 2010-12-09T22:07:16Z post77483: Re: RE: Remote photon vs Phindows? Saul A http://community.qnx.com/sf/go/post77483 2010-12-06T19:22:30Z 2010-12-06T19:22:30Z Thanks / S. Saul A 2010-12-06T19:22:30Z post77482: Re: Momentics IDE 4.7 build error in hello world tutorial Elena Laskavaia http://community.qnx.com/sf/go/post77482 2010-12-06T19:16:03Z 2010-12-06T19:16:03Z What are you trying to debug? You don't need mingw debugger unless you want to debug on windows. Momentics is for debugging on QNX. What project is that? What launch configuration are you using? On 06/12/10 02:11 PM, Nick Hayes wrote: > I have gotten the program to build, and the environment is empty. But now when I go to run the program in Step 3:Running the application substep 4. The run button is not able to be clicked because there is a red X by the Debugger tab. I have gone through all the available Debuggers in the drop down bar and all of them give me the same error message of: > > 'Launching HelloWorld Debug' has encountered a problem. > > Error starting process. > > and in the details tab it says: > > Error starting process. > Cannot run program "E:\helloworld\HelloWorld\Debug\HelloWorld": Launching failed > > > I think the problem has something to do with the toolchain/debugger. What do I need to do to get that setup properly in Windows? > > I have download MSYS, mingw and the gdb file as it says in the before you get started help file. Do I need to connect these to the QNX Momentics IDE 4.7 somehow? > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post77481 > Elena Laskavaia 2010-12-06T19:16:03Z post77481: Re: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post77481 2010-12-06T19:11:19Z 2010-12-06T19:11:19Z I have gotten the program to build, and the environment is empty. But now when I go to run the program in Step 3:Running the application substep 4. The run button is not able to be clicked because there is a red X by the Debugger tab. I have gone through all the available Debuggers in the drop down bar and all of them give me the same error message of: 'Launching HelloWorld Debug' has encountered a problem. Error starting process. and in the details tab it says: Error starting process. Cannot run program "E:\helloworld\HelloWorld\Debug\HelloWorld": Launching failed I think the problem has something to do with the toolchain/debugger. What do I need to do to get that setup properly in Windows? I have download MSYS, mingw and the gdb file as it says in the before you get started help file. Do I need to connect these to the QNX Momentics IDE 4.7 somehow? Nick Hayes 2010-12-06T19:11:19Z post77459: RE: Remote photon vs Phindows? Max Feil http://community.qnx.com/sf/go/post77459 2010-12-06T17:09:42Z 2010-12-06T17:09:42Z The "Launch remote photon" is trying to start a new photon session on your target. Perhaps when you run Phindows yourself you are connecting to an existing photon session? (In the command line options this is -n) There are quite a few more binaries and scripts required on a target to remotely launch a new photon session, whereas connecting to an existing one is more straightforward. -----Original Message----- From: Saul A [mailto:community-noreply@qnx.com] Sent: Monday, December 06, 2010 11:45 AM To: momenticsgs-community Subject: Remote photon vs Phindows? When I run the "Phindows" shortcut installed with the IDE 4.6, it successfully connects to my target. But right click- Launch remote photon on the target in the IDE won't connect. It opens a white terminal window with some commands, hangs a while and says "Phindows - Error-unable to start photon on host". Does it run a different Phindows? or what can be wrong with it? /S. _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post77450 Max Feil 2010-12-06T17:09:42Z post77450: Remote photon vs Phindows? Saul A http://community.qnx.com/sf/go/post77450 2010-12-06T16:44:57Z 2010-12-06T16:44:57Z When I run the "Phindows" shortcut installed with the IDE 4.6, it successfully connects to my target. But right click- Launch remote photon on the target in the IDE won't connect. It opens a white terminal window with some commands, hangs a while and says "Phindows - Error-unable to start photon on host". Does it run a different Phindows? or what can be wrong with it? /S. Saul A 2010-12-06T16:44:57Z post77423: Re: Momentics IDE 4.7 build error in hello world tutorial Saul A http://community.qnx.com/sf/go/post77423 2010-12-06T15:25:00Z 2010-12-06T15:25:00Z This may be because of garbage in environment. OP: can you check your environment (output of set command in windows ) for suspicious variables like CFLAGS, CCFLAGS, MAKEFLAGS and so on. /S. Saul A 2010-12-06T15:25:00Z post77382: Re: Momentics IDE 4.7 build error in hello world tutorial Elena Laskavaia http://community.qnx.com/sf/go/post77382 2010-12-06T04:04:40Z 2010-12-06T04:04:40Z Sorry I did not read the whole thread. What is the full console output? Elena Laskavaia 2010-12-06T04:04:40Z post77381: Re: Momentics IDE 4.7 build error in hello world tutorial Elena Laskavaia http://community.qnx.com/sf/go/post77381 2010-12-06T04:02:50Z 2010-12-06T04:02:50Z And? What is the question? What is the error? On 03/12/2010 7:27 PM, Nick Hayes wrote: > I am using the Tutorial: Creating a simple application located C/C++ Development User Guide> Getting Started> Tutorial: Creating a simple application > > The build error happens in Step 2: Reviewing the code and building the project at sub step 3. > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post77216 > Elena Laskavaia 2010-12-06T04:02:50Z post77216: Re: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post77216 2010-12-04T00:27:34Z 2010-12-04T00:27:34Z I am using the Tutorial: Creating a simple application located C/C++ Development User Guide > Getting Started> Tutorial: Creating a simple application The build error happens in Step 2: Reviewing the code and building the project at sub step 3. Nick Hayes 2010-12-04T00:27:34Z post76782: System time is running very fast Nickolay Orekhov http://community.qnx.com/sf/go/post76782 2010-12-02T10:42:24Z 2010-12-02T10:42:24Z I'm using QNX 6.4.1 on ARM board. qconn shows 100% cpu usage. When I use "date" command I see that time running about 4-10 seconds per real second and isn't regular. When I slay some applications and cpu usage lowers I see that time become normal again. How it can be and how system manages CLOCK_REALTIME ? Nickolay Orekhov 2010-12-02T10:42:24Z post76427: Re: Momentics IDE 4.7 build error in hello world tutorial Elena Laskavaia http://community.qnx.com/sf/go/post76427 2010-11-30T14:42:46Z 2010-11-30T14:42:46Z What kind of tutorial are you using? If you create QNX C Project it should just work. If you writing your own makefile you need to know what options to pass, I don't know what you are passing now. On 29/11/10 08:27 PM, Nick Hayes wrote: > I am running the Momentics IDE 4.7 tool suite on Windows XP, and I am getting an error when building the hello world tutorial C++ program. > > The error says > > cc:Can't specify -P, -C, -E, -c or -S with -o and have multiple files > Build error occurred, build is stopped > > I have no experience with QNX and just want a sample program to run to get a start with QNX and eventually be able to write C++ programs. > > What should I do? > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post76378 > Elena Laskavaia 2010-11-30T14:42:46Z post76378: Momentics IDE 4.7 build error in hello world tutorial Nick Hayes http://community.qnx.com/sf/go/post76378 2010-11-30T01:27:38Z 2010-11-30T01:27:38Z I am running the Momentics IDE 4.7 tool suite on Windows XP, and I am getting an error when building the hello world tutorial C++ program. The error says cc:Can't specify -P, -C, -E, -c or -S with -o and have multiple files Build error occurred, build is stopped I have no experience with QNX and just want a sample program to run to get a start with QNX and eventually be able to write C++ programs. What should I do? Nick Hayes 2010-11-30T01:27:38Z post75846: Re: RE: License Check Failure: no qnxlic in java.library.path Nathan Ignatz http://community.qnx.com/sf/go/post75846 2010-11-24T18:19:36Z 2010-11-24T18:19:36Z I had to re-install QNX6.4.0 that solved the problem. Nathan Ignatz 2010-11-24T18:19:36Z post75841: Re: File not found error Elena Laskavaia http://community.qnx.com/sf/go/post75841 2010-11-24T17:31:48Z 2010-11-24T17:31:48Z Install it in directory without spaces. Recommended location C:/QNX650 On 24/11/10 12:26 PM, Craig Olney wrote: > I just installed the Momentics tools on my XP PC under c:\Program Files\.... There seems to be a problem with this. I get the following error when trying to compile a hello world test program: > > cc1plus: error: Files/QNX650/host/win32/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/include: No such file or directory > cc: C:/Program Files/QNX650/host/win32/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus caught signal 1 > > Apparently the cc1plus tool doesn't recognize directories with spaces in the name. What can I do about this? > > Craig Olney > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post75838 > Elena Laskavaia 2010-11-24T17:31:48Z post75838: File not found error Craig Olney http://community.qnx.com/sf/go/post75838 2010-11-24T17:26:16Z 2010-11-24T17:26:16Z I just installed the Momentics tools on my XP PC under c:\Program Files\.... There seems to be a problem with this. I get the following error when trying to compile a hello world test program: cc1plus: error: Files/QNX650/host/win32/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/include: No such file or directory cc: C:/Program Files/QNX650/host/win32/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus caught signal 1 Apparently the cc1plus tool doesn't recognize directories with spaces in the name. What can I do about this? Craig Olney Craig Olney 2010-11-24T17:26:16Z post75775: Re: a error of Shared Library ,help ! help ! help ! Elena Laskavaia http://community.qnx.com/sf/go/post75775 2010-11-24T14:16:56Z 2010-11-24T14:16:56Z If you are using dlopen you should not try to link with this library, looks like you linked your execurable with it (-l...) On 24/11/10 12:50 AM, li jianfeng wrote: > > Now, I have create a executble application and a Shared Library , But when I use the library I receive a error msg as > follows: > ldd:FATAL: Could not load library liblibrarytest1_g.so.1 > > note: The error occurs when I add the Extral Library for the executble application . but if I don't add the Extral > Libray , I will receive another error msg as follows: > Shared library is corrupted > > my code list: > > executble application: > > #include <stdlib.h> > #include <stdio.h> > #include <fcntl.h> > #include <dlfcn.h> > > void *FunctionLib; > const char *dlError; > int (*Function)(); > > int main(int argc, char *argv[]) { > int rc; /* return codes */ > char HelloMessage[] = "Hello World\n"; > > //printf("Welcome to the QNX Momentics IDE\n"); > FunctionLib=dlopen("/home/liblibrarytest1.so",RTLD_LAZY); > dlError=dlerror(); > printf(" dlTest 3-Open Library with absolute path return-%s- \n", dlError); > > if (dlError) exit(1); > printf(" dlTest 2-Original message \n"); > Function=dlsym(FunctionLib,"printUPPERCASE"); > dlError=dlerror(); > printf(" dlTest 4-Find symbol printUPPERCASE return-%s- \n", dlError); > if (dlError) exit(1); > rc = (*Function)( HelloMessage ); > printf(" dlTest 5-printUPPERCASE return-%s- \n", dlError); > rc = dlclose(FunctionLib); > dlError=dlerror(); > printf(" dlTest 7-Open Library with relative path return-%s- \n", dlError); > return EXIT_SUCCESS; > } > > Shared Library: > > #include <stdio.h> > #include <stdlib.h> > #include <ctype.h> > > int printUPPERCASE ( inLine ) > char inLine[]; > { > char UPstring[256]; > char *inptr, *outptr; > > inptr = inLine; > outptr = UPstring; > while ( *inptr != '\0' ) > *outptr++ = toupper(*inptr++); > *outptr++ = '\0'; > printf(UPstring); > return(1); > } > > note : I have compile and link success with the two project. > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post75753 > Elena Laskavaia 2010-11-24T14:16:56Z post75753: a error of Shared Library ,help ! help ! help ! li jianfeng http://community.qnx.com/sf/go/post75753 2010-11-24T05:50:53Z 2010-11-24T05:50:53Z Now, I have create a executble application and a Shared Library , But when I use the library I receive a error msg as follows: ldd:FATAL: Could not load library liblibrarytest1_g.so.1 note: The error occurs when I add the Extral Library for the executble application . but if I don't add the Extral Libray , I will receive another error msg as follows: Shared library is corrupted my code list: executble application: #include <stdlib.h> #include <stdio.h> #include <fcntl.h> #include <dlfcn.h> void *FunctionLib; const char *dlError; int (*Function)(); int main(int argc, char *argv[]) { int rc; /* return codes */ char HelloMessage[] = "Hello World\n"; //printf("Welcome to the QNX Momentics IDE\n"); FunctionLib=dlopen("/home/liblibrarytest1.so",RTLD_LAZY); dlError=dlerror(); printf(" dlTest 3-Open Library with absolute path return-%s- \n", dlError); if (dlError) exit(1); printf(" dlTest 2-Original message \n"); Function=dlsym(FunctionLib,"printUPPERCASE"); dlError=dlerror(); printf(" dlTest 4-Find symbol printUPPERCASE return-%s- \n", dlError); if (dlError) exit(1); rc = (*Function)( HelloMessage ); printf(" dlTest 5-printUPPERCASE return-%s- \n", dlError); rc = dlclose(FunctionLib); dlError=dlerror(); printf(" dlTest 7-Open Library with relative path return-%s- \n", dlError); return EXIT_SUCCESS; } Shared Library: #include <stdio.h> #include <stdlib.h> #include <ctype.h> int printUPPERCASE ( inLine ) char inLine[]; { char UPstring[256]; char *inptr, *outptr; inptr = inLine; outptr = UPstring; while ( *inptr != '\0' ) *outptr++ = toupper(*inptr++); *outptr++ = '\0'; printf(UPstring); return(1); } note : I have compile and link success with the two project. li jianfeng 2010-11-24T05:50:53Z post75460: RE: License Check Failure: no qnxlic in java.library.path Andy Jin http://community.qnx.com/sf/go/post75460 2010-11-21T23:47:52Z 2010-11-21T23:47:52Z What is your environment variable "QNX_HOST" pointing to? Make sure you have the file "%QNX_HOST/usr/lib/libqnxlic.so". -----Original Message----- From: Nathan Ignatz [mailto:community-noreply@qnx.com] Sent: Sun 21/11/2010 5:44 PM To: momenticsgs-community Subject: Re: License Check Failure: no qnxlic in java.library.path I removed the c:/Documents and Settings/<username>/momentics/4.7 directory. When I updated the platform, I did try to uninstall my updates, and then couldn't launch 4.7 at all, so I deleted my install directory, and the config directory from above, and did a fresh download of the 4.7 IDE, tried running it, and now it's showing up with license problems. Is it possible that this could be a registry issue? _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post75458 Andy Jin 2010-11-21T23:47:52Z post75458: Re: License Check Failure: no qnxlic in java.library.path Nathan Ignatz http://community.qnx.com/sf/go/post75458 2010-11-21T22:44:14Z 2010-11-21T22:44:14Z I removed the c:/Documents and Settings/<username>/momentics/4.7 directory. When I updated the platform, I did try to uninstall my updates, and then couldn't launch 4.7 at all, so I deleted my install directory, and the config directory from above, and did a fresh download of the 4.7 IDE, tried running it, and now it's showing up with license problems. Is it possible that this could be a registry issue? Nathan Ignatz 2010-11-21T22:44:14Z post75438: Re: Version of Development suite vs. target OS Saul A http://community.qnx.com/sf/go/post75438 2010-11-20T19:20:09Z 2010-11-20T19:20:09Z The workaround is to copy target/qnx632/x86/lib/gcc/3.3.5 to 4.3.3 (since this is the gcc version in SDP 4.6) ( target/qnx632 has been copied from installation of the SPD 4.01) and manually add to common.mk: EXTRA_SUFFIXES+=cpp Registering the cpp suffix thru CDT project config did not work. This seems to work, but still testing. ( Perhaps the same could be achieved just by editing gcc configuration files, but this is woodoo for me. The libc.so mismatch in my earlier posts regarding c++ was because I've borrowed lib/gcc/4.3.3 from CDT 4.6, where libcpp refers to libc.so.3 ) with best regards, - S. Saul A 2010-11-20T19:20:09Z post75421: Re: License Check Failure: no qnxlic in java.library.path Elena Laskavaia http://community.qnx.com/sf/go/post75421 2010-11-20T01:32:02Z 2010-11-20T01:32:02Z What configuration directory you have removed? On 19/11/2010 6:26 PM, Nathan Ignatz wrote: > I have this exact problem now, > I updated to IDE4.7, still have 4.5 installed and after trying to install some plugins, I accidentally updated the platform from the eclipse site. (big mistake) > > now I keep getting this error, > > 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've deleted, and reinstalled, and removed the old configuration directory just in case. > > and I've checked java.library.path and my qnxlic.dll is in there C:\QNX640\host\win32\x86\usr\bin > > > I've tried both of the previous solutions but none work > > The kicker is my 4.5 IDE still works... > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post75413 > Elena Laskavaia 2010-11-20T01:32:02Z post75413: Re: License Check Failure: no qnxlic in java.library.path Nathan Ignatz http://community.qnx.com/sf/go/post75413 2010-11-19T23:26:05Z 2010-11-19T23:26:05Z I have this exact problem now, I updated to IDE4.7, still have 4.5 installed and after trying to install some plugins, I accidentally updated the platform from the eclipse site. (big mistake) now I keep getting this error, 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've deleted, and reinstalled, and removed the old configuration directory just in case. and I've checked java.library.path and my qnxlic.dll is in there C:\QNX640\host\win32\x86\usr\bin I've tried both of the previous solutions but none work The kicker is my 4.5 IDE still works... Nathan Ignatz 2010-11-19T23:26:05Z post74933: Re: Version of Development suite vs. target OS Saul A http://community.qnx.com/sf/go/post74933 2010-11-17T15:21:36Z 2010-11-17T15:21:36Z Seems I've found a workaround, will verify and post later. Another C++ issue with 6.3.2 toolchain: it does not like .cpp suffix of source files. Suffix .cc works. With .cpp suffix, build complains "nothing to build". But "Compile selected" on each .cpp file works. Weird. Thanks, S. Saul A 2010-11-17T15:21:36Z post74910: Re: Version of Development suite vs. target OS Elena Laskavaia http://community.qnx.com/sf/go/post74910 2010-11-17T12:55:09Z 2010-11-17T12:55:09Z This still means correct compilers are not called. Also please set env variables QNX_HOST, QNX_TARGET and MAKEFLAGS to point to 632. On 17/11/2010 7:00 AM, Saul A wrote: > Andy, thanks for heads up. But unfortunately this does not work for me, and only with C++. > > Let me explain the setup. > > SDP 4.6 is installed in C:\Progs\QNX641. > SDP 4.01 installed in C:\Progs\QNX632. > > I made a new xml file in C:\Program Files\QNX Software Systems\qconfig, > > qnx_sdp_641-over-632.xml with content: > > <?xml version="1.0" ?> > <qnxSystemDefinition> > <installation> > <base>C:/progs/QNX641</base> > <name>QNX SDP 6.4.1 over 6.3.2</name> > <host>C:/progs/QNX641/host/win32/x86</host> > <target>C:/progs/QNX632/target/qnx6</target> > </installation> > </qnxSystemDefinition> > > Then I start IDE 4.6, select this file in Windows/Preferences/QNX and restart. > The preferences dialog won't let to enter the path, only to select a config file. > > Then, I can successfully create a plain C app for 6.3.2. > > But when I create a new QNX c++ project, build fails: > > C:\progs\QNX641\host\win32\x86\usr\bin\ntox86-ld: cannot find -lcpp > > Then I copy the target stuff from C:/progs/QNX632/target/qnx6 to C:/progs/QNX641/target/qnx6 and edit the config file accordingly. > > Then build of the c++ app completes successfully, but it appears that the app got linked to libc.so.3 and thus won't run on 6.3.2. > > Building the plain c app works fine again. > > So it seems that your advice works generaly, but not specifically for c++. > > Thanks, > -- S > > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post74906 > Elena Laskavaia 2010-11-17T12:55:09Z post74907: RE: Version of Development suite vs. target OS Andy Jin http://community.qnx.com/sf/go/post74907 2010-11-17T12:20:22Z 2010-11-17T12:20:22Z Saul, why do you "hack" into the QNX_CONFIGURATION area and create a mixed config? When I say "mixed" I mean you mix the 6.4.1 host with 6.3.2 target. You should use your "pure" 6.3.2 installation. -----Original Message----- From: Saul A [mailto:community-noreply@qnx.com] Sent: Wed 17/11/2010 7:00 AM To: momenticsgs-community Subject: Re: Version of Development suite vs. target OS Andy, thanks for heads up. But unfortunately this does not work for me, and only with C++. Let me explain the setup. SDP 4.6 is installed in C:\Progs\QNX641. SDP 4.01 installed in C:\Progs\QNX632. I made a new xml file in C:\Program Files\QNX Software Systems\qconfig, qnx_sdp_641-over-632.xml with content: <?xml version="1.0" ?> <qnxSystemDefinition> <installation> <base>C:/progs/QNX641</base> <name>QNX SDP 6.4.1 over 6.3.2</name> <host>C:/progs/QNX641/host/win32/x86</host> <target>C:/progs/QNX632/target/qnx6</target> </installation> </qnxSystemDefinition> Then I start IDE 4.6, select this file in Windows/Preferences/QNX and restart. The preferences dialog won't let to enter the path, only to select a config file. Then, I can successfully create a plain C app for 6.3.2. But when I create a new QNX c++ project, build fails: C:\progs\QNX641\host\win32\x86\usr\bin\ntox86-ld: cannot find -lcpp Then I copy the target stuff from C:/progs/QNX632/target/qnx6 to C:/progs/QNX641/target/qnx6 and edit the config file accordingly. Then build of the c++ app completes successfully, but it appears that the app got linked to libc.so.3 and thus won't run on 6.3.2. Building the plain c app works fine again. So it seems that your advice works generaly, but not specifically for c++. Thanks, -- S Andy Jin 2010-11-17T12:20:22Z post74906: Re: Version of Development suite vs. target OS Saul A http://community.qnx.com/sf/go/post74906 2010-11-17T12:00:18Z 2010-11-17T12:00:18Z Andy, thanks for heads up. But unfortunately this does not work for me, and only with C++. Let me explain the setup. SDP 4.6 is installed in C:\Progs\QNX641. SDP 4.01 installed in C:\Progs\QNX632. I made a new xml file in C:\Program Files\QNX Software Systems\qconfig, qnx_sdp_641-over-632.xml with content: <?xml version="1.0" ?> <qnxSystemDefinition> <installation> <base>C:/progs/QNX641</base> <name>QNX SDP 6.4.1 over 6.3.2</name> <host>C:/progs/QNX641/host/win32/x86</host> <target>C:/progs/QNX632/target/qnx6</target> </installation> </qnxSystemDefinition> Then I start IDE 4.6, select this file in Windows/Preferences/QNX and restart. The preferences dialog won't let to enter the path, only to select a config file. Then, I can successfully create a plain C app for 6.3.2. But when I create a new QNX c++ project, build fails: C:\progs\QNX641\host\win32\x86\usr\bin\ntox86-ld: cannot find -lcpp Then I copy the target stuff from C:/progs/QNX632/target/qnx6 to C:/progs/QNX641/target/qnx6 and edit the config file accordingly. Then build of the c++ app completes successfully, but it appears that the app got linked to libc.so.3 and thus won't run on 6.3.2. Building the plain c app works fine again. So it seems that your advice works generaly, but not specifically for c++. Thanks, -- S Saul A 2010-11-17T12:00:18Z post74897: RE: Version of Development suite vs. target OS Andy Jin http://community.qnx.com/sf/go/post74897 2010-11-17T02:11:12Z 2010-11-17T02:11:12Z You need to use the IDE Windows -> Preferences -> QNX -> Installed Baseline and select your 6.3.2 installation, and restart your IDE for it to take effect. "qwincfg" does not change what the IDE uses. After you switch your SDP, you can build and run your binary on the same SDP target. We have many users doing this already. -----Original Message----- From: Saul A [mailto:community-noreply@qnx.com] Sent: Tue 16/11/2010 8:41 PM To: momenticsgs-community Subject: Re: Version of Development suite vs. target OS I switch SDPs with qwincfg. Is this same as selecting SDP from Window -> preferences -> QNX? Could anyone confirm that one can in IDE 4.7 or 4.6 select SDP 6.3.2 (which is installed, of course) and build a "hello world" sample c++ app, and it will run on clean 6.3.2 ? Because, for me it does not run. The c++ app refers to libc.so.3. Can this be because of some c++ options, such as kind of c++ library? Plain C apps build with this setup, refer to libc.so.2 and work. C++ apps built in the 4.01 IDE also refer to libc.so.2 (and libcpp.so.4) and run on 6.3.2. - S. Andy Jin 2010-11-17T02:11:12Z post74896: Re: Version of Development suite vs. target OS Saul A http://community.qnx.com/sf/go/post74896 2010-11-17T01:41:53Z 2010-11-17T01:41:53Z I switch SDPs with qwincfg. Is this same as selecting SDP from Window -> preferences -> QNX? Could anyone confirm that one can in IDE 4.7 or 4.6 select SDP 6.3.2 (which is installed, of course) and build a "hello world" sample c++ app, and it will run on clean 6.3.2 ? Because, for me it does not run. The c++ app refers to libc.so.3. Can this be because of some c++ options, such as kind of c++ library? Plain C apps build with this setup, refer to libc.so.2 and work. C++ apps built in the 4.01 IDE also refer to libc.so.2 (and libcpp.so.4) and run on 6.3.2. - S. Saul A 2010-11-17T01:41:53Z post74806: Re: Version of Development suite vs. target OS Elena Laskavaia http://community.qnx.com/sf/go/post74806 2010-11-16T15:29:28Z 2010-11-16T15:29:28Z No you need 6.3.2 SDP to build. You are building using 6.4 SDP which uses new libc. You can try 4.7 but workflow is the same. You have to change Target SDP is the settings first. On 16/11/10 10:13 AM, Saul A wrote: > Elena, this is exactly what I'm having trouble with. C++ apps built in IDE 4.6 with target files from 4.01 (as you adviced) do not work on 6.3.2 target because they depend on libc.so.3. I"ve copied it to the target but then other things fail. > Apps written in plain C do not require newere libs. > > Should I try IDE 4.7? > > Thanks, > Saul > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post74800 > Elena Laskavaia 2010-11-16T15:29:28Z post74800: Re: Version of Development suite vs. target OS Saul A http://community.qnx.com/sf/go/post74800 2010-11-16T15:13:58Z 2010-11-16T15:13:58Z Elena, this is exactly what I'm having trouble with. C++ apps built in IDE 4.6 with target files from 4.01 (as you adviced) do not work on 6.3.2 target because they depend on libc.so.3. I"ve copied it to the target but then other things fail. Apps written in plain C do not require newere libs. Should I try IDE 4.7? Thanks, Saul Saul A 2010-11-16T15:13:58Z post74796: Re: Version of Development suite vs. target OS Elena Laskavaia http://community.qnx.com/sf/go/post74796 2010-11-16T15:02:08Z 2010-11-16T15:02:08Z IDE can work with older versions of SDP, but SDP on host must match one on target for debugging. I.e. if you have 6.3.2 installer you can use IDE 4.7 (from 6.5) to re-target to use 6.3.2 tools and API's. Re-target using Windows->Preferences->QNX On 16/11/10 09:56 AM, Saul A wrote: > Is my understanding correct that the version of Development suite is bound to version of the target? Using a newer Momentics IDE is not officially supported agains older target versions? Or, are there any directions on mismatching versions? > > Thanks, > Saul > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post74791 > Elena Laskavaia 2010-11-16T15:02:08Z post74791: Version of Development suite vs. target OS Saul A http://community.qnx.com/sf/go/post74791 2010-11-16T14:56:18Z 2010-11-16T14:56:18Z Is my understanding correct that the version of Development suite is bound to version of the target? Using a newer Momentics IDE is not officially supported agains older target versions? Or, are there any directions on mismatching versions? Thanks, Saul Saul A 2010-11-16T14:56:18Z post74762: Re: Running Momentics using the VirtualBox Virtual Machine Włodek Atopoco http://community.qnx.com/sf/go/post74762 2010-11-16T12:12:00Z 2010-11-16T12:12:00Z I found out that the same problem occurs on non-free Virtualbox editions running under x86 Linux - I think it's a bug. Everything works fine on a x86_64 host even with a open source edition of VB. Włodek Atopoco 2010-11-16T12:12:00Z post74487: Re: Running Momentics using the VirtualBox Virtual Machine Włodek Atopoco http://community.qnx.com/sf/go/post74487 2010-11-12T16:43:53Z 2010-11-12T16:43:53Z I've go the same problem, my machine is: Athlon 62 X2 4200+ 2GB ram6 ubuntu 10.04 x86 virtualbox 3.1.6 OSE I've tried 6.3.0 from openqnx.com and QNX SDP 6.5 from qnx.com. I've got AMD-V enabled. I've tried to boot with all available chipsets and still it hangs. Włodek Atopoco 2010-11-12T16:43:53Z post73520: Re: Why network adapter not enumerated? Saul A http://community.qnx.com/sf/go/post73520 2010-11-04T12:36:37Z 2010-11-04T12:36:37Z Solved. This is because of BIOS - probably defective PnP or ACPI tables. Has to deselect "enable PnP" in the setup. After that, QNX loader displays message about PnP tables not found, but the PCI devices now enumerate and seem to work. -- S. Saul A 2010-11-04T12:36:37Z post73391: Why network adapter not enumerated? Saul A http://community.qnx.com/sf/go/post73391 2010-11-03T04:01:08Z 2010-11-03T04:01:08Z I have a QNX 6.3.2 for x86 PC (installed from the SDP CD), it worked fine on my board. Then I've replaced the board, and QNX now fails to find the netcard! There are no entries in /dev/io-net/en* The old card was Realtek. the new one is Intel 82546EB, device id 1010. It is in the net enumeration script (/etc/sysytem/enum/devices/net), and the driver devn-i82544.so is present. I've run /etc/rc.d/rc.devices manually, but still it not detected. Can anyone suggest what can be done to make it enumerate? Thanks for any idea - s. Saul A 2010-11-03T04:01:08Z post73108: Re: RE: How to create a "project container" in IDE v.4.6? Saul A http://community.qnx.com/sf/go/post73108 2010-11-01T00:30:41Z 2010-11-01T00:30:41Z Thanks, this is exactly what I did: checked in the Eclipse .project, .cproject files, and all QNX .mk and Makefiles in all subdirs of all projects. Changed all absolute paths in .mk files to macros and env. variables. Now, the hard part - explain to the customer how to recreate the workspace :) - S. Saul A 2010-11-01T00:30:41Z post73073: RE: How to create a "project container" in IDE v.4.6? Andy Jin http://community.qnx.com/sf/go/post73073 2010-10-30T11:40:53Z 2010-10-30T11:40:53Z A trial-and-true practice is never copy the whole workspace. Not only the machine specific settings (like path) are not share-able, but also the workspace metadata is not warranted to be identical in between different version of IDEs. As you said in your last sentence, the project data can be shared. The "export" and "import" functions ensure project data is preserved and that's exactly what you need. Why not check-in your projects to ease the multi-site, multi-user development? -----Original Message----- From: Saul A [mailto:community-noreply@qnx.com] Sent: Fri 29/10/2010 11:29 PM To: momenticsgs-community Subject: Re: How to create a "project container" in IDE v.4.6? Working sets do not look and work like subfolders in Visual Studio solution. On the other hand, in VS you cannot select a subfolder and build it. Need just to get used to Eclipse... We currently use subversion (latest Tortoise); planning to move to git or mercurial. From the links below, it seems that backing up the Eclipse metadata and absolute paths are common problems: http://stackoverflow.com/questions/1366953/which-eclipse-project-workspace-files-should-be-added-to-source-control http://stackoverflow.com/questions/717247/how-to-transfer-eclipse-workspace-and-project-from-windows-to-linux-and-mac http://stackoverflow.com/questions/950476/how-to-recover-corrupted-eclipse-workspace I've found that the absolute paths are saved in common.mk. Replaced them to relative, using the Eclipse(?) macros; it works and seems to survive editing project properties. Then, it may be indeed easier just to recreate the workspace and re-import all projects, as the valuable data is contained only in QNX makefiles and .project & .cproject ? Regards, S. Andy Jin 2010-10-30T11:40:53Z post73071: Re: How to create a "project container" in IDE v.4.6? Saul A http://community.qnx.com/sf/go/post73071 2010-10-30T03:29:15Z 2010-10-30T03:29:15Z Working sets do not look and work like subfolders in Visual Studio solution. On the other hand, in VS you cannot select a subfolder and build it. Need just to get used to Eclipse... We currently use subversion (latest Tortoise); planning to move to git or mercurial. From the links below, it seems that backing up the Eclipse metadata and absolute paths are common problems: http://stackoverflow.com/questions/1366953/which-eclipse-project-workspace-files-should-be-added-to-source-control http://stackoverflow.com/questions/717247/how-to-transfer-eclipse-workspace-and-project-from-windows-to-linux-and-mac http://stackoverflow.com/questions/950476/how-to-recover-corrupted-eclipse-workspace I've found that the absolute paths are saved in common.mk. Replaced them to relative, using the Eclipse(?) macros; it works and seems to survive editing project properties. Then, it may be indeed easier just to recreate the workspace and re-import all projects, as the valuable data is contained only in QNX makefiles and .project & .cproject ? Regards, S. Saul A 2010-10-30T03:29:15Z post72762: Re: How to create a "project container" in IDE v.4.6? Elena Laskavaia http://community.qnx.com/sf/go/post72762 2010-10-28T11:25:39Z 2010-10-28T11:25:39Z You cannot share "workspace/.metadata" folder, you can only shared projects itself. We use source control for that, you can check in project with .project file, and later other developer can check it out from eclipse and project will be created automatically. To check out few projects at the same time we use feature called "project team set". What version control you are using? Btw what is wrong with working sets for grouping? On 27/10/2010 8:01 PM, Saul A wrote: > Thank you, Andy. > The working set feature is useful, albeit not quite what I wanted. > > About absolute paths: I need all paths in the workspace be relative to the workspace root. Otherwice the project cannot be copied to other machine where the path to workspace is different. How people cope with this issue? > > My apologes for n00b questions, it is my first project with the QNX IDE. > > Regards, > - S. > > > > > _______________________________________________ > > QNX Momentics Getting Started > http://community.qnx.com/sf/go/post72733 > > Elena Laskavaia 2010-10-28T11:25:39Z post72734: RE: RE: How to create a "project container" in IDE v.4.6? Andy Jin http://community.qnx.com/sf/go/post72734 2010-10-28T00:31:05Z 2010-10-28T00:31:05Z You don't want to copy the projects from their file system because there are project metadata you won't be able to copy. If you need to transfer projects you can "export" them to an archive file, transfer the archive file to another machine, and "import" them to another workspace. The "export" and "import" will handle the path conversion. -----Original Message----- From: Saul A [mailto:community-noreply@qnx.com] Sent: Wed 27/10/2010 8:01 PM To: momenticsgs-community Subject: Re: RE: How to create a "project container" in IDE v.4.6? Thank you, Andy. The working set feature is useful, albeit not quite what I wanted. About absolute paths: I need all paths in the workspace be relative to the workspace root. Otherwice the project cannot be copied to other machine where the path to workspace is different. How people cope with this issue? My apologes for n00b questions, it is my first project with the QNX IDE. Regards, - S. _______________________________________________ QNX Momentics Getting Started http://community.qnx.com/sf/go/post72733 Andy Jin 2010-10-28T00:31:05Z post72733: Re: RE: How to create a "project container" in IDE v.4.6? Saul A http://community.qnx.com/sf/go/post72733 2010-10-28T00:01:50Z 2010-10-28T00:01:50Z Thank you, Andy. The working set feature is useful, albeit not quite what I wanted. About absolute paths: I need all paths in the workspace be relative to the workspace root. Otherwice the project cannot be copied to other machine where the path to workspace is different. How people cope with this issue? My apologes for n00b questions, it is my first project with the QNX IDE. Regards, - S. Saul A 2010-10-28T00:01:50Z post72726: RE: How to create a "project container" in IDE v.4.6? Andy Jin http://community.qnx.com/sf/go/post72726 2010-10-27T21:18:51Z 2010-10-27T21:18:51Z Use "working set" to group project. See this Eclipse help page for working set: http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc .user/concepts/cworkset.htm The new project wizard is common for all Eclipse project, not QNX project specific. If you create a simple Eclipse project its location is also default to the workspace root. The "Browse..." button does not use workspace resource but file system resource that's why you need to use the full path. IDE store paths to projects in the workspace metadata. You don't want to manipulate the metadata manually. -----Original Message----- From: Saul A [mailto:community-noreply@qnx.com] Sent: Wednesday, October 27, 2010 4:53 PM To: momenticsgs-community Subject: How to create a "project container" in IDE v.4.6? I want to group several projects together in the Projects Explorer, but can't figure how to do this in IDE v.4.6. In Visual C++ we can create "solution folder" containing several projects, for example App1 Libs lib1 lib2 Tests test1 test2 "Libs" and "Tests" are folders. Is this possible in Eclipse? Also, when I create a new QNX project, it suggests the default location in the workspace root. I want to place the new project in sub-folder, but then the IDE prompts for the full path. It does not seem to allow select location relative to the workspace? Where the IDE stores paths of projects? Thanks for any idea, - S Andy Jin 2010-10-27T21:18:51Z