Feed for discussion QNX Momentics Getting Started in project Community.Posts for QNX Momentics Getting Startedpost101575: Re: Really cannot uninstall QNX SDP 6.5.0Erick Roanehttp://community.qnx.com/sf/go/post1015752013-05-21T19:59:31Z2013-05-21T19:59:31ZA 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 Roane2013-05-21T19:59:31Zpost101562: Really cannot uninstall QNX SDP 6.5.0Erick Roanehttp://community.qnx.com/sf/go/post1015622013-05-21T00:13:58Z2013-05-21T00:13:58ZSteps 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 Roane2013-05-21T00:13:58Zpost100932: Pandaboard BSP pdebug missingAnthony Linnetthttp://community.qnx.com/sf/go/post1009322013-04-27T06:58:41Z2013-04-27T06:58:41ZHi. 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 Linnett2013-04-27T06:58:41Zpost100844: Re: QNX6.5 SP1 minimal runtime installationdavid billahttp://community.qnx.com/sf/go/post1008442013-04-24T14:16:31Z2013-04-24T14:16:31ZDear 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 billa2013-04-24T14:16:31Zpost100246: License key for x86 runtime installTim Gessnerhttp://community.qnx.com/sf/go/post1002462013-03-31T20:52:52Z2013-03-31T20:52:52ZI 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
TimTim Gessner2013-03-31T20:52:52Zpost99779: IP Connection with another computerOng Di Yonghttp://community.qnx.com/sf/go/post997792013-03-11T03:50:58Z2013-03-11T03:50:58ZHi,
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 Yong2013-03-11T03:50:58Zpost99697: Re: cannot start qde on Fedora 16 x86_64Vadim Vhttp://community.qnx.com/sf/go/post996972013-03-06T06:12:57Z2013-03-06T06:12:57ZGreetings)) 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 V2013-03-06T06:12:57Zpost97856: Re: Remote debuggingIvan Not specifiedhttp://community.qnx.com/sf/go/post978562012-12-06T10:12:03Z2012-12-06T10:12:03ZThere 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 specified2012-12-06T10:12:03Zpost97816: Re: Remote debuggingElena Laskavaiahttp://community.qnx.com/sf/go/post978162012-12-05T14:50:15Z2012-12-05T14:50:15ZSIGKILL? 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.comElena Laskavaia2012-12-05T14:50:15Zpost97802: Re: Remote debuggingIvan Not specifiedhttp://community.qnx.com/sf/go/post978022012-12-05T10:09:31Z2012-12-05T10:09:31ZThanks 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 specified2012-12-05T10:09:31Zpost97717: Re: Remote debuggingElena Laskavaiahttp://community.qnx.com/sf/go/post977172012-12-03T14:41:34Z2012-12-03T14:41:34Zgdbserver 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.comElena Laskavaia2012-12-03T14:41:34Zpost97710: Remote debuggingIvan Not specifiedhttp://community.qnx.com/sf/go/post977102012-12-01T21:53:48Z2012-12-01T21:53:48ZI 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 advanceIvan Not specified2012-12-01T21:53:48Zpost97470: Re: qconfig.mk file disappears after installing the 6.5 service packJon Wallacehttp://community.qnx.com/sf/go/post974702012-11-27T01:22:51Z2012-11-27T01:22:51ZQNX_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 meJon Wallace2012-11-27T01:22:51Zpost97435: Re: qconfig.mk file disappears after installing the 6.5 service packJon Wallacehttp://community.qnx.com/sf/go/post974352012-11-24T20:57:28Z2012-11-24T20:57:28ZThe 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.comJon Wallace2012-11-24T20:57:28Zpost97434: Re: qconfig.mk file disappears after installing the 6.5 service packNatalia Miyusovahttp://community.qnx.com/sf/go/post974342012-11-24T17:12:17Z2012-11-24T17:12:17Zdid you use "sudo -E" option when you installed 650SP1 ?Natalia Miyusova2012-11-24T17:12:17Zpost97433: Re: qconfig.mk file disappears after installing the 6.5 service packAleksandar Ristovskihttp://community.qnx.com/sf/go/post974332012-11-24T13:25:34Z2012-11-24T13:25:34ZIs /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.comAleksandar Ristovski2012-11-24T13:25:34Zpost97432: qconfig.mk file disappears after installing the 6.5 service packJon Wallacehttp://community.qnx.com/sf/go/post974322012-11-24T09:15:14Z2012-11-24T09:15:14ZI'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 Wallace2012-11-24T09:15:14Zpost97200: Re: QNX6.5 SP1 minimal runtime installationDave Nickersonhttp://community.qnx.com/sf/go/post972002012-11-14T21:35:40Z2012-11-14T21:35:40ZWhile 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,
DaveDave Nickerson2012-11-14T21:35:40Zpost97135: QNX6.5 SP1 minimal runtime installationEsa Heikkinenhttp://community.qnx.com/sf/go/post971352012-11-13T13:14:07Z2012-11-13T13:14:07ZHi
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
EsaEsa Heikkinen2012-11-13T13:14:07Zpost96949: Re: makefile problemElena Laskavaiahttp://community.qnx.com/sf/go/post969492012-11-07T14:39:37Z2012-11-07T14:39:37ZIPC 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.comElena Laskavaia2012-11-07T14:39:37Zpost96922: makefile problempooja chahalhttp://community.qnx.com/sf/go/post969222012-11-07T06:51:26Z2012-11-07T06:51:26ZPlease 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 chahal2012-11-07T06:51:26Zpost96110: RE: Compiling 6.2.1 program on 6.3.2Mario Charesthttp://community.qnx.com/sf/go/post961102012-10-08T21:30:00Z2012-10-08T21:30:00ZYou 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.comMario Charest2012-10-08T21:30:00Zpost96107: Compiling 6.2.1 program on 6.3.2elton costahttp://community.qnx.com/sf/go/post961072012-10-08T19:25:18Z2012-10-08T19:25:18Zhello 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 costa2012-10-08T19:25:18Zpost95980: Re: Lost at the beginning of getting QNX running on PC104 Advantech PCM3350Adam Barberhttp://community.qnx.com/sf/go/post959802012-10-02T17:20:01Z2012-10-02T17:20:01ZOk, 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 Barber2012-10-02T17:20:01Zpost95977: Re: Lost at the beginning of getting QNX running on PC104 Advantech PCM3350Adam Barberhttp://community.qnx.com/sf/go/post959772012-10-02T16:37:03Z2012-10-02T16:37:03ZThis 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 Barber2012-10-02T16:37:03Zpost95966: Re: Lost at the beginning of getting QNX running on PC104 Advantech PCM3350Pavol Kycinahttp://community.qnx.com/sf/go/post959662012-10-02T08:29:10Z2012-10-02T08:29:10ZHello,
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 Kycina2012-10-02T08:29:10Zpost95960: Lost at the beginning of getting QNX running on PC104 Advantech PCM3350Adam Barberhttp://community.qnx.com/sf/go/post959602012-10-01T22:19:48Z2012-10-01T22:19:48ZI 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 Barber2012-10-01T22:19:48Zpost95731: Re: How to install without PhotonKeith Russellhttp://community.qnx.com/sf/go/post957312012-09-21T12:44:23Z2012-09-21T12:44:23ZYou 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 Russell2012-09-21T12:44:23Zpost95730: Re: How to install without PhotonEsa Heikkinenhttp://community.qnx.com/sf/go/post957302012-09-21T12:29:57Z2012-09-21T12:29:57ZMaybe 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 Heikkinen2012-09-21T12:29:57Zpost95712: Re: How to install without PhotonEsa Heikkinenhttp://community.qnx.com/sf/go/post957122012-09-20T14:11:54Z2012-09-20T14:11:54ZBut 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 Heikkinen2012-09-20T14:11:54Zpost95708: Re: How to install without PhotonSean Boudreauhttp://community.qnx.com/sf/go/post957082012-09-20T13:37:20Z2012-09-20T13:37:20ZIn 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.comSean Boudreau2012-09-20T13:37:20Zpost95676: How to install without PhotonEsa Heikkinenhttp://community.qnx.com/sf/go/post956762012-09-19T13:19:39Z2012-09-19T13:19:39ZI 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 Heikkinen2012-09-19T13:19:39Zpost95551: Re: Cannot begin installAndrew Schuesslerhttp://community.qnx.com/sf/go/post955512012-09-13T13:43:49Z2012-09-13T13:43:49ZProblem solved.
FYI:
I am running 64 bit arch and had not yet installed the 32 bit libraries.Andrew Schuessler2012-09-13T13:43:49Zpost95543: Cannot begin installAndrew Schuesslerhttp://community.qnx.com/sf/go/post955432012-09-12T22:25:29Z2012-09-12T22:25:29ZI'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,
AndrewAndrew Schuessler2012-09-12T22:25:29Zpost95334: How to get DDKs for SDP 6.5.0Alex Machhttp://community.qnx.com/sf/go/post953342012-09-03T11:38:48Z2012-09-03T11:38:48ZHi,
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 Mach2012-09-03T11:38:48Zpost95296: Writing a network driver for QNXThomas O'Dellhttp://community.qnx.com/sf/go/post952962012-08-30T09:13:38Z2012-08-30T09:13:38ZHi,
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'Dell2012-08-30T09:13:38Zpost95191: Re: Can't uninstall QNX MomenticsTao Dinghttp://community.qnx.com/sf/go/post951912012-08-28T12:54:00Z2012-08-28T12:54:00Zuse qnxwincleanup utilities to uninstall old version.Tao Ding2012-08-28T12:54:00Zpost95138: Re: Can't uninstall QNX MomenticsSeyfettin Süngerhttp://community.qnx.com/sf/go/post951382012-08-26T18:12:00Z2012-08-26T18:12:00ZI 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ünger2012-08-26T18:12:00Zpost95116: Re: Can't uninstall QNX MomenticsTao Dinghttp://community.qnx.com/sf/go/post951162012-08-24T15:09:57Z2012-08-24T15:09:57ZSolved.Tao Ding2012-08-24T15:09:57Zpost95038: Re: Problem with running a compiled programStephen Kwakhttp://community.qnx.com/sf/go/post950382012-08-22T19:12:17Z2012-08-22T19:12:17ZAnd I've made sure to check Application when I created the projectStephen Kwak2012-08-22T19:12:17Zpost95031: Problem with running a compiled programStephen Kwakhttp://community.qnx.com/sf/go/post950312012-08-22T18:05:12Z2012-08-22T18:05:12ZHi 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.
ThanksStephen Kwak2012-08-22T18:05:12Zpost94952: Can't uninstall QNX MomenticsTao Dinghttp://community.qnx.com/sf/go/post949522012-08-20T15:24:01Z2012-08-20T15:24:01ZI 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 Ding2012-08-20T15:24:01Zpost94142: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post941422012-07-06T18:59:27Z2012-07-06T18:59:27ZYou'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.
NataliaNatalia Miyusova2012-07-06T18:59:27Zpost94137: Re: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post941372012-07-06T15:22:40Z2012-07-06T15:22:40ZDear 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ünger2012-07-06T15:22:40Zpost94134: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post941342012-07-06T14:58:42Z2012-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>&1Natalia Miyusova2012-07-06T14:58:42Zpost94132: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post941322012-07-06T14:57:24Z2012-07-06T14:57:24Zis sounds like your setup.jar is missing from the directory where you're running this command from.Natalia Miyusova2012-07-06T14:57:24Zpost94133: Re: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post941332012-07-06T14:51:14Z2012-07-06T14:51:14ZThanks for reply, then I run the command again.
Please, see the new attached log file.
Regards,Seyfettin Sünger2012-07-06T14:51:14Zpost94131: Re: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post941312012-07-06T14:51:03Z2012-07-06T14:51:03ZPlease see the attached file.Seyfettin Sünger2012-07-06T14:51:03Zpost94120: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post941202012-07-06T12:49:49Z2012-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>&1Natalia Miyusova2012-07-06T12:49:49Zpost94110: Re: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post941102012-07-06T06:56:56Z2012-07-06T06:56:56ZHere 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ünger2012-07-06T06:56:56Zpost94093: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post940932012-07-05T18:03:00Z2012-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.txtNatalia Miyusova2012-07-05T18:03:00Zpost94087: Re: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post940872012-07-05T17:28:27Z2012-07-05T17:28:27ZI 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ünger2012-07-05T17:28:27Zpost94079: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post940792012-07-05T15:51:01Z2012-07-05T15:51:01Zto 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 Miyusova2012-07-05T15:51:01Zpost94076: Re: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post940762012-07-05T15:17:52Z2012-07-05T15:17:52ZDear 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ünger2012-07-05T15:17:52Zpost94059: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post940592012-07-05T12:54:04Z2012-07-05T12:54:04ZOk, 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 Miyusova2012-07-05T12:54:04Zpost94064: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post940642012-07-05T12:51:39Z2012-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 Miyusova2012-07-05T12:51:39Zpost94063: Re: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post940632012-07-05T12:39:37Z2012-07-05T12:39:37ZSorry 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ünger2012-07-05T12:39:37Zpost94058: Re: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post940582012-07-05T12:38:40Z2012-07-05T12:38:40ZHi Natalia,
Thanks for support, I appreciate it.
Please see the requested attached file.
Best regards,Seyfettin Sünger2012-07-05T12:38:40Zpost94057: Re: SDP 6.5 Service Pack 1Natalia Miyusovahttp://community.qnx.com/sf/go/post940572012-07-05T12:22:28Z2012-07-05T12:22:28ZAs 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
NataliaNatalia Miyusova2012-07-05T12:22:28Zpost94051: SDP 6.5 Service Pack 1Seyfettin Süngerhttp://community.qnx.com/sf/go/post940512012-07-05T10:34:33Z2012-07-05T10:34:33ZHi 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ünger2012-07-05T10:34:33Zpost94027: Re: What is the right Java version to install SDKs?Natalia Miyusovahttp://community.qnx.com/sf/go/post940272012-07-04T15:04:59Z2012-07-04T15:04:59ZHi,
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.
NataliaNatalia Miyusova2012-07-04T15:04:59Zpost94025: What is the right Java version to install SDKs?Seyfettin Süngerhttp://community.qnx.com/sf/go/post940252012-07-04T14:47:36Z2012-07-04T14:47:36ZDear 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ünger2012-07-04T14:47:36Zpost93987: Re: ssh into momenticsElena Laskavaiahttp://community.qnx.com/sf/go/post939872012-07-03T13:33:48Z2012-07-03T13:33:48ZMomentics 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.comElena Laskavaia2012-07-03T13:33:48Zpost93977: ssh into momenticsWill Milnerhttp://community.qnx.com/sf/go/post939772012-07-02T16:51:16Z2012-07-02T16:51:16ZHey all, I know normally you use an Ethernet cable to connect with momentics but is it possible to connect remotely via ssh? Thanks!Will Milner2012-07-02T16:51:16Zpost93877: Re: Momentics not sycronizingElena Laskavaiahttp://community.qnx.com/sf/go/post938772012-06-26T18:58:59Z2012-06-26T18:58:59ZBecause 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.comElena Laskavaia2012-06-26T18:58:59Zpost93874: Momentics not sycronizingWill Milnerhttp://community.qnx.com/sf/go/post938742012-06-26T18:52:46Z2012-06-26T18:52:46ZHello, 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 Milner2012-06-26T18:52:46Zpost93493: Re: Attach to remote process via qconnElena Laskavaiahttp://community.qnx.com/sf/go/post934932012-06-04T13:39:05Z2012-06-04T13:39:05ZSorry 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.comElena Laskavaia2012-06-04T13:39:05Zpost93477: Attach to remote process via qconnHonza Safernahttp://community.qnx.com/sf/go/post934772012-06-03T22:01:57Z2012-06-03T22:01:57ZHi 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 Saferna2012-06-03T22:01:57Zpost93218: Basic DriverAlistair Boydhttp://community.qnx.com/sf/go/post932182012-05-19T16:58:48Z2012-05-19T16:58:48ZI 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 Boyd2012-05-19T16:58:48Zpost92874: Re: cannot start qde on Fedora 16 x86_64Loic Domaignehttp://community.qnx.com/sf/go/post928742012-05-02T10:26:39Z2012-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ïcLoic Domaigne2012-05-02T10:26:39Zpost92873: Re: cannot start qde on Fedora 16 x86_64Loic Domaignehttp://community.qnx.com/sf/go/post928732012-05-02T10:19:06Z2012-05-02T10:19:06ZHi,
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ïcLoic Domaigne2012-05-02T10:19:06Zpost92872: cannot start qde on Fedora 16 x86_64Loic Domaignehttp://community.qnx.com/sf/go/post928722012-05-02T09:05:12Z2012-05-02T09:05:12ZHi,
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 Domaigne2012-05-02T09:05:12Zpost92745: Re: #include pathsAleksandar Ristovskihttp://community.qnx.com/sf/go/post927452012-04-26T13:41:00Z2012-04-26T13:41:00ZIn 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 Ristovski2012-04-26T13:41:00Zpost92744: Re: #include pathsBrandon Dohertyhttp://community.qnx.com/sf/go/post927442012-04-26T13:27:33Z2012-04-26T13:27:33ZI'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 Doherty2012-04-26T13:27:33Zpost92628: Re: Installation Problemsbhanu shankar d ghttp://community.qnx.com/sf/go/post926282012-04-19T06:35:34Z2012-04-19T06:35:34Z> That fixed it :-).
>
> Thanks very much Natalia.
>
> Have a great day!
What about in Linux,what is the possible fix?
bhanubhanu shankar d g2012-04-19T06:35:34Zpost92522: Re: Add include pathElena Laskavaiahttp://community.qnx.com/sf/go/post925222012-04-11T13:42:22Z2012-04-11T13:42:22ZIt 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 Laskavaia2012-04-11T13:42:22Zpost92505: Re: Installation on Linux failing due to previous installNatalia Miyusovahttp://community.qnx.com/sf/go/post925052012-04-09T17:06:16Z2012-04-09T17:06:16ZPlease 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 Miyusova2012-04-09T17:06:16Zpost92492: Add include pathAhsan Iqbalhttp://community.qnx.com/sf/go/post924922012-04-07T06:00:55Z2012-04-07T06:00:55ZHi
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
AhsanAhsan Iqbal2012-04-07T06:00:55Zpost92332: Re: Installation on Linux failing due to previous installMahesh Kommihttp://community.qnx.com/sf/go/post923322012-03-28T23:12:19Z2012-03-28T23:12:19ZI 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 Kommi2012-03-28T23:12:19Zpost91950: Re: Cannot checkout qnx sourceAlistair Boydhttp://community.qnx.com/sf/go/post919502012-03-07T15:43:01Z2012-03-07T15:43:01ZOk thanks for letting me know.Alistair Boyd2012-03-07T15:43:01Zpost91941: RE: Cannot checkout qnx sourceSteve Reidhttp://community.qnx.com/sf/go/post919412012-03-07T14:19:48Z2012-03-07T14:19:48ZHi, 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/post91938Steve Reid2012-03-07T14:19:48Zpost91938: Cannot checkout qnx sourceAlistair Boydhttp://community.qnx.com/sf/go/post919382012-03-07T13:18:58Z2012-03-07T13:18:58ZI 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 Boyd2012-03-07T13:18:58Zpost91870: mod_version.c:1: fatal error: can't opendeepak kumarhttp://community.qnx.com/sf/go/post918702012-03-01T13:40:53Z2012-03-01T13:40:53ZHello,
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,
Deepakdeepak kumar2012-03-01T13:40:53Zpost91827: Re: Get memory fault (core dumped) problemTao Yanghttp://community.qnx.com/sf/go/post918272012-02-28T05:18:36Z2012-02-28T05:18:36ZPlease ignore the initial post. problem solved. unrelated to QNX.Tao Yang2012-02-28T05:18:36Zpost91808: Re: Problems with QNX or to stupid?Pavol Kycinahttp://community.qnx.com/sf/go/post918082012-02-27T15:15:26Z2012-02-27T15:15:26ZIs chksum of files (on windows and in qnx) the same?Pavol Kycina2012-02-27T15:15:26Zpost91791: Get memory fault (core dumped) problemTao Yanghttp://community.qnx.com/sf/go/post917912012-02-27T04:21:20Z2012-02-27T04:21:20ZI 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 Yang2012-02-27T04:21:20Zpost91786: Re: Problems with QNX or to stupid?Tao Yanghttp://community.qnx.com/sf/go/post917862012-02-26T06:01:39Z2012-02-26T06:01:39ZIt 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 Yang2012-02-26T06:01:39Zpost91612: Re: installation problemHuiHsien Wuhttp://community.qnx.com/sf/go/post916122012-02-15T16:34:45Z2012-02-15T16:34:45ZChange bios mode/remote control to IDE mode.HuiHsien Wu2012-02-15T16:34:45Zpost91611: Re: Installation issueHuiHsien Wuhttp://community.qnx.com/sf/go/post916112012-02-15T16:33:33Z2012-02-15T16:33:33ZI met the same issue. Tried to install other version of QNX.HuiHsien Wu2012-02-15T16:33:33Zpost91095: Re: Installation issuesSeyfettin Süngerhttp://community.qnx.com/sf/go/post910952012-01-24T09:52:15Z2012-01-24T09:52:15ZI 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ünger2012-01-24T09:52:15Zpost91068: Re: Installation issuesSeyfettin Süngerhttp://community.qnx.com/sf/go/post910682012-01-23T07:45:16Z2012-01-23T07:45:16Zwhat do you mean with cksum? Sorry but, I couldn't understand what you mean.Seyfettin Sünger2012-01-23T07:45:16Zpost91047: Re: Installation issuesNatalia Miyusovahttp://community.qnx.com/sf/go/post910472012-01-20T13:18:08Z2012-01-20T13:18:08ZI forgot to ask - have you verified the cksum of the original executable (qnxsdp-6.4.1-nnnnnnn-win32.exe)?Natalia Miyusova2012-01-20T13:18:08Zpost91042: Re: Installation issuesSeyfettin Süngerhttp://community.qnx.com/sf/go/post910422012-01-20T08:58:54Z2012-01-20T08:58:54ZDear 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ünger2012-01-20T08:58:54Zpost91036: Re: Installation issuesNatalia Miyusovahttp://community.qnx.com/sf/go/post910362012-01-19T20:23:26Z2012-01-19T20:23:26ZSorry, 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 Miyusova2012-01-19T20:23:26Zpost91029: Re: Installation issuesElena Laskavaiahttp://community.qnx.com/sf/go/post910292012-01-19T19:13:01Z2012-01-19T19:13:01ZThis 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 Laskavaia2012-01-19T19:13:01Zpost91026: Re: Installation issuesNatalia Miyusovahttp://community.qnx.com/sf/go/post910262012-01-19T17:38:34Z2012-01-19T17:38:34ZAnother 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 Miyusova2012-01-19T17:38:34Zpost91024: Re: Installation issuesAleksandar Ristovskihttp://community.qnx.com/sf/go/post910242012-01-19T17:28:26Z2012-01-19T17:28:26ZOn 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 Ristovski2012-01-19T17:28:26Zpost91017: Re: Installation issuesSeyfettin Süngerhttp://community.qnx.com/sf/go/post910172012-01-19T17:01:00Z2012-01-19T17:01:00ZDear 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ünger2012-01-19T17:01:00Zpost91016: Re: Installation issuesNatalia Miyusovahttp://community.qnx.com/sf/go/post910162012-01-19T16:24:40Z2012-01-19T16:24:40ZHere 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 Miyusova2012-01-19T16:24:40Zpost91008: Re: Installation issuesSeyfettin Süngerhttp://community.qnx.com/sf/go/post910082012-01-19T13:50:52Z2012-01-19T13:50:52ZI 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ünger2012-01-19T13:50:52Zpost90822: Re: Momentics and "QNX C/C++ Project" with multiple executables or librariesElena Laskavaiahttp://community.qnx.com/sf/go/post908222012-01-03T20:44:57Z2012-01-03T20:44:57ZNo 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 Laskavaia2012-01-03T20:44:57Zpost90821: Re: Momentics and "QNX C/C++ Project" with multiple executables or librariessudhir kattahttp://community.qnx.com/sf/go/post908212012-01-03T20:40:17Z2012-01-03T20:40:17ZFrom 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 katta2012-01-03T20:40:17Zpost90820: Re: Momentics and "QNX C/C++ Project" with multiple executables or librariesElena Laskavaiahttp://community.qnx.com/sf/go/post908202012-01-03T19:49:08Z2012-01-03T19:49:08ZIDE 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 executableElena Laskavaia2012-01-03T19:49:08Zpost90819: Re: Momentics and "QNX C/C++ Project" with multiple executables or librariessudhir kattahttp://community.qnx.com/sf/go/post908192012-01-03T19:26:50Z2012-01-03T19:26:50ZElena, 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 katta2012-01-03T19:26:50Zpost90817: Re: Transfer File from Windows Server R2 Enterprise Edition to QNX 6.5 32-bitsudhir kattahttp://community.qnx.com/sf/go/post908172012-01-03T19:07:01Z2012-01-03T19:07:01ZInstall cygwin on windows machine and use scp
scp usage examples
http://www.hypexr.org/linux_scp_help.phpsudhir katta2012-01-03T19:07:01Zpost90815: Re: Momentics and "QNX C/C++ Project" with multiple executables or librariesElena Laskavaiahttp://community.qnx.com/sf/go/post908152012-01-03T19:01:46Z2012-01-03T19:01:46ZYou cannot have multiple main functions. How does linker suppose to choose the right one?Elena Laskavaia2012-01-03T19:01:46Zpost90814: Re: Momentics and "QNX C/C++ Project" with multiple executables or librariessudhir kattahttp://community.qnx.com/sf/go/post908142012-01-03T18:43:03Z2012-01-03T18:43:03ZSame 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 katta2012-01-03T18:43:03Zpost90775: Re: Problems on installing USB DDK in QNX Momentics 6.4.1Kevin Stallardhttp://community.qnx.com/sf/go/post907752011-12-30T00:35:13Z2011-12-30T00:35:13ZI 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
KevinKevin Stallard2011-12-30T00:35:13Zpost90414: Re: Installation on Linux failing due to previous installYan Wuhttp://community.qnx.com/sf/go/post904142011-12-05T01:02:42Z2011-12-05T01:02:42ZNever 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 Wu2011-12-05T01:02:42Zpost90413: Re: Installation on Linux failing due to previous installYan Wuhttp://community.qnx.com/sf/go/post904132011-12-05T00:19:06Z2011-12-05T00:19:06ZHi,
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 Wu2011-12-05T00:19:06Zpost90206: Transfer File from Windows Server R2 Enterprise Edition to QNX 6.5 32-bitlimpei Fenghttp://community.qnx.com/sf/go/post902062011-11-21T09:08:00Z2011-11-21T09:08:00ZHi,
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 :Dlimpei Feng2011-11-21T09:08:00Zpost89950: TelnetAlistair Boydhttp://community.qnx.com/sf/go/post899502011-11-09T11:34:38Z2011-11-09T11:34:38ZI 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?
ThanksAlistair Boyd2011-11-09T11:34:38Zpost89851: Re: Launching serial debugger failedAleksandar Ristovskihttp://community.qnx.com/sf/go/post898512011-11-03T12:38:36Z2011-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 Ristovski2011-11-03T12:38:36Zpost89845: RE: Launching serial debugger failedLisa Damodaranhttp://community.qnx.com/sf/go/post898452011-11-03T05:28:13Z2011-11-03T05:28:13ZI 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/post89826Lisa Damodaran2011-11-03T05:28:13Zpost89844: RE: Launching serial debugger failedLisa Damodaranhttp://community.qnx.com/sf/go/post898442011-11-03T05:18:54Z2011-11-03T05:18:54ZHi
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/post89825Lisa Damodaran2011-11-03T05:18:54Zpost89826: Re: Launching serial debugger failedElena Laskavaiahttp://community.qnx.com/sf/go/post898262011-11-02T13:44:11Z2011-11-02T13:44:11ZWhat 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/post89820Elena Laskavaia2011-11-02T13:44:11Zpost89825: Re: Launching serial debugger failedAleksandar Ristovskihttp://community.qnx.com/sf/go/post898252011-11-02T12:54:46Z2011-11-02T12:54:46ZPlease 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/post89820Aleksandar Ristovski2011-11-02T12:54:46Zpost89820: Launching serial debugger failedLisa Damodaranhttp://community.qnx.com/sf/go/post898202011-11-02T09:23:50Z2011-11-02T09:23:50ZHi
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 Damodaran2011-11-02T09:23:50Zpost89796: Re: Can't set up project for loading to simulatorElena Laskavaiahttp://community.qnx.com/sf/go/post897962011-11-01T12:48:25Z2011-11-01T12:48:25ZThis is wrong forum. Please post further question regarding NDK at
http://supportforums.blackberry.com/t5/Native-SDK-for-BlackBerry-Tablet/bd-p/native_sdkElena Laskavaia2011-11-01T12:48:25Zpost89782: Re: Can't set up project for loading to simulatorPeter Snider(deleted)http://community.qnx.com/sf/go/post897822011-10-31T21:36:58Z2011-10-31T21:36:58ZAfter 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:58Zpost89781: Can't set up project for loading to simulatorPeter Snider(deleted)http://community.qnx.com/sf/go/post897812011-10-31T20:59:12Z2011-10-31T20:59:12ZI 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
ThanksPeter Snider(deleted)2011-10-31T20:59:12Zpost88633: Re: Problem building projectJulio Arellanohttp://community.qnx.com/sf/go/post886332011-09-05T08:03:55Z2011-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 Arellano2011-09-05T08:03:55Zpost88632: Re: Problem building projectJulio Arellanohttp://community.qnx.com/sf/go/post886322011-09-05T07:10:11Z2011-09-05T07:10:11ZAlright, 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 Arellano2011-09-05T07:10:11Zpost88588: Re: License Check Failure: no qnxlic in java.library.pathMark Dowdyhttp://community.qnx.com/sf/go/post885882011-09-01T16:49:27Z2011-09-01T16:49:27ZHost is Windows, target is x86. Path was the problem, thanks for the help.
MarkMark Dowdy2011-09-01T16:49:27Zpost88579: Re: Problem building projectElena Laskavaiahttp://community.qnx.com/sf/go/post885792011-09-01T13:06:36Z2011-09-01T13:06:36ZThe 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 Laskavaia2011-09-01T13:06:36Zpost88577: Re: License Check Failure: no qnxlic in java.library.pathElena Laskavaiahttp://community.qnx.com/sf/go/post885772011-09-01T13:03:41Z2011-09-01T13:03:41ZOn 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 Laskavaia2011-09-01T13:03:41Zpost88573: Problem building projectJulio Arellanohttp://community.qnx.com/sf/go/post885732011-09-01T11:48:50Z2011-09-01T11:48:50ZI 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 appreciatedJulio Arellano2011-09-01T11:48:50Zpost88561: Re: License Check Failure: no qnxlic in java.library.pathAndrew Yunhttp://community.qnx.com/sf/go/post885612011-08-31T21:31:28Z2011-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 Yun2011-08-31T21:31:28Zpost88560: License Check Failure: no qnxlic in java.library.pathMark Dowdyhttp://community.qnx.com/sf/go/post885602011-08-31T21:26:40Z2011-08-31T21:26:40ZI'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.
MarkMark Dowdy2011-08-31T21:26:40Zpost88409: Re: Copy files from Windows to QNXPaolo Lomottihttp://community.qnx.com/sf/go/post884092011-08-26T15:32:53Z2011-08-26T15:32:53ZI'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 Lomotti2011-08-26T15:32:53Zpost88406: Re: Copy files from Windows to QNXElena Laskavaiahttp://community.qnx.com/sf/go/post884062011-08-26T14:45:19Z2011-08-26T14:45:19ZYou 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 Laskavaia2011-08-26T14:45:19Zpost88399: Re: Copy files from Windows to QNXPaolo Lomottihttp://community.qnx.com/sf/go/post883992011-08-26T13:06:37Z2011-08-26T13:06:37ZI'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 Lomotti2011-08-26T13:06:37Zpost87807: Re: Copy files from Windows to QNXMalte Mundthttp://community.qnx.com/sf/go/post878072011-08-04T10:56:55Z2011-08-04T10:56:55ZI'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.
- MalteMalte Mundt2011-08-04T10:56:55Zpost87789: Copy files from Windows to QNXPaolo Lomottihttp://community.qnx.com/sf/go/post877892011-08-03T12:31:49Z2011-08-03T12:31:49ZHi 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?
PaoloPaolo Lomotti2011-08-03T12:31:49Zpost87787: Re: RE: FTP access to QNX hostPaolo Lomottihttp://community.qnx.com/sf/go/post877872011-08-03T12:20:20Z2011-08-03T12:20:20ZHi,
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 Lomotti2011-08-03T12:20:20Zpost87607: installation problemchristophe blachonhttp://community.qnx.com/sf/go/post876072011-07-26T17:12:48Z2011-07-26T17:12:48ZHi,
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 thankschristophe blachon2011-07-26T17:12:48Zpost87190: Re: Runing QNX in VirtualBoxChristoph Nemmaierhttp://community.qnx.com/sf/go/post871902011-07-07T13:57:29Z2011-07-07T13:57:29ZHave 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,
ChristophChristoph Nemmaier2011-07-07T13:57:29Zpost86593: Re: log2Malte Mundthttp://community.qnx.com/sf/go/post865932011-06-14T14:37:12Z2011-06-14T14:37:12ZCan 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.
- MalteMalte Mundt2011-06-14T14:37:12Zpost86591: Re: QNX post-installation problemMalte Mundthttp://community.qnx.com/sf/go/post865912011-06-14T14:34:40Z2011-06-14T14:34:40ZHi!
> 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!
- MalteMalte Mundt2011-06-14T14:34:40Zpost86564: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post865642011-06-10T18:25:38Z2011-06-10T18:25:38ZIs 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 Laskavaia2011-06-10T18:25:38Zpost86562: Re: how to load shared libraries symbols automaticallyAleksandar Ristovskihttp://community.qnx.com/sf/go/post865622011-06-10T18:23:45Z2011-06-10T18:23:45ZHis 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 Ristovski2011-06-10T18:23:45Zpost86561: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post865612011-06-10T18:20:45Z2011-06-10T18:20:45ZSee "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 Laskavaia2011-06-10T18:20:45Zpost86559: Re: how to load shared libraries symbols automaticallyAleksandar Ristovskihttp://community.qnx.com/sf/go/post865592011-06-10T18:09:08Z2011-06-10T18:09:08ZAndy 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 Ristovski2011-06-10T18:09:08Zpost86558: Re: how to load shared libraries symbols automaticallyMing Liuhttp://community.qnx.com/sf/go/post865582011-06-10T17:57:29Z2011-06-10T17:57:29ZThank you for your responses. Yes, please send me instructions for getting the exact version.Ming Liu2011-06-10T17:57:29Zpost86556: Re: how to load shared libraries symbols automaticallyAleksandar Ristovskihttp://community.qnx.com/sf/go/post865562011-06-10T17:22:34Z2011-06-10T17:22:34ZI 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 Ristovski2011-06-10T17:22:34Zpost86555: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post865552011-06-10T17:19:36Z2011-06-10T17:19:36ZIt 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/post86554Elena Laskavaia2011-06-10T17:19:36Zpost86554: Re: how to load shared libraries symbols automaticallyMing Liuhttp://community.qnx.com/sf/go/post865542011-06-10T16:10:10Z2011-06-10T16:10:10ZHi, 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 Liu2011-06-10T16:10:10Zpost86408: Re: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post864082011-06-02T18:41:02Z2011-06-02T18:41:02ZThanks a lot. It works!Victor Chen2011-06-02T18:41:02Zpost86378: QNX post-installation problemHieronim Fethttp://community.qnx.com/sf/go/post863782011-06-02T10:46:03Z2011-06-02T10:46:03ZHello,
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 Fet2011-06-02T10:46:03Zpost86353: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post863532011-06-01T20:14:01Z2011-06-01T20:14:01Zback 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 Laskavaia2011-06-01T20:14:01Zpost86352: Re: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post863522011-06-01T20:09:12Z2011-06-01T20:09:12ZThanks. 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 Chen2011-06-01T20:09:12Zpost86351: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post863512011-06-01T19:15:03Z2011-06-01T19:15:03ZYou 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/post86349Elena Laskavaia2011-06-01T19:15:03Zpost86349: Re: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post863492011-06-01T18:21:00Z2011-06-01T18:21:00ZPlease 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,
VictorVictor Chen2011-06-01T18:21:00Zpost86348: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post863482011-06-01T17:32:27Z2011-06-01T17:32:27ZSure 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 Laskavaia2011-06-01T17:32:27Zpost86346: Re: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post863462011-06-01T16:47:29Z2011-06-01T16:47:29ZI 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 Chen2011-06-01T16:47:29Zpost86304: Re: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post863042011-05-31T19:44:44Z2011-05-31T19:44:44ZI 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 Chen2011-05-31T19:44:44Zpost86301: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post863012011-05-31T19:09:16Z2011-05-31T19:09:16ZBtw 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 Laskavaia2011-05-31T19:09:16Zpost86300: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post863002011-05-31T19:04:05Z2011-05-31T19:04:05ZIs 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 Laskavaia2011-05-31T19:04:05Zpost86299: Re: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post862992011-05-31T18:38:03Z2011-05-31T18:38:03ZThese 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 Chen2011-05-31T18:38:03Zpost86298: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post862982011-05-31T18:15:22Z2011-05-31T18:15:22ZIf 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 Laskavaia2011-05-31T18:15:22Zpost86296: Re: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post862962011-05-31T17:58:40Z2011-05-31T17:58:40ZYes, 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,
VictorVictor Chen2011-05-31T17:58:40Zpost86279: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post862792011-05-31T00:20:10Z2011-05-31T00:20:10ZLoading 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 Laskavaia2011-05-31T00:20:10Zpost86277: Re: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post862772011-05-30T21:58:38Z2011-05-30T21:58:38ZI 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,
VictorVictor Chen2011-05-30T21:58:38Zpost86271: Re: how to load shared libraries symbols automaticallyElena Laskavaiahttp://community.qnx.com/sf/go/post862712011-05-30T17:09:15Z2011-05-30T17:09:15ZCheck 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 Laskavaia2011-05-30T17:09:15Zpost86269: how to load shared libraries symbols automaticallyVictor Chenhttp://community.qnx.com/sf/go/post862692011-05-30T16:15:52Z2011-05-30T16:15:52ZI'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 ChenVictor Chen2011-05-30T16:15:52Zpost86257: Re: Runing QNX in VirtualBoxThomas O'Dellhttp://community.qnx.com/sf/go/post862572011-05-30T13:57:02Z2011-05-30T13:57:02ZUpdate 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'DellThomas O'Dell2011-05-30T13:57:02Zpost86138: Re: #include pathsMark Levyhttp://community.qnx.com/sf/go/post861382011-05-25T17:26:57Z2011-05-25T17:26:57ZI beilieve I have seen that adding "extra include paths" does not affect the #include<> form. Anybod care to comment on that?Mark Levy2011-05-25T17:26:57Zpost86095: #include pathsMark Levyhttp://community.qnx.com/sf/go/post860952011-05-24T19:17:30Z2011-05-24T19:17:30ZI 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 Levy2011-05-24T19:17:30Zpost86023: log2Mark Levyhttp://community.qnx.com/sf/go/post860232011-05-20T20:15:00Z2011-05-20T20:15:00ZI 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 Levy2011-05-20T20:15:00Zpost85881: RE: Momentics 4.7 on Suse 11.4 problemsElena Laskavaiahttp://community.qnx.com/sf/go/post858812011-05-18T22:48:21Z2011-05-18T22:48:21ZYou 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/post85880Elena Laskavaia2011-05-18T22:48:21Zpost85880: Momentics 4.7 on Suse 11.4 problemsZoltan Molnarhttp://community.qnx.com/sf/go/post858802011-05-18T22:42:28Z2011-05-18T22:42:28ZHi 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 YouZoltan Molnar2011-05-18T22:42:28Zpost85676: Trying to load vendor-supplied code.Mark Levyhttp://community.qnx.com/sf/go/post856762011-05-13T17:56:30Z2011-05-13T17:56:30ZI 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 Levy2011-05-13T17:56:30Zpost85343: Re: Can't UninstallLes Thalerhttp://community.qnx.com/sf/go/post853432011-05-02T22:12:04Z2011-05-02T22:12:04ZWhat was the fix? I'm having the same problem...Les Thaler2011-05-02T22:12:04Zpost84960: Re: Spelling dictionary in Momentics neededTamara Fehlberghttp://community.qnx.com/sf/go/post849602011-04-14T00:26:17Z2011-04-14T00:26:17ZThank 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 Fehlberg2011-04-14T00:26:17Zpost84959: Re: Spelling dictionary in Momentics neededTamara Fehlberghttp://community.qnx.com/sf/go/post849592011-04-14T00:22:19Z2011-04-14T00:22:19ZThank 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 Fehlberg2011-04-14T00:22:19Zpost84943: Re: Spelling dictionary in Momentics neededElena Laskavaiahttp://community.qnx.com/sf/go/post849432011-04-13T15:32:55Z2011-04-13T15:32:55Zfrom 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/post84917Elena Laskavaia2011-04-13T15:32:55Zpost84917: Re: Spelling dictionary in Momentics neededTamara Fehlberghttp://community.qnx.com/sf/go/post849172011-04-13T00:42:04Z2011-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 Fehlberg2011-04-13T00:42:04Zpost84899: Re: Spelling dictionary in Momentics neededElena Laskavaiahttp://community.qnx.com/sf/go/post848992011-04-12T13:54:04Z2011-04-12T13:54:04ZThat 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 Laskavaia2011-04-12T13:54:04Zpost84885: Spelling dictionary in Momentics neededTamara Fehlberghttp://community.qnx.com/sf/go/post848852011-04-12T03:35:52Z2011-04-12T03:35:52ZThe 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 Fehlberg2011-04-12T03:35:52Zpost84884: Line wrapping class constructor initialization list in MomenticsTamara Fehlberghttp://community.qnx.com/sf/go/post848842011-04-12T03:33:51Z2011-04-12T03:33:51ZIs 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 Fehlberg2011-04-12T03:33:51Zpost84378: Reading and Writing to files on Target MachineNick Hayeshttp://community.qnx.com/sf/go/post843782011-03-29T16:18:04Z2011-03-29T16:18:04ZI 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 Hayes2011-03-29T16:18:04Zpost84140: real time data acquisition from usbarun kumarhttp://community.qnx.com/sf/go/post841402011-03-21T18:24:02Z2011-03-21T18:24:02ZI 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 regardsarun kumar2011-03-21T18:24:02Zpost84070: Student Version for QNX Momentics 6.4.1Simon Bergerhttp://community.qnx.com/sf/go/post840702011-03-17T15:36:40Z2011-03-17T15:36:40ZHello 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??
GreetingsSimon Berger2011-03-17T15:36:40Zpost83961: Re: Patch 1064Evgeny Lvovhttp://community.qnx.com/sf/go/post839612011-03-14T07:55:45Z2011-03-14T07:55:45ZForgot.
It is for QNX 6.3.2Evgeny Lvov2011-03-14T07:55:45Zpost83960: Patch 1064Evgeny Lvovhttp://community.qnx.com/sf/go/post839602011-03-14T07:53:22Z2011-03-14T07:53:22ZHello.
Where I can download Patch 1064 ?
This patch include drivers for 965GM, Q35, G33 video chipsets.Evgeny Lvov2011-03-14T07:53:22Zpost83958: Re: Seeking Information - QNX Process Control BlockAndrew Bendallhttp://community.qnx.com/sf/go/post839582011-03-14T02:26:25Z2011-03-14T02:26:25ZIf 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 Bendall2011-03-14T02:26:25Zpost83957: Re: Seeking Information - QNX Process Control BlockPeter Weberhttp://community.qnx.com/sf/go/post839572011-03-13T20:03:07Z2011-03-13T20:03:07Zhttp://www.qnx.com/developers/docs/6.5.0/index.jspPeter Weber2011-03-13T20:03:07Zpost83956: Seeking Information - QNX Process Control BlockAaron Whitehttp://community.qnx.com/sf/go/post839562011-03-13T18:59:53Z2011-03-13T18:59:53ZGreetings!
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?
AaronAaron White2011-03-13T18:59:53Zpost83918: Re: Reading from a file and outputting to a fileAleksandar Ristovskihttp://community.qnx.com/sf/go/post839182011-03-11T06:09:10Z2011-03-11T06:09:10ZOn 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 Ristovski2011-03-11T06:09:10Zpost83913: Re: Reading from a file and outputting to a fileNick Hayeshttp://community.qnx.com/sf/go/post839132011-03-10T21:16:29Z2011-03-10T21:16:29ZWe 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 sqrtNick Hayes2011-03-10T21:16:29Zpost83908: Re: Reading from a file and outputting to a fileElena Laskavaiahttp://community.qnx.com/sf/go/post839082011-03-10T20:30:42Z2011-03-10T20:30:42ZANSI 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 Laskavaia2011-03-10T20:30:42Zpost83906: QNX Typically Hardware SpecificationDmitry Ivanovhttp://community.qnx.com/sf/go/post839062011-03-10T18:06:01Z2011-03-10T18:06:01ZHello.
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 Ivanov2011-03-10T18:06:01Zpost83903: Reading from a file and outputting to a fileNick Hayeshttp://community.qnx.com/sf/go/post839032011-03-10T16:59:43Z2011-03-10T16:59:43ZI'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 Hayes2011-03-10T16:59:43Zpost83830: Re: RE: RE: RE: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post838302011-03-08T17:48:04Z2011-03-08T17:48:04ZThanks 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 Hayes2011-03-08T17:48:04Zpost83801: RE: RE: RE: Momentics IDE 4.7 build error in hello world tutorialSteve Reidhttp://community.qnx.com/sf/go/post838012011-03-07T22:45:16Z2011-03-07T22:45:16ZNo, 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/post83800Steve Reid2011-03-07T22:45:16Zpost83800: Re: RE: RE: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post838002011-03-07T22:37:26Z2011-03-07T22:37:26ZOur 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 Hayes2011-03-07T22:37:26Zpost83765: Installation issueSophie Zhuhttp://community.qnx.com/sf/go/post837652011-03-05T07:38:28Z2011-03-05T07:38:28ZI'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 ZhuSophie Zhu2011-03-05T07:38:28Zpost83726: RE: RE: Momentics IDE 4.7 build error in hello world tutorialMario Charesthttp://community.qnx.com/sf/go/post837262011-03-03T17:13:02Z2011-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 Charest2011-03-03T17:13:02Zpost83725: Re: RE: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post837252011-03-03T16:54:51Z2011-03-03T16:54:51ZHi 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 Hayes2011-03-03T16:54:51Zpost82757: Re: installation problem -> null\FontsJerry Cruzhttp://community.qnx.com/sf/go/post827572011-01-30T07:40:32Z2011-01-30T07:40:32ZI was able to get around it :) Please disregard this post
thanks
JerryJerry Cruz2011-01-30T07:40:32Zpost82756: installation problem -> null\FontsJerry Cruzhttp://community.qnx.com/sf/go/post827562011-01-30T06:02:25Z2011-01-30T06:02:25ZHi,
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 !
JerryJerry Cruz2011-01-30T06:02:25Zpost82699: Re: Momentics IDE 4.7 build error in hello world tutorialSteve Reidhttp://community.qnx.com/sf/go/post826992011-01-27T19:39:25Z2011-01-27T19:39:25ZHere'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 SystemsSteve Reid2011-01-27T19:39:25Zpost82696: Re: Momentics IDE 4.7 build error in hello world tutorialElena Laskavaiahttp://community.qnx.com/sf/go/post826962011-01-27T18:42:53Z2011-01-27T18:42:53ZPlease 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 Laskavaia2011-01-27T18:42:53Zpost82695: Re: RE: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post826952011-01-27T18:25:52Z2011-01-27T18:25:52ZWe 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 Hayes2011-01-27T18:25:52Zpost78487: Re: RE: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post784872010-12-13T19:13:08Z2010-12-13T19:13:08ZThanks 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,
NickNick Hayes2010-12-13T19:13:08Zpost78236: RE: Momentics IDE 4.7 build error in hello world tutorialAndy Jinhttp://community.qnx.com/sf/go/post782362010-12-10T02:08:45Z2010-12-10T02:08:45ZHi, 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/post78207Andy Jin2010-12-10T02:08:45Zpost78207: Re: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post782072010-12-09T22:07:16Z2010-12-09T22:07:16ZWe 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 Hayes2010-12-09T22:07:16Zpost77483: Re: RE: Remote photon vs Phindows?Saul Ahttp://community.qnx.com/sf/go/post774832010-12-06T19:22:30Z2010-12-06T19:22:30ZThanks
/ S.Saul A2010-12-06T19:22:30Zpost77482: Re: Momentics IDE 4.7 build error in hello world tutorialElena Laskavaiahttp://community.qnx.com/sf/go/post774822010-12-06T19:16:03Z2010-12-06T19:16:03ZWhat 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 Laskavaia2010-12-06T19:16:03Zpost77481: Re: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post774812010-12-06T19:11:19Z2010-12-06T19:11:19ZI 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 Hayes2010-12-06T19:11:19Zpost77459: RE: Remote photon vs Phindows?Max Feilhttp://community.qnx.com/sf/go/post774592010-12-06T17:09:42Z2010-12-06T17:09:42ZThe "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/post77450Max Feil2010-12-06T17:09:42Zpost77450: Remote photon vs Phindows?Saul Ahttp://community.qnx.com/sf/go/post774502010-12-06T16:44:57Z2010-12-06T16:44:57ZWhen 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 A2010-12-06T16:44:57Zpost77423: Re: Momentics IDE 4.7 build error in hello world tutorialSaul Ahttp://community.qnx.com/sf/go/post774232010-12-06T15:25:00Z2010-12-06T15:25:00ZThis 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 A2010-12-06T15:25:00Zpost77382: Re: Momentics IDE 4.7 build error in hello world tutorialElena Laskavaiahttp://community.qnx.com/sf/go/post773822010-12-06T04:04:40Z2010-12-06T04:04:40ZSorry I did not read the whole thread. What is the full console output?Elena Laskavaia2010-12-06T04:04:40Zpost77381: Re: Momentics IDE 4.7 build error in hello world tutorialElena Laskavaiahttp://community.qnx.com/sf/go/post773812010-12-06T04:02:50Z2010-12-06T04:02:50ZAnd?
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 Laskavaia2010-12-06T04:02:50Zpost77216: Re: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post772162010-12-04T00:27:34Z2010-12-04T00:27:34ZI 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 Hayes2010-12-04T00:27:34Zpost76782: System time is running very fastNickolay Orekhovhttp://community.qnx.com/sf/go/post767822010-12-02T10:42:24Z2010-12-02T10:42:24ZI'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 Orekhov2010-12-02T10:42:24Zpost76427: Re: Momentics IDE 4.7 build error in hello world tutorialElena Laskavaiahttp://community.qnx.com/sf/go/post764272010-11-30T14:42:46Z2010-11-30T14:42:46ZWhat 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 Laskavaia2010-11-30T14:42:46Zpost76378: Momentics IDE 4.7 build error in hello world tutorialNick Hayeshttp://community.qnx.com/sf/go/post763782010-11-30T01:27:38Z2010-11-30T01:27:38ZI 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 Hayes2010-11-30T01:27:38Zpost75846: Re: RE: License Check Failure: no qnxlic in java.library.pathNathan Ignatzhttp://community.qnx.com/sf/go/post758462010-11-24T18:19:36Z2010-11-24T18:19:36ZI had to re-install QNX6.4.0 that solved the problem.Nathan Ignatz2010-11-24T18:19:36Zpost75841: Re: File not found errorElena Laskavaiahttp://community.qnx.com/sf/go/post758412010-11-24T17:31:48Z2010-11-24T17:31:48ZInstall 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 Laskavaia2010-11-24T17:31:48Zpost75838: File not found errorCraig Olneyhttp://community.qnx.com/sf/go/post758382010-11-24T17:26:16Z2010-11-24T17:26:16ZI 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 OlneyCraig Olney2010-11-24T17:26:16Zpost75775: Re: a error of Shared Library ,help ! help ! help !Elena Laskavaiahttp://community.qnx.com/sf/go/post757752010-11-24T14:16:56Z2010-11-24T14:16:56ZIf 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 Laskavaia2010-11-24T14:16:56Zpost75753: a error of Shared Library ,help ! help ! help !li jianfenghttp://community.qnx.com/sf/go/post757532010-11-24T05:50:53Z2010-11-24T05:50:53ZNow, 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 jianfeng2010-11-24T05:50:53Zpost75460: RE: License Check Failure: no qnxlic in java.library.pathAndy Jinhttp://community.qnx.com/sf/go/post754602010-11-21T23:47:52Z2010-11-21T23:47:52ZWhat 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/post75458Andy Jin2010-11-21T23:47:52Zpost75458: Re: License Check Failure: no qnxlic in java.library.pathNathan Ignatzhttp://community.qnx.com/sf/go/post754582010-11-21T22:44:14Z2010-11-21T22:44:14ZI 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 Ignatz2010-11-21T22:44:14Zpost75438: Re: Version of Development suite vs. target OSSaul Ahttp://community.qnx.com/sf/go/post754382010-11-20T19:20:09Z2010-11-20T19:20:09ZThe 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 A2010-11-20T19:20:09Zpost75421: Re: License Check Failure: no qnxlic in java.library.pathElena Laskavaiahttp://community.qnx.com/sf/go/post754212010-11-20T01:32:02Z2010-11-20T01:32:02ZWhat 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 Laskavaia2010-11-20T01:32:02Zpost75413: Re: License Check Failure: no qnxlic in java.library.pathNathan Ignatzhttp://community.qnx.com/sf/go/post754132010-11-19T23:26:05Z2010-11-19T23:26:05ZI 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 Ignatz2010-11-19T23:26:05Zpost74933: Re: Version of Development suite vs. target OSSaul Ahttp://community.qnx.com/sf/go/post749332010-11-17T15:21:36Z2010-11-17T15:21:36ZSeems 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 A2010-11-17T15:21:36Zpost74910: Re: Version of Development suite vs. target OSElena Laskavaiahttp://community.qnx.com/sf/go/post749102010-11-17T12:55:09Z2010-11-17T12:55:09ZThis 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 Laskavaia2010-11-17T12:55:09Zpost74907: RE: Version of Development suite vs. target OSAndy Jinhttp://community.qnx.com/sf/go/post749072010-11-17T12:20:22Z2010-11-17T12:20:22ZSaul, 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,
-- SAndy Jin2010-11-17T12:20:22Zpost74906: Re: Version of Development suite vs. target OSSaul Ahttp://community.qnx.com/sf/go/post749062010-11-17T12:00:18Z2010-11-17T12:00:18ZAndy, 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,
-- SSaul A2010-11-17T12:00:18Zpost74897: RE: Version of Development suite vs. target OSAndy Jinhttp://community.qnx.com/sf/go/post748972010-11-17T02:11:12Z2010-11-17T02:11:12ZYou 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 Jin2010-11-17T02:11:12Zpost74896: Re: Version of Development suite vs. target OSSaul Ahttp://community.qnx.com/sf/go/post748962010-11-17T01:41:53Z2010-11-17T01:41:53ZI 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 A2010-11-17T01:41:53Zpost74806: Re: Version of Development suite vs. target OSElena Laskavaiahttp://community.qnx.com/sf/go/post748062010-11-16T15:29:28Z2010-11-16T15:29:28ZNo 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 Laskavaia2010-11-16T15:29:28Zpost74800: Re: Version of Development suite vs. target OSSaul Ahttp://community.qnx.com/sf/go/post748002010-11-16T15:13:58Z2010-11-16T15:13:58ZElena, 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,
SaulSaul A2010-11-16T15:13:58Zpost74796: Re: Version of Development suite vs. target OSElena Laskavaiahttp://community.qnx.com/sf/go/post747962010-11-16T15:02:08Z2010-11-16T15:02:08ZIDE 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 Laskavaia2010-11-16T15:02:08Zpost74791: Version of Development suite vs. target OSSaul Ahttp://community.qnx.com/sf/go/post747912010-11-16T14:56:18Z2010-11-16T14:56:18ZIs 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,
SaulSaul A2010-11-16T14:56:18Zpost74762: Re: Running Momentics using the VirtualBox Virtual MachineWłodek Atopocohttp://community.qnx.com/sf/go/post747622010-11-16T12:12:00Z2010-11-16T12:12:00ZI 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 Atopoco2010-11-16T12:12:00Zpost74487: Re: Running Momentics using the VirtualBox Virtual MachineWłodek Atopocohttp://community.qnx.com/sf/go/post744872010-11-12T16:43:53Z2010-11-12T16:43:53ZI'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 Atopoco2010-11-12T16:43:53Zpost73520: Re: Why network adapter not enumerated?Saul Ahttp://community.qnx.com/sf/go/post735202010-11-04T12:36:37Z2010-11-04T12:36:37ZSolved. 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 A2010-11-04T12:36:37Zpost73391: Why network adapter not enumerated?Saul Ahttp://community.qnx.com/sf/go/post733912010-11-03T04:01:08Z2010-11-03T04:01:08ZI 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 A2010-11-03T04:01:08Zpost73108: Re: RE: How to create a "project container" in IDE v.4.6?Saul Ahttp://community.qnx.com/sf/go/post731082010-11-01T00:30:41Z2010-11-01T00:30:41ZThanks, 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 A2010-11-01T00:30:41Zpost73073: RE: How to create a "project container" in IDE v.4.6?Andy Jinhttp://community.qnx.com/sf/go/post730732010-10-30T11:40:53Z2010-10-30T11:40:53ZA 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 Jin2010-10-30T11:40:53Zpost73071: Re: How to create a "project container" in IDE v.4.6?Saul Ahttp://community.qnx.com/sf/go/post730712010-10-30T03:29:15Z2010-10-30T03:29:15ZWorking 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 A2010-10-30T03:29:15Zpost72762: Re: How to create a "project container" in IDE v.4.6?Elena Laskavaiahttp://community.qnx.com/sf/go/post727622010-10-28T11:25:39Z2010-10-28T11:25:39ZYou 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 Laskavaia2010-10-28T11:25:39Zpost72734: RE: RE: How to create a "project container" in IDE v.4.6?Andy Jinhttp://community.qnx.com/sf/go/post727342010-10-28T00:31:05Z2010-10-28T00:31:05ZYou 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/post72733Andy Jin2010-10-28T00:31:05Zpost72733: Re: RE: How to create a "project container" in IDE v.4.6?Saul Ahttp://community.qnx.com/sf/go/post727332010-10-28T00:01:50Z2010-10-28T00:01:50ZThank 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 A2010-10-28T00:01:50Zpost72726: RE: How to create a "project container" in IDE v.4.6?Andy Jinhttp://community.qnx.com/sf/go/post727262010-10-27T21:18:51Z2010-10-27T21:18:51ZUse "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,
- SAndy Jin2010-10-27T21:18:51Z