Feed for discussion General in project IDE.Posts for Generalpost122114: Re: Momentics 7.1 can imports QNX6.5/6.6 projects?mario sangallihttp://community.qnx.com/sf/go/post1221142023-01-10T15:09:57Z2023-01-10T15:09:57ZThanks, it works.
Mariomario sangalli2023-01-10T15:09:57Zpost122113: Re: Momentics 7.1 can imports QNX6.5/6.6 projects?Elena Laskavaiahttp://community.qnx.com/sf/go/post1221132023-01-10T14:46:07Z2023-01-10T14:46:07ZYou just have to manually add it. Go to Window->Preference select QNX and top page will
have SDP selected, select the sdk paths and add via this this page, then select it from drop downElena Laskavaia2023-01-10T14:46:07Zpost122112: Re: Momentics 7.1 can imports QNX6.5/6.6 projects?mario sangallihttp://community.qnx.com/sf/go/post1221122023-01-10T14:41:59Z2023-01-10T14:41:59ZThank, Elena: we have and active plan and a 7.1 license.
We have also the 6.5 and 6.6 os installed: when I've installed QNX 7.0 the ide has automatically
discovered all QNX version, but when I've installed the new software center and Momentics
Version 7.1.2.v202203081633 for qnx7.1 the QNX6.5 and QNX6.6 seems no more supported.
Mariomario sangalli2023-01-10T14:41:59Zpost122111: Re: Momentics 7.1 can imports QNX6.5/6.6 projects?Elena Laskavaiahttp://community.qnx.com/sf/go/post1221112023-01-10T14:27:04Z2023-01-10T14:27:04ZYes it should be possible. However you need 7,1 license or you have to acquire it via support channel if you have active support plan with 6.5Elena Laskavaia2023-01-10T14:27:04Zpost122110: Momentics 7.1 can imports QNX6.5/6.6 projects?mario sangallihttp://community.qnx.com/sf/go/post1221102023-01-10T09:54:48Z2023-01-10T09:54:48ZIs it possible to use the latest momentics 7.1 to supports old 6.5 / 6.6 projects ?
Thanks for support
Mariomario sangalli2023-01-10T09:54:48Zpost121987: Re: Virtual Machine incorrect settingmario sangallihttp://community.qnx.com/sf/go/post1219872022-10-28T14:13:57Z2022-10-28T14:13:57ZThank You very much!
it is fixed now!
Mariomario sangalli2022-10-28T14:13:57Zpost121986: Re: Virtual Machine incorrect settingRoger Macleanhttp://community.qnx.com/sf/go/post1219862022-10-28T13:55:54Z2022-10-28T13:55:54ZYou can edit the files mkqnximage uses to construct the images. SoftwareCenter might complain about the integrity of your package but you can ignore that.
The files you'll need to edit are:
For libcurl and libcares
$QNX_HOST/../../common/mkqnximage/snippets/system_files.builtin
For libpng
$QNX_HOST/../../common/mkqnximage/opt_scripts/opt_graphicsRoger Maclean2022-10-28T13:55:54Zpost121985: Re: Virtual Machine incorrect settingmario sangallihttp://community.qnx.com/sf/go/post1219852022-10-28T13:43:21Z2022-10-28T13:43:21ZI' ve already created a number of VM, with different emulator (vmware, virtual box)
all with same problem: so will I have to manually edit each time the system.build?
Thanks
Mariomario sangalli2022-10-28T13:43:21Zpost121984: Re: Virtual Machine incorrect settingElena Laskavaiahttp://community.qnx.com/sf/go/post1219842022-10-28T13:37:41Z2022-10-28T13:37:41ZIt may be caching wrong stuff, or wrong stuff is there in a first place. Try to create new vm - if it has same issue - you would have to edit build files manually to correctElena Laskavaia2022-10-28T13:37:41Zpost121983: Re: Virtual Machine incorrect settingmario sangallihttp://community.qnx.com/sf/go/post1219832022-10-28T13:33:04Z2022-10-28T13:33:04ZElena, this is a rebuild of VM: it appears to me that the rigth spd is in use.....
Thanks for the support.
--- vm1 - process is launched with arguments [D:\qnx710\host\win64\x86_64\usr\bin\bash D:/qnx710/host/common/bin/mkqnximage --noprompt --stop]
--- to copy text from this console use Shift+Ctrl+C
--- vm1 - process done
--- vm1 - process is launched with arguments [D:\qnx710\host\win64\x86_64\usr\bin\bash D:/qnx710/host/common/bin/mkqnximage --noprompt --run]
--- to copy text from this console use Shift+Ctrl+C
--- vm1 - process done
--- vm1 - process is launched with arguments [D:\qnx710\host\win64\x86_64\usr\bin\bash D:/qnx710/host/common/bin/mkqnximage --noprompt --stop]
--- to copy text from this console use Shift+Ctrl+C
--- vm1 - process done
--- vm1 - process is launched with arguments [D:\qnx710\host\win64\x86_64\usr\bin\bash D:/qnx710/host/common/bin/mkqnximage --noprompt --stop]
--- to copy text from this console use Shift+Ctrl+Cmario sangalli2022-10-28T13:33:04Zpost121982: Re: Virtual Machine incorrect settingElena Laskavaiahttp://community.qnx.com/sf/go/post1219822022-10-28T13:18:02Z2022-10-28T13:18:02ZMake is not relevant I think you were talking about mkqnximage which is tool that build images, that
tool is not running with right SDP it seemsElena Laskavaia2022-10-28T13:18:02Zpost121981: Re: Virtual Machine incorrect settingmario sangallihttp://community.qnx.com/sf/go/post1219812022-10-28T13:13:52Z2022-10-28T13:13:52ZThanks Elena: and Yes, I'm using the software center to installa packages is spd.
I've installed both 7.0 and 7.1
And I'm quite sure the spd used is the 7.1, this is one line dumped from Momentics
console:
D:/qnx710/host/win64/x86_64/usr/bin/make.exe -j 1 -Co-le-v7 -fMakefile all
Eventually, is a clean up available?
Mariomario sangalli2022-10-28T13:13:52Zpost121980: Re: Virtual Machine incorrect settingElena Laskavaiahttp://community.qnx.com/sf/go/post1219802022-10-28T12:58:22Z2022-10-28T12:58:22ZAre you using qnx software center to install packages in sdp? Because it should not mismatch that badly, are you sure you not mixing between 7.0 and 7.1 sdp? Check that Momenitcs point to right sdp
There is was no font-freetype in 7.1 only in 7.0Elena Laskavaia2022-10-28T12:58:22Zpost121979: Virtual Machine incorrect settingmario sangallihttp://community.qnx.com/sf/go/post1219792022-10-28T12:35:20Z2022-10-28T12:35:20ZHi, I'm try to create a VM using Momentics IDE 7.1.2.v202203081633., for QNX7.1
VM used is vmware and x86_64 as target CPU, I've also specified --graphics=yes
During build of VM I see the following messages:
Generating system partition . . .
Warning: Host file 'usr/lib/libcurl.so.10' missing.
Warning: Host file 'usr/lib/libcares.so.4' missing.
Warning: Host file 'usr/bin/font-freetype' missing.
Warning: Host file 'usr/lib/libpng16.so.0' missing.
Digging into intallation I've found some misalligned library
'usr/lib/libcurl.so.10' missing. <== I've found libcurl.so.11
'usr/lib/libcares.so.4' missing. <== 've found libcares.so.6
'usr/lib/libpng16.so.0' missing. <== 've found libpng16.so.16
font-freetype is found into armle-v7\usr\bin\ but is missing for aarch64le and x86_64
but this file is present in the 7.0 installation.in all architecures
Question: way it is disappeared in some archs and where I can find it?
For the other missing dll it is required to edit the system.build file and change
the version number:
############################################
### Customization
#############################################
lib/libcurl.so.11=usr/lib/libcurl.so.11
lib/libcares.so.6=usr/lib/libcares.so.6
#########################################
## more libraries
#########################################
/lib/libpng16.so.16=usr/lib/libpng16.so.16
Thanks,
Mariomario sangalli2022-10-28T12:35:20Zpost121964: Klocwork insight support for QNX momentics IDElakshmisha honnegowdahttp://community.qnx.com/sf/go/post1219642022-10-18T09:49:31Z2022-10-18T09:49:31ZHi, I would like to know whether klocwork static code check is supported on QNX (Version: 7.0.3.v201804261557). If yes, how klocwork insight shall be invoked under IDE.lakshmisha honnegowda2022-10-18T09:49:31Zpost121834: Raspberry Pi4 and USB joystick - Support HID devices plugged into OTG hubsKiarash Aryan Kiahttp://community.qnx.com/sf/go/post1218342022-06-23T21:54:15Z2022-06-23T21:54:15ZHi
I want to connect a USB joystick (GWFSM003 by GWS) to a Raspberry pi4 and read the data of the joystick.
I am using Momentics IDE Version: 7.1.0 and set the target as aarch64le.
From QNX SDP 7.1: Raspberry Pi 4 Board (http://www.qnx.com/download/group.html?programid=48507 ), I want to use “USB OTG host controller” and I made sure that “pci-server” is running before USB driver. In my “rpi4.build” I have the following lines
…
## PCI Server: necessary to run this before USB driver
#######################################################################
display_msg Starting PCI Server...
pci-server -c --bus-scan-limit=1
waitfor /dev/pci 4
#######################################################################
## USB OTG Host Controller driver
#######################################################################
sh /proc/boot/usb_start.sh
mount -t dos /dev/hd0t11 /fs/ub0
….
###########################################################################
## USB-OTG
###########################################################################
/sbin/io-usb-otg=io-usb-otg
/sbin/usb=usb
usb_start.sh {
#!/bin/sh
vl805_version=`pci-tool -d 1:0:0 --read="CFG:0x50"`
version=`echo $vl805_version | sed -e "s/B1:D0:F0 CFG \\[50] //g"`
if [ $version == "00000000" ]; then
echo "Inform vc to load vl805 firmware"
mbox-bcm2711 notifyxhcireset=0x100000 2> /dev/null
fi
echo "Starting USB xHCI controller in the host mode (/dev/usb/*)..."
io-usb-otg -t memory=below1G -d bcm2711-xhci pindex=0,memory=below1G
#####
io-usb-otg -d hcd-bcm2711-xhci
#####
waitfor /dev/usb/io-usb-otg 4
waitfor /dev/usb/devu-hcd-bcm2711-xhci.so 4 4
#####
devb-umass cam pnp mem name=below1G disk name=umass
#####
}
….
I also added “hiddi” library, and I can build my “rpi4.build” without any error/warning and when I copy the “ifs-rpi4.bin” into the SD card and turn on Raspberry Pi everything seems to be working. However, the joystick LED doesn’t turn on. Moreover, when I connect to Raspberry pi4 using “telent <ip_of_raspberr>” and use “usb” command, I will see the joystick (I know the Vendor(0x0e8f) and Product(0x0003)).
However, when I run my code to receive the data of joystick I will get
“cjoystick : Connection with HID driver failed: No such file or directory
Invalid device instance.”
I also put my files.
I appreciate if you can help me and address what is the problem and how I can solve it.Kiarash Aryan Kia2022-06-23T21:54:15Zpost121830: Re: gtest linking errorElena Laskavaiahttp://community.qnx.com/sf/go/post1218302022-06-20T13:21:26Z2022-06-20T13:21:26ZNot sure why you posting on IDE forum, but if I google it it brings this https://stackoverflow.com/questions/24820664/undefined-reference-to-testinginternaleqfailure-in-gtest
In gist it is a mismatch between header and library - make sure you header is from the same place as library, i.e. part of same sdp distributionElena Laskavaia2022-06-20T13:21:26Zpost121829: gtest linking errorTobias Dickhttp://community.qnx.com/sf/go/post1218292022-06-20T11:33:14Z2022-06-20T11:33:14ZHello,
i have trouble with linking gtest. When i work from command line is works fine(see below working example), but
when i try do the compile my gtest project with a makefile i get "undefined reference to `testing::internal::EqFailure..." during linking step. If i exclude the testcase the linking works fine an i can run the application, but without a TEST(...). I attached the *.cpp and *.h files of may project
I am using QNX Momentics version: 7.1.2 and compiling for v7.0.0 32bit.
working example:
qcc -std=gnu++0x -v -o gtests_main gtests_main.cpp gtests_case1.cpp -lgtest
error example:
make -j all
qcc -lang-c++ -V5.4.0,gcc_ntox86_gpp -g3 -Wall -Wp,-std=gnu++0x -o lib/gtests_case1.o -c gtests_case1.cpp
qcc -lang-c++ -V5.4.0,gcc_ntox86_gpp -g3 -Wall -Wp,-std=gnu++0x -o lib/gtests_main.o -c gtests_main.cpp
qcc -lang-c++ -V5.4.0,gcc_ntox86_gpp -o px3xtun_gtests -Wl,-lstdc++ ./lib/gtests_case1.o ./lib/gtests_main.o -lgtest
./lib/gtests_case1.o: In function `testing::AssertionResult testing::internal::CmpHelperEQ<double, int>(char const*, char const*, double const&, int const&)':
[...]/qnx700/target/qnx7/usr/include/gtest/gtest.h:1460: undefined reference to `testing::internal::EqFailure(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)'
cc: [...]/qnx700/host/win64/x86_64/usr/bin/i586-pc-nto-qnx7.0.0-ld caught signal 1
make: *** [all] Error 1
makefile:28: recipe for target 'all' failed
"make -j all" terminated with exit code 2. Build might be incomplete.Tobias Dick2022-06-20T11:33:14Zpost121825: Re: how to create the .img files from the build filesElena Laskavaiahttp://community.qnx.com/sf/go/post1218252022-06-14T13:34:48Z2022-06-14T13:34:48Zhttps://blackberry.qnx.com/en/supportElena Laskavaia2022-06-14T13:34:48Zpost121822: Re: how to create the .img files from the build filessahil Desouza(deleted)http://community.qnx.com/sf/go/post1218222022-06-14T04:15:08Z2022-06-14T04:15:08ZHow do i reach them?
And do i need license to get the support or is it free of cost?
Could you please share some link about the same as well?sahil Desouza(deleted)2022-06-14T04:15:08Zpost121820: Re: how to create the .img files from the build filesElena Laskavaiahttp://community.qnx.com/sf/go/post1218202022-06-13T12:58:58Z2022-06-13T12:58:58ZPlease constant you customer support representativeElena Laskavaia2022-06-13T12:58:58Zpost121819: how to create the .img files from the build filessahil Desouza(deleted)http://community.qnx.com/sf/go/post1218192022-06-13T10:06:52Z2022-06-13T10:06:52ZI'm able to build the HHBSP & BSP for x86-64 boards, but i don't know how to create the .img files now from the momentics IDE.
On building the HHBSP project ,Momentics IDE is generating only BUILD & BIN files but no image files are there.
I've tried to opening terminal in the MOMENTICS IDE & used mkifs command but that is giving error as "'mkifs' is not recognized as an internal or external command,operable program or batch file.
Any help please on how to create the image files?sahil Desouza(deleted)2022-06-13T10:06:52Zpost121818: Re: Facing Unknown attribute: num_sectors=409600 error while building the HHBSP Imagesahil Desouza(deleted)http://community.qnx.com/sf/go/post1218182022-06-11T04:58:05Z2022-06-11T04:58:05ZThis BSP is a generic one that is provided by QNX Software Center Only.
And build is getting completed if i'm removing UEFI_boot.BUILD , bios_root.BUILD & UEFI_root.BUILD Files from the Host_BSP/BSP_x86-64_br-700_be-700_SVN900813_JBN5199/images folder as attached in SS.
So we want to FLash our board(SA8155P ADP Board) with the Hypervisor & 1 Guest(Neutrino RTOS) ,
now the files generated in the ifs/ folder are hypervisor-FINAL-x86_64-generic.build & hypervisor-FINAL-x86_64-uefi.build files.
my doubt is if I create IFS Image Files(flash files to boot hypervisor) from these BUILD files, so will My Hypervisor image will get detected in the BOOT menu of the board?
or
Do I need UEFI_boot.BUILD , bios_root.BUILD & UEFI_root.BUILD these files as well to be generated under ifs/ & then only My Hypervisor image will get detected in the BOOT menu of the board?sahil Desouza(deleted)2022-06-11T04:58:05Zpost121817: Re: Facing Unknown attribute: num_sectors=409600 error while building the HHBSP ImageDavid Sarrazinhttp://community.qnx.com/sf/go/post1218172022-06-10T20:59:18Z2022-06-10T20:59:18ZHi,
The file you show is bios_root.build, and from the visible part on the screen, this is for creating a qnx6fs image. qnx6fs images are created with the "mkqnx6fsimg" tool, not the mkifs tool. There should be several calls to mkifs or mkqnx6fsimg to create the full output image. In the output you showd on the first post:
cat hypervisor-generic-arm.build >> hypervisor-board-specific.build
cat generated/ifs/hyp-bios_root.build hypervisor-board-specific.build hypervisor-common-arm.build hypervisor-common.build > generated/ifs/hypervisor-FINAL-bios_root.build
mkifs -vvv -r../install generated/ifs/hypervisor-FINAL-bios_root.build generated/ifs/hypervisor-ifs-bios_root.bin
Line 7: Unknown attribute: num_sectors=409600.
This won't work, because some of the input files to hypervisor-FINAL-bios_root.build are not IFS build files, but are qnx6fs build files.
that line should probably be a call to mkifs using only hypervisor-board-specific.build and then another call to mkqnx6fsimg.
I'm not familiar with this particular BSP, so I would ask whoever provided you this BSP for help about why the makefiles seem to be invoking the wrong programs.
> No, we didn't modify the BSP Buildfile for this.
> and which tool are you talking about?
>
> Which buildfiles are we supposed to modify as we are building only for
> Hypervisor & 1 QNX Neutrino RTOS as a Guest.
>
> One more thing, we didn't have download "Tools-FileSystem Image
> Utilities(windows 64-bit)" in QNX Software Center,& when we install that Tools
> & try to build the HHBSP in that Case, we get different errors like asmodff.
> def, recurse.mk etc.
>
> So, do we require those Tools Or not? And do we require any other software to
> download from Software Center?
>
> Here,i'm attaching the things we've downloaded in QNX Software Center.Pls
> comment if any other thing is also required.
>
> Thank You
Regards,
DavidDavid Sarrazin2022-06-10T20:59:18Zpost121816: Re: Facing Unknown attribute: num_sectors=409600 error while building the HHBSP Imagesahil Desouza(deleted)http://community.qnx.com/sf/go/post1218162022-06-10T04:55:15Z2022-06-10T04:55:15ZNo, we didn't modify the BSP Buildfile for this.
and which tool are you talking about?
Which buildfiles are we supposed to modify as we are building only for Hypervisor & 1 QNX Neutrino RTOS as a Guest.
One more thing, we didn't have download "Tools-FileSystem Image Utilities(windows 64-bit)" in QNX Software Center,& when we install that Tools & try to build the HHBSP in that Case, we get different errors like asmodff.def, recurse.mk etc.
So, do we require those Tools Or not? And do we require any other software to download from Software Center?
Here,i'm attaching the things we've downloaded in QNX Software Center.Pls comment if any other thing is also required.
Thank Yousahil Desouza(deleted)2022-06-10T04:55:15Zpost121815: Re: Facing Unknown attribute: num_sectors=409600 error while building the HHBSP ImageElena Laskavaiahttp://community.qnx.com/sf/go/post1218152022-06-09T13:06:27Z2022-06-09T13:06:27ZThis option for mkqnx6fsimg tool not mkifs - either build file is wrong, or tool that invoked on that is wrong
Did you modify this bsp?Elena Laskavaia2022-06-09T13:06:27Zpost121813: Facing Unknown attribute: num_sectors=409600 error while building the HHBSP Imagesahil Desouza(deleted)http://community.qnx.com/sf/go/post1218132022-06-09T03:50:16Z2022-06-09T03:50:16Zhi
I'm Trying to build the HHBSP image with the help of the momentics IDE.I've placed all the GUEST_BSP,HOST_BSP & all the required things at the specified places & have modified the configure.mk file.
But i'm facing the errors while building.
Error-
mkifs -vvv -r../install generated/ifs/hypervisor-FINAL-bios_root.build generated/ifs/hypervisor-ifs-bios_root.bin
Line 7: Unknown attribute: num_sectors=409600.
make[1]: *** [generated/ifs/hypervisor-ifs-bios_root.bin] Error 1
Makefile:167: recipe for target 'generated/ifs/hypervisor-ifs-bios_root.bin' failed
make: *** [images] Error 2
make[1]: Leaving directory 'C:/Users/mandsingh/ide-7.1-workspace/bsp-hypervisor-host/images'
Makefile:48: recipe for target 'images' failed
"make all" terminated with exit code 2. Build might be incomplete.
Further i'm attaching the console logs.
If anyone have idea related to this please reply.
Thankssahil Desouza(deleted)2022-06-09T03:50:16Zpost121664: QNX7.1 / Momentics7.debugger unusablemario sangallihttp://community.qnx.com/sf/go/post1216642021-12-21T10:35:42Z2021-12-21T10:35:42ZHi, I'm using the QNX7.1 with Momentics Version: 7.1.0.v202006141843
OS: Windows 10, v.10.0, x86_64 / win32 / Java version: 1.8.0_252
GDB Debugger seems to be quite unusable: very slow, impossible to break a running
process if a breakpoint is not reached.
The target system is running ok, I'm able to use telnet sessions and other utilities,
only the under-debug process have problems.
The IDE on PC is frozen and can't be interrupted, it can be forced to quit by windows
but no way to get it working.
On the same PC I've also the QNX6.5(Momentics 4.7.2)/QNX6.6(Momentics 5.0.1)
and when I use them I've no debugging problems (I've QNX6.5 and QNX6.6 targets).
Maybe there are some incompatibilities between QNX7.1/Momentics7.1 and the
other Qnx/Momentics installation?
Any suggestion ?
Thanks in advance
M. Sangallimario sangalli2021-12-21T10:35:42Zpost121640: Cant uninstall and reinstall QNX 632 correctly in Win 10 64 bit.mohan S(deleted)http://community.qnx.com/sf/go/post1216402021-10-27T18:43:14Z2021-10-27T18:43:14ZHi,
I made a Blunder Mistake,
Instead of using uninstaller, i deleted the C:/QNX632 folder and C:\Program Files (x86)\QNX Software Systems completely under C:/Windows/vpd.properties
Now after reinstalling QNX 632,I cant compile my old code that was working fine previously.
Attaching the log for reference.
I think i have messed up something.
I come across QNXWinCleanup.exe that can be used to cleanup previous version. Can anyone link me to the exe.
Any suggesting to help me find out where something related to previous installation is found..
Waiting
S Mohanmohan S(deleted)2021-10-27T18:43:14Zpost121633: Re: QNX Software Center Proxy settingsElena Laskavaiahttp://community.qnx.com/sf/go/post1216332021-10-25T13:02:59Z2021-10-25T13:02:59ZIf proxy type is supported it prompts for auth credentials.
Not all proxy types are supported, see
http://www.qnx.com/developers/docs/qsc/technotes/topic/about.html#serversElena Laskavaia2021-10-25T13:02:59Zpost121631: QNX Software Center Proxy settingsMichael Kurthttp://community.qnx.com/sf/go/post1216312021-10-25T08:07:09Z2021-10-25T08:07:09ZIn QNX Software Center (QNX SDP 7.0), it is possible to specify an IP addresses for a proxy server.
Because in our company, the proxy server needs authentication (username and password), simply entering the IP address of the proxy server, leads to connections failures in QNX Software Center because of the missing credentials.
Is there a way to specify username and password in QNX Software Center?
Regards,
Michael.Michael Kurt2021-10-25T08:07:09Zpost121575: Re: Linker and Extra librariesKiarash Aryan Kiahttp://community.qnx.com/sf/go/post1215752021-08-31T15:32:55Z2021-08-31T15:32:55ZTh solution is to add extra library in Makefile, find the commented out lines
#LIBS += -L/path/to/my/lib/$(PLATFORM)/usr/lib -lmylib
#LIBS += -L../mylib/$(OUTPUT_DIR) -lmylib
then, for example, you can modify it as follows :
LIBS += -L /usr/lib/socket -lsocket
make sure the to put the library in the same address in your target -> /usr/lib.
the reason that I put l before the name of the library is explained here: https://stackoverflow.com/questions/12054858/add-so-and-a-libraries-to-makefile?answertab=activeKiarash Aryan Kia2021-08-31T15:32:55Zpost121531: Re: Linker and Extra librariesKiarash Aryan Kiahttp://community.qnx.com/sf/go/post1215312021-07-23T18:50:03Z2021-07-23T18:50:03ZHi Elena,
following up on your instruction, I added the following line of code within my makefile:
LIBS += -L/C:\QNX\QNX_SDK\target\qnx7\aarch64le\usr\lib\perl5\5.32.0\aarch64-nto\auto\Socket -lSocket
I am not sure if I coded t correctly ( I used https://stackoverflow.com/questions/12054858/add-so-and-a-libraries-to-makefile?answertab=active).
PS: I want to add a socket library and use the available codes in this library, such as "accept".
http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.lib_ref/topic/a/accept.html
I got the following error when I build the project.
15:28:15 **** Incremental Build of configuration aarch64le-debug for project Lab2 ****
make -j8 all
q++ -Vgcc_ntoaarch64le_cxx -o build/aarch64le-debug/Lab2
build/aarch64le-debug/src/csocket.o
-L/C:\QNX\QNX_SDK\target\qnx7\aarch64le\usr\lib\perl5\5.32.0\aarch64-nto\auto\Socket -lSocket
C:\QNX\QNX_SDK\host\win64\x86_64\usr\bin\aarch64-unknown-nto-qnx7.1.0-ld: C:/QNX/QNX_SDK/target/qnx7/aarch64le/lib/crt1.o: in function `_start':
/builds/workspace/710-SDP/build_aarch64/lib/c/startup/aarch64/crt1.S:80: undefined reference to `main'
cc: C:/QNX/QNX_SDK/host/win64/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-ld caught signal 1
make: *** [build/aarch64le-debug/Lab2] Error 1
Makefile:66: recipe for target 'build/aarch64le-debug/Lab2' failed
"make -j8 all" terminated with exit code 2. Build might be incomplete.
Any help is highly appreciated.Kiarash Aryan Kia2021-07-23T18:50:03Zpost121523: Re: Linker and Extra librariesElena Laskavaiahttp://community.qnx.com/sf/go/post1215232021-07-20T18:32:26Z2021-07-20T18:32:26ZThis is not the same type of project. In this type of project you edit makefile manually.
If this is default makefile - if you open it it has commented out examples on how to add extra librariesElena Laskavaia2021-07-20T18:32:26Zpost121522: Re: Linker and Extra librariesKiarash Aryan Kiahttp://community.qnx.com/sf/go/post1215222021-07-20T17:44:34Z2021-07-20T17:44:34ZI appreciate your help.
I still have the problem as I couldn't find it in my IDE.
Please see the attached image.Kiarash Aryan Kia2021-07-20T17:44:34Zpost121512: Re: Linker and Extra librariesElena Laskavaiahttp://community.qnx.com/sf/go/post1215122021-07-15T13:15:00Z2021-07-15T13:15:00ZNo it is still there in you have recursive make managed project (see picture attached)Elena Laskavaia2021-07-15T13:15:00Zpost121509: Linker and Extra librariesKiarash Aryan Kiahttp://community.qnx.com/sf/go/post1215092021-07-14T22:48:39Z2021-07-14T22:48:39ZHi,
I am writing as I noticed in QNX IDE7.1, there is no option to select extra libraries from Linker as the one was available on IDE6.5. To elaborate more, I am running QNX on a Raspberry pi4(configuration: aarch64le) and trying to connect it via wireless, and I require to add a “socket” library from Linker.
Quick question:
Where is this option in IDE7.1?
http://www.qnx.com/developers/docs/6.5.0/index.jsp?topic=%2Fcom.qnx.doc.ide.userguide%2Ftopic%2Fwizards_LinkerExtraLib_.htmlKiarash Aryan Kia2021-07-14T22:48:39Zpost121496: Re: Code Coverage not working with my qnx 7.1 IDEElena Laskavaiahttp://community.qnx.com/sf/go/post1214962021-07-05T13:42:14Z2021-07-05T13:42:14ZCan you try example project?Elena Laskavaia2021-07-05T13:42:14Zpost121495: Re: Code Coverage not working with my qnx 7.1 IDEAanchal Kumarihttp://community.qnx.com/sf/go/post1214952021-07-05T13:39:09Z2021-07-05T13:39:09ZIts my own project.Aanchal Kumari2021-07-05T13:39:09Zpost121494: Re: Code Coverage not working with my qnx 7.1 IDEElena Laskavaiahttp://community.qnx.com/sf/go/post1214942021-07-05T13:09:36Z2021-07-05T13:09:36ZIs this Code Coverage example project or your own?Elena Laskavaia2021-07-05T13:09:36Zpost121491: Code Coverage not working with my qnx 7.1 IDEAanchal Kumarihttp://community.qnx.com/sf/go/post1214912021-07-03T18:21:46Z2021-07-03T18:21:46ZCode coverage feature is not working in my qnx 7.1 IDE. I can see the *.gcda and *.gcno files are getting created but iwhen I import the coverage data...it says the header file is 100% covered and the source file is 0% covered. Let me know if any dependencies needs to be installed. Or if any one has encountered this kind of issue.Aanchal Kumari2021-07-03T18:21:46Zpost121458: Re: Installing IDE 4.7 on recent LinuxElena Laskavaiahttp://community.qnx.com/sf/go/post1214582021-06-17T17:36:39Z2021-06-17T17:36:39ZYou have to install virtual environment (i.e. virtual box with old linux)Elena Laskavaia2021-06-17T17:36:39Zpost121457: Re: Installing IDE 4.7 on recent LinuxMartin Gagnonhttp://community.qnx.com/sf/go/post1214572021-06-17T17:31:37Z2021-06-17T17:31:37ZThanks Elena,
Newer IDE does not support Photon apps though...
Is there really no way to support legacy systems (6.4.0/6.5.0) that use Photon GUI on a recent Linux machine?Martin Gagnon2021-06-17T17:31:37Zpost121456: Re: Installing IDE 4.7 on recent LinuxElena Laskavaiahttp://community.qnx.com/sf/go/post1214562021-06-17T17:21:27Z2021-06-17T17:21:27ZNo IDE 4.7 does not run on modern os, it was release 10 years ago on 32 bit host arch
You need newer IDEElena Laskavaia2021-06-17T17:21:27Zpost121455: Installing IDE 4.7 on recent LinuxMartin Gagnonhttp://community.qnx.com/sf/go/post1214552021-06-17T15:13:52Z2021-06-17T15:13:52ZHi all,
I'm having problems installing the IDE 4.7 on a recent Linux distribution. I'm following these instructions: http://www.qnx.com/developers/docs/6.5.0_sp1/index.jsp?topic=%2Fcom.qnx.doc.momentics_installation_guide%2Flinux_hosts.html
I attempted on Pop OS 20.10, Debian 10 and Fedora 34 but couldn't get a working IDE on any of them.
Please see attached file for details.
Are there guidelines available for installing the IDE 4.7 on a recent Linux 64-bit system?
Any help appreciated. Thanks!Martin Gagnon2021-06-17T15:13:52Zpost121446: Re: QNX momentics coredump Debugging is not able to view source File.Elena Laskavaiahttp://community.qnx.com/sf/go/post1214462021-06-04T13:14:35Z2021-06-04T13:14:35ZIf you don't see library or binary that means debugger don't have symbols for these, source path is not
relevant. Abort is in libc, do you really symbols for that or for something that called it?
For later you need to give debugger path or where to find library compiled with debug symbols or .sym files
https://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/DebuggerFAQElena Laskavaia2021-06-04T13:14:35Zpost121445: QNX momentics coredump Debugging is not able to view source File.Saurav Suman(deleted)http://community.qnx.com/sf/go/post1214452021-06-04T11:05:46Z2021-06-04T11:05:46ZWhile trying to debug the coredump using momentics IDE, I am not able to trace source file.
Please let me know how to resolve this.
Thanks
Momentics Version: 7.1.0.v202006141843
More See image attached :Saurav Suman(deleted)2021-06-04T11:05:46Zpost121371: PowerPC qnx 6.5 compiler for linuxAhmad reza Malekian(deleted)http://community.qnx.com/sf/go/post1213712021-04-10T19:12:28Z2021-04-10T19:12:28ZI hope to develope my code on ppc base hardware by my host linux system and my target emplement on qnx os 6.5
I need to build my code in correspond compiler but i could not find my relating one, could anybody help me? Thank u🙏Ahmad reza Malekian(deleted)2021-04-10T19:12:28Zpost120674: Re: RE: RE: Breakpoints half workingDuncan Perrett(deleted)http://community.qnx.com/sf/go/post1206742020-05-22T13:12:31Z2020-05-22T13:12:31ZI've found a workaround detailed by me here
https://stackoverflow.com/questions/61819335/why-do-i-lose-my-debug-context-on-certain-breakpoints/61954414#61954414
and the screen recording here
https://youtu.be/d7_kPlRtB2M
Is there a bug or a better workaround?Duncan Perrett(deleted)2020-05-22T13:12:31Zpost120671: Re: RE: RE: Breakpoints half workingDuncan Perrett(deleted)http://community.qnx.com/sf/go/post1206712020-05-21T16:13:58Z2020-05-21T16:13:58ZI attach a picture that hopefully shows me keeping the symbols in sync.Duncan Perrett(deleted)2020-05-21T16:13:58Zpost120670: Re: RE: RE: Breakpoints half workingDave Nickersonhttp://community.qnx.com/sf/go/post1206702020-05-21T15:50:12Z2020-05-21T15:50:12ZFrom the steps shown, a sem_wait call was made, which results in a call to the kernel call SyncSemWait(). Since this is a kernel call, you won't have access to the source code for that call. It would appear that the semaphore's value is currently 0, resulting in this thread's state becoming SEM BLOCKED. You can confirm this state in System Information perspective, looking at the thread state information.
The thread cannot be stepped while it is in a blocked state. So until some thread does a sem_post to the semaphore that your thread is blocked on, you will remain in that current state.
I also highly suspect that if you are using the VMWare target image that was downloaded from the QNX Software Center and you have applied updates to your base SDP 7 installation, that you have a mismatch between libc.so on the target and the libc.so symbols that the IDE is referencing. While this is not a direct contributor to the specific behaviour that you are inquired about, if you have a mismatch it will cause other odd behaviour during debugging.Dave Nickerson2020-05-21T15:50:12Zpost120619: Re: RE: RE: Breakpoints half workingDuncan Perrett(deleted)http://community.qnx.com/sf/go/post1206192020-05-12T16:07:55Z2020-05-12T16:07:55ZHere is a screen recording to demonstrate my breakpoint problem on youtube...
https://youtu.be/EzadTQZeVAoDuncan Perrett(deleted)2020-05-12T16:07:55Zpost120617: RE: RE: Breakpoints half workingElena Laskavaiahttp://community.qnx.com/sf/go/post1206172020-05-12T13:46:55Z2020-05-12T13:46:55ZIf attach works fine it something to do with debugger setup, not related to target (except libc mismatch - but it seems like it not the case)
-----Original Message-----
From: Duncan Perrett <community-noreply@qnx.com>
Sent: Tuesday, May 12, 2020 8:54 AM
To: general-ide <general-ide@community.qnx.com>
Subject: Re: RE: Breakpoints half working
Hello,
Thankyou for the replies.
I am trying to get me QNX license renewed.
In the meantime I am wondering whether my problem is related to the omission of fsevmgr from the VM target image.
Do semaphores rely on fsevmgr and inotify being present in neutrino on the target?
I guess I could write a test program but I thought it was worth quickly asking anyway.
_______________________________________________
General
http://community.qnx.com/sf/go/post120615
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2020-05-12T13:46:55Zpost120615: Re: RE: Breakpoints half workingDuncan Perrett(deleted)http://community.qnx.com/sf/go/post1206152020-05-12T12:53:35Z2020-05-12T12:53:35ZHello,
Thankyou for the replies.
I am trying to get me QNX license renewed.
In the meantime I am wondering whether my problem is related to the omission of fsevmgr from the VM target image.
Do semaphores rely on fsevmgr and inotify being present in neutrino on the target?
I guess I could write a test program but I thought it was worth quickly asking anyway.Duncan Perrett(deleted)2020-05-12T12:53:35Zpost120609: Re: RE: Breakpoints half workingElena Laskavaiahttp://community.qnx.com/sf/go/post1206092020-05-11T15:08:24Z2020-05-11T15:08:24ZYou should probably contact QNX customer support as it this point we would have request more information and logs and not appropriate to exchange via public forumElena Laskavaia2020-05-11T15:08:24Zpost120608: Re: RE: Breakpoints half workingDuncan Perrett(deleted)http://community.qnx.com/sf/go/post1206082020-05-11T15:04:04Z2020-05-11T15:04:04ZI don't think it is related to shared libraries.
I have tried using Attach to Running Process instead and it seems to work correctly.
Why does my normal launch target not also work correctly (see attachment).Duncan Perrett(deleted)2020-05-11T15:04:04Zpost120607: Re: RE: Breakpoints half workingElena Laskavaiahttp://community.qnx.com/sf/go/post1206072020-05-11T14:24:57Z2020-05-11T14:24:57ZIs this in shared libraries?
http://community.qnx.com/sf/wiki/do/viewPage/projects.ide/wiki/DebuggerFAQElena Laskavaia2020-05-11T14:24:57Zpost120606: Re: RE: Breakpoints half workingDuncan Perrett(deleted)http://community.qnx.com/sf/go/post1206062020-05-11T14:20:06Z2020-05-11T14:20:06ZMsgNak received - resending
Remote target is little-endian
Reading symbols from C:\Users\Duncan\qnx700\target\qnx7\x86_64\usr\lib\ldqnx-64.so.2...(no debugging symbols found)...done.
0x000000010004f5d0 in _start_ () from C:\Users\Duncan\qnx700\target\qnx7\x86_64\usr\lib\ldqnx-64.so.2Duncan Perrett(deleted)2020-05-11T14:20:06Zpost120605: Re: RE: Breakpoints half workingElena Laskavaiahttp://community.qnx.com/sf/go/post1206052020-05-11T13:48:50Z2020-05-11T13:48:50ZDo you have warnings on console about libc mismatch? Or any other errors?Elena Laskavaia2020-05-11T13:48:50Zpost120604: Re: RE: Breakpoints half workingDuncan Perrett(deleted)http://community.qnx.com/sf/go/post1206042020-05-11T08:40:55Z2020-05-11T08:40:55ZThe program does stop and if I open the Debugger Console is tells me which breakpoint has been reached.
The Resume button is available but the step buttons are not.
There are no automatic changes in the editor.
I am in the Debug Perspective.
Even if I open the file manually in the editor, the line is not highlighted in green.
My versions are
Mometics Version: 7.0.4.v201905030143
QNX 7
My host is Windows 10 64-bit
My target is QNX Neutrino VMWare image for X86_64 from the QNX Software CenterDuncan Perrett(deleted)2020-05-11T08:40:55Zpost120595: RE: Breakpoints half workingElena Laskavaiahttp://community.qnx.com/sf/go/post1205952020-05-07T16:44:57Z2020-05-07T16:44:57ZI would need more details than that. What does it means exactly? It does not stop at all - means continue running?
Or it stops but does not open editor? In this case you can go to Debug view, find the frame and click there.
Sometimes it can stop at place which would not have source attached (i.e. when breakpoint hit - all thread are stopped,
some may be in os code which have no source)
-----Original Message-----
From: Duncan Perrett <community-noreply@qnx.com>
Sent: Thursday, May 7, 2020 12:34 PM
To: general-ide <general-ide@community.qnx.com>
Subject: Breakpoints half working
I can hit many breakpoints which work fine but I can also set ones (perhaps just before an imminent crash) which only show as hit in the Debugger Console but don't open in the Editor view and don't offer the step icons.
I am struggling to effectively debug the crashes because of this issue.
_______________________________________________
General
http://community.qnx.com/sf/go/post120594
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2020-05-07T16:44:57Zpost120594: Breakpoints half workingDuncan Perrett(deleted)http://community.qnx.com/sf/go/post1205942020-05-07T16:33:40Z2020-05-07T16:33:40ZI can hit many breakpoints which work fine but I can also set ones (perhaps just before an imminent crash) which only show as hit in the Debugger Console but don't open in the Editor view and don't offer the step icons.
I am struggling to effectively debug the crashes because of this issue.Duncan Perrett(deleted)2020-05-07T16:33:40Zpost120500: Re: Changing keyboard layoutDave Nickersonhttp://community.qnx.com/sf/go/post1205002020-04-22T19:42:58Z2020-04-22T19:42:58ZSorry for the late reply, I have not been in this discussion group for a while. QNX does ship a keyboard definition table for the US and for the German keyboards.
You will need to copy the German keyboard definition file from the SDP installation to your target.
For complete instructions see:
http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.neutrino.utilities/topic/d/devc-con.html
and search for the section titled:
"International keyboard layouts"
- DaveDave Nickerson2020-04-22T19:42:58Zpost120077: Re: Latest updateElena Laskavaiahttp://community.qnx.com/sf/go/post1200772019-11-06T14:22:13Z2019-11-06T14:22:13ZThe 7.0.4.v201905030143 is the correct number, we will update the
release notes, thank you
On 2019-11-06 9:09 a.m., Igor Rondarev wrote:
> Thank you! Noted that Build ID in relnotes (Build 7.0.4 201910030902) differs from the one in "About" menu (7.0.4.v201905030143 just after update and restart). Does it mean that update server still contains some old build?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post120076
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2019-11-06T14:22:13Zpost120076: Re: Latest updateIgor Rondarevhttp://community.qnx.com/sf/go/post1200762019-11-06T14:09:04Z2019-11-06T14:09:04ZThank you! Noted that Build ID in relnotes (Build 7.0.4 201910030902) differs from the one in "About" menu (7.0.4.v201905030143 just after update and restart). Does it mean that update server still contains some old build?Igor Rondarev2019-11-06T14:09:04Zpost120072: Re: Latest updateElena Laskavaiahttp://community.qnx.com/sf/go/post1200722019-11-05T14:59:48Z2019-11-05T14:59:48Zhttp://www.qnx.com/download/feature.html?programid=46421
On 2019-11-05 3:55 a.m., Igor Rondarev wrote:
> Elena,
>
> could you please provide the link to QNX Momentics 7.0.4 release notes?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post120069
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2019-11-05T14:59:48Zpost120069: Re: Latest updateIgor Rondarevhttp://community.qnx.com/sf/go/post1200692019-11-05T08:55:08Z2019-11-05T08:55:08ZElena,
could you please provide the link to QNX Momentics 7.0.4 release notes?Igor Rondarev2019-11-05T08:55:08Zpost120011: Re: RE: SSH session in QNX momentics IDE (vmware)Ganesha Mulleriahttp://community.qnx.com/sf/go/post1200112019-09-30T14:23:01Z2019-09-30T14:23:01ZHi John,
Thanks a lot for the hint. It has worked. Now I can access the target inside the momentics IDE.
Thanks again.
Cheers,
GaneshaGanesha Mulleria2019-09-30T14:23:01Zpost120010: RE: SSH session in QNX momentics IDE (vmware)John Kearneyhttp://community.qnx.com/sf/go/post1200102019-09-30T14:03:58Z2019-09-30T14:03:58Zwhat user are you trying to login as?
if it's root you will probably need to enable root login in the sshd_config on the target.
see PermitRootLogin in https://netbsd.gw.com/cgi-bin/man-cgi?sshd_config+5+NetBSD-5.0
If you are using an empty password you may need to enable PermitEmptyPasswords in the sshd_config.
Cheers
John
________________________________________
From: Ganesha Mulleria [community-noreply@qnx.com]
Sent: Monday, September 30, 2019 15:34
To: general-ide
Subject: Re: SSH session in QNX momentics IDE (vmware)
No, I did not ty to login from the command line. I am invoking vmware virtual machine and starting qnx7. It opens a default command line in qnx environment.
Initially I did not set password. But still I was getting the same error. Then to be sure I have set root password as root.
Actually I am using momentics IDE to write and devlop programs. There I saw an option of Connect via SSH in "Target Navigator" view. It would be nice to use this facility.
_______________________________________________
General
http://community.qnx.com/sf/go/post120008
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comJohn Kearney2019-09-30T14:03:58Zpost120008: Re: SSH session in QNX momentics IDE (vmware)Ganesha Mulleriahttp://community.qnx.com/sf/go/post1200082019-09-30T13:34:24Z2019-09-30T13:34:24ZNo, I did not ty to login from the command line. I am invoking vmware virtual machine and starting qnx7. It opens a default command line in qnx environment.
Initially I did not set password. But still I was getting the same error. Then to be sure I have set root password as root.
Actually I am using momentics IDE to write and devlop programs. There I saw an option of Connect via SSH in "Target Navigator" view. It would be nice to use this facility.Ganesha Mulleria2019-09-30T13:34:24Zpost120006: Re: SSH session in QNX momentics IDE (vmware)Elena Laskavaiahttp://community.qnx.com/sf/go/post1200062019-09-30T13:09:48Z2019-09-30T13:09:48ZIt not an IDE problem. Did you try to login to this target from command
line?
By default on qnx target root does not have a password, did you actually
set root password?
On 2019-09-30 8:56 a.m., Ganesha Mulleria wrote:
> Any help is highly appreciated. Tthe command line available via vmware is not maximisable and scrollable. It will be useful to have a ssh access to target.
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post120005
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2019-09-30T13:09:48Zpost120005: Re: SSH session in QNX momentics IDE (vmware)Ganesha Mulleriahttp://community.qnx.com/sf/go/post1200052019-09-30T12:56:05Z2019-09-30T12:56:05ZAny help is highly appreciated. Tthe command line available via vmware is not maximisable and scrollable. It will be useful to have a ssh access to target.Ganesha Mulleria2019-09-30T12:56:05Zpost119992: Re: QNX trusted diskElena Laskavaiahttp://community.qnx.com/sf/go/post1199922019-09-25T16:25:14Z2019-09-25T16:25:14ZThis is IDE forum, you should probably find some general SDK/OS forum to
ask this
On 2019-09-25 11:30 a.m., Ganesha Mulleria wrote:
> Has any one experience with creating a QNX trusted disk image and mounting it.
> Can you please share some steps to begin with.
>
> I have a qnx 7 environment installed in vmware virtual box (x86_64).
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post119989
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2019-09-25T16:25:14Zpost119989: QNX trusted diskGanesha Mulleriahttp://community.qnx.com/sf/go/post1199892019-09-25T15:30:58Z2019-09-25T15:30:58ZHas any one experience with creating a QNX trusted disk image and mounting it.
Can you please share some steps to begin with.
I have a qnx 7 environment installed in vmware virtual box (x86_64).Ganesha Mulleria2019-09-25T15:30:58Zpost119988: Writing a security policyGanesha Mulleriahttp://community.qnx.com/sf/go/post1199882019-09-25T15:21:56Z2019-09-25T15:21:56ZI am new to QNX. I am exploring the qnx security policies. I am running qnx 7 in a vmware virtual box(x86_64).
I wrote a sample server and client program. I wanted to write a policy and to attach it to the process. My main aim is access control.
Following sections in the qnx guide have information about them.
http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.security.dev_guide/topic/manual/mac.html
http://www.qnx.com/developers/docs/7.0.0/index.html#com.qnx.doc.security.dev_guide/topic/manual/tutorial.html
As per the above guide, Startup script needs to be edited and following utilities are required for developing a security policy - secpol, secpolcompile, secpolgenerate, secpolmonitor, secpolpush
I was able to find only secpolgenerate and secpolmonitor. Other utilities are missing.
I also could not find the startup script.
Since I am new to these topics, I am looking for some help in generating the security policy.
Thanks and best regards,
GaneshaGanesha Mulleria2019-09-25T15:21:56Zpost119987: Changing keyboard layoutGanesha Mulleriahttp://community.qnx.com/sf/go/post1199872019-09-25T15:20:02Z2019-09-25T15:20:02ZI have installed qnx 7 in a vmware virtual box. My keyboard is german. Can you please help me how to configure german keybaord?. I do not see any option in vmware window.Ganesha Mulleria2019-09-25T15:20:02Zpost119986: SSH session in QNX momentics IDE (vmware)Ganesha Mulleriahttp://community.qnx.com/sf/go/post1199862019-09-25T15:18:25Z2019-09-25T15:18:25ZHi,
I have installed qnx 7 in a vmware (x86_64). I have created a target and I can access the target using an IP address. When I right click and select the option "Start SSH session" in target navigator, it opens up a dialog box where I have entered user as "root" and password as "root", it does not connect. After many retries, it says
Error connecting 192.168.148.128 : SSH client error: SSH_MSG_DISCONNECT: 2 Too many authentication failures
When i check in the system information sshd process is running.
Can you please help me to connect via ssh.
Thanks.Ganesha Mulleria2019-09-25T15:18:25Zpost119794: Re: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machineGanesha Mulleriahttp://community.qnx.com/sf/go/post1197942019-07-30T13:55:20Z2019-07-30T13:55:20ZThanks for the suggestion. I just installed kernel and libc package via software center.
It is working now. I can debug.
Thanks again.Ganesha Mulleria2019-07-30T13:55:20Zpost119793: Re: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machineElena Laskavaiahttp://community.qnx.com/sf/go/post1197932019-07-30T13:42:12Z2019-07-30T13:42:12ZTarget libc does not match host libc, its either mean its different
architecture or different version
Did you install debug symbols for libc? In software center right click
Install Debug symbols in Kernel & Libc package
On 2019-07-30 9:36 a.m., Ganesha Mulleria wrote:
> My target is x86_64. (QNX SDP 7.0 x86-64 virtual machine for VMware)
>
> Yes I have 7.0.
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post119792
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2019-07-30T13:42:12Zpost119792: Re: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machineGanesha Mulleriahttp://community.qnx.com/sf/go/post1197922019-07-30T13:36:58Z2019-07-30T13:36:58ZMy target is x86_64. (QNX SDP 7.0 x86-64 virtual machine for VMware)
Yes I have 7.0.Ganesha Mulleria2019-07-30T13:36:58Zpost119791: Re: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machineElena Laskavaiahttp://community.qnx.com/sf/go/post1197912019-07-30T13:17:19Z2019-07-30T13:17:19ZDoes your target reports that is x86_64 or x86?
Both your host is target have 7.0?
On 2019-07-30 8:19 a.m., Ganesha Mulleria wrote:
> Hi,
>
> I am new to QNX. I have created a "Hello World" qnx executable project. I am debugging it on a target (qnx image loaded via VMWare player). IDE is connected to target via qconn.
>
> Running the program works. But when I am debugging, I am getting the below error.
>
> Thread #1 unnamed (STOPPED) (Suspended : Signal : SIGSEGV:Segmentation fault)
>
> Debugger console has following information. Please help.
>
> MsgNak received - resending
> Remote target is little-endian
> warning: Shared object "/home/uib55281/qnx700/target/qnx7/x86_64/lib/libc.so.4" could not be validated and will be ignored.
> warning: Could not load shared library symbols for /usr/lib/ldqnx-64.so.2.
> Do you need "set solib-search-path" or "set sysroot"?
> warning: Host file /usr/lib/ldqnx-64.so.2 does not match target file <?>
> 0x000000010004f5d0 in ?? ()
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000100052143 in ?? ()
>
>
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post119790
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2019-07-30T13:17:19Zpost119790: SIGSEGV:Segmentation fault while debugging in QNX Neutrino target as a virtual machineGanesha Mulleriahttp://community.qnx.com/sf/go/post1197902019-07-30T12:19:57Z2019-07-30T12:19:57ZHi,
I am new to QNX. I have created a "Hello World" qnx executable project. I am debugging it on a target (qnx image loaded via VMWare player). IDE is connected to target via qconn.
Running the program works. But when I am debugging, I am getting the below error.
Thread #1 unnamed (STOPPED) (Suspended : Signal : SIGSEGV:Segmentation fault)
Debugger console has following information. Please help.
MsgNak received - resending
Remote target is little-endian
warning: Shared object "/home/uib55281/qnx700/target/qnx7/x86_64/lib/libc.so.4" could not be validated and will be ignored.
warning: Could not load shared library symbols for /usr/lib/ldqnx-64.so.2.
Do you need "set solib-search-path" or "set sysroot"?
warning: Host file /usr/lib/ldqnx-64.so.2 does not match target file <?>
0x000000010004f5d0 in ?? ()
Program received signal SIGSEGV, Segmentation fault.
0x0000000100052143 in ?? ()Ganesha Mulleria2019-07-30T12:19:57Zpost119783: Re: Newbie - Makeflashimage.sh on windows ide 7.0Andrew Skinnerhttp://community.qnx.com/sf/go/post1197832019-07-22T09:12:10Z2019-07-22T09:12:10Z(apologies, ntoaarch64-objcopy was inthe correct directory)
running the commands manually, I see
root@BRDE19D:/mnt/c/Users/ASkinner.INTERNAL/qnx700/host/win64/x86_64/usr/bin# ./ntoaarch64-objcopy.exe --input-format=elf64-littleaarch64 --output-format=binary /mnt/c/Users/ASkinner.INTERNAL/ide-7.0-workspace/bsp-nxp-s32v-evb/install/aarch64le/boot/sys/ipl-s32v234evb-RevD
C:\Users\ASkinner.INTERNAL\qnx700\host\win64\x86_64\usr\bin\ntoaarch64-objcopy.exe: warning: could not create temporary file whilst copying '/mnt/c/Users/ASkinner.INTERNAL/ide-7.0-workspace/bsp-nxp-s32v-evb/install/aarch64le/boot/sys/ipl-s32v234evb-RevD', (error: No such file or directory)
Seems like it is struggling to create the temporary file, could this be a permissions issue?Andrew Skinner2019-07-22T09:12:10Zpost119778: Newbie - Makeflashimage.sh on windows ide 7.0Andrew Skinnerhttp://community.qnx.com/sf/go/post1197782019-07-18T15:09:01Z2019-07-18T15:09:01ZHi Complete newbie question here, I have downloaded the NXP s32v bsp through the qnx software center and am trying to create a image to transfer to flash.
I am running a fresh install of IDE on windows 10.
The project seams to build ok, but when I try to run the mkflshimage.sh, which I believe should build the IPL image it fails because it cannot find ntoaarch64-objcopy.
I cannot find it manually in my qnx700/host/win64/x86_64/usr/bin/ directory
Feels like i am missing something simple here as the mkflshimage is part of the bsp i downloaded.
Only weird thing is that mkflshimage.sh is calling bash, should it not be calling some kind of netrino internal terminal ?Andrew Skinner2019-07-18T15:09:01Zpost119750: Re: QNX Momentics IDE Build error (cygwin)Elena Laskavaiahttp://community.qnx.com/sf/go/post1197502019-06-10T17:19:00Z2019-06-10T17:19:00ZIts related to windows configuration not to version of Momentics, same
workaround applies
On 2019-06-10 1:12 p.m., Tommy Lee(deleted) wrote:
> QNX® Momentics® Integrated Development Environment
> Version: 5.0.1
> Build id: v201402230336
>
> Shown above is the release of Momentics IDE I am using. I am having the exactly same problem in my W10 desktop since an update of my W10 on 5/23. If you know the msys DLL archive, please tell me.
>
> Thanks,
> Tommy
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post119749
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2019-06-10T17:19:00Zpost119749: Re: QNX Momentics IDE Build error (cygwin)Tommy Lee(deleted)http://community.qnx.com/sf/go/post1197492019-06-10T17:12:15Z2019-06-10T17:12:15ZQNX® Momentics® Integrated Development Environment
Version: 5.0.1
Build id: v201402230336
Shown above is the release of Momentics IDE I am using. I am having the exactly same problem in my W10 desktop since an update of my W10 on 5/23. If you know the msys DLL archive, please tell me.
Thanks,
TommyTommy Lee(deleted)2019-06-10T17:12:15Zpost119747: Re: C++14 Digit Separators flagged by EclipseMark Nelsonhttp://community.qnx.com/sf/go/post1197472019-06-07T18:09:15Z2019-06-07T18:09:15Z> It would not be possible to configure current parser to ignore this is
> this is major syntax incompatibly, it will be fixed in next major
> version of Momentics
> but I cannot comment now when it will be available. I suggest not to use
> this feature as it will break internal parsing which will affect syntax
> highlighting AND indexing of source code
> for purposes of navigation, refactoring, etc
Definitely not the response I want to hear! C++14 is five years old, it's kind of discouraging to hear that the IDE needs a major release to pick up on this small feature. Worse yet that using it is going to break other features in Momentics. SIgh.
-MarkMark Nelson2019-06-07T18:09:15Zpost119746: Re: C++14 Digit Separators flagged by EclipseElena Laskavaiahttp://community.qnx.com/sf/go/post1197462019-06-07T18:00:28Z2019-06-07T18:00:28ZIt would not be possible to configure current parser to ignore this is
this is major syntax incompatibly, it will be fixed in next major
version of Momentics
but I cannot comment now when it will be available. I suggest not to use
this feature as it will break internal parsing which will affect syntax
highlighting AND indexing of source code
for purposes of navigation, refactoring, etc
On 2019-06-07 1:52 p.m., Mark Nelson wrote:
> We're building using qcc with C++14 features turned on. Everything works pretty well, but there is one annoyance.
>
> The Momentics IDE still flags the use of digit separators as a syntax error.
>
> So, for example, this line:
>
> verify_compiler<uint32_t> ( 0, 10, 0xFFFF'FFFFU );
>
> Which compiles just fine and works as intended, gets an ugly yellow question mark in the IDE, with the flag "Bad character sequence encountered: 'FFFU'.
>
> AFAICT, this is because the eclipse IDE has a built-in C++ parser, and tht is what is used by Momentics for validation.
>
> This appears to have been fixed in Eclipse, although fairly recently:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=519062
>
> My questions: 1) is there a workaround to make just this one problem disappear? 2) Is there a Momentics update that makes this go away.
>
> Maybe you have an answer 3) Configuration that does proper parsing as is, but I'm guessing that question is unanswerable.
>
> I'm using Version: 7.0.3.v201804261557 of Momentics. We're open to upgrading, but not unless we know this is fixed.
>
> -Mark
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post119745
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2019-06-07T18:00:28Zpost119745: C++14 Digit Separators flagged by EclipseMark Nelsonhttp://community.qnx.com/sf/go/post1197452019-06-07T17:52:21Z2019-06-07T17:52:21ZWe're building using qcc with C++14 features turned on. Everything works pretty well, but there is one annoyance.
The Momentics IDE still flags the use of digit separators as a syntax error.
So, for example, this line:
verify_compiler<uint32_t> ( 0, 10, 0xFFFF'FFFFU );
Which compiles just fine and works as intended, gets an ugly yellow question mark in the IDE, with the flag "Bad character sequence encountered: 'FFFU'.
AFAICT, this is because the eclipse IDE has a built-in C++ parser, and tht is what is used by Momentics for validation.
This appears to have been fixed in Eclipse, although fairly recently:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=519062
My questions: 1) is there a workaround to make just this one problem disappear? 2) Is there a Momentics update that makes this go away.
Maybe you have an answer 3) Configuration that does proper parsing as is, but I'm guessing that question is unanswerable.
I'm using Version: 7.0.3.v201804261557 of Momentics. We're open to upgrading, but not unless we know this is fixed.
-MarkMark Nelson2019-06-07T17:52:21Zpost119692: The ifs file stops working if the compression is enabled in QNX IDEDeepain Nayyar(deleted)http://community.qnx.com/sf/go/post1196922019-05-02T17:25:32Z2019-05-02T17:25:32ZHi There,
I am using QNX Momentics IDE 4.7 with QNX650. I am trying to build a System Builder project. When the ifs file is generated using "No Compression", the generated file works absolutely fine and the system loads perfectly. But if we use any of the compression "Zlib", or "LZO" or "UCL", the ifs generated ifs when sent to the target system fails to boot. The output which we see is just "Hit Esc for .altboot............".
I am just wondering what can wrong with just trying to compress the file.
Thanks,
Deepain NayyarDeepain Nayyar(deleted)2019-05-02T17:25:32Zpost119665: Detect usb device events - alternate for usblauncher serviceselva r(deleted)http://community.qnx.com/sf/go/post1196652019-04-17T05:20:01Z2019-04-17T05:20:01ZMy requirement is an application should have a call back function registered with USB Stack/ Library which should be called for each USB device attachment/detachment. I have gone through the usblauncher service, But it seems like application needs to poll each device object for an event. I need some thing like a Network Middleware, which provides a library interface for an application.selva r(deleted)2019-04-17T05:20:01Zpost119594: Re: a problem with sdp6.6Elena Laskavaiahttp://community.qnx.com/sf/go/post1195942019-03-20T13:24:00Z2019-03-20T13:24:00ZIs libc.so.3 on the target?Elena Laskavaia2019-03-20T13:24:00Zpost119592: a problem with sdp6.6Xiu Fan(deleted)http://community.qnx.com/sf/go/post1195922019-03-20T08:51:51Z2019-03-20T08:51:51ZI have been using bsp-ti-am437x-gp_evm (version 6.6) downloaded from qnx website on the host sdp6.6 for several days.
My host connected to the target board and I can communicate with target. I created a basic simple qnx c project, now I want to run the project on the target,but when I click 'run as' in the menu, the sdp6.6 prompted an error ''ldd fatal:could not load libc.so.3'.
How can I solve this problem?Xiu Fan(deleted)2019-03-20T08:51:51Zpost119591: a problem with sdp6.6Xiu Fan(deleted)http://community.qnx.com/sf/go/post1195912019-03-20T08:51:11Z2019-03-20T08:51:11ZI have been using bsp-ti-am437x-gp_evm (version 6.6) downloaded from qnx website on the host sdp6.6 for several days.
My host connected to the target board and I can communicate with target. I created a basic simple qnx c project, now I want to run the project on the target,but when I click 'run as' in the menu, the sdp6.6 prompted an error ''ldd fatal:could not load libc.so.3'.
How can I solve this problem?Xiu Fan(deleted)2019-03-20T08:51:11Zpost119504: Re: Digitally signed build toolsElena Laskavaiahttp://community.qnx.com/sf/go/post1195042019-02-12T14:30:00Z2019-02-12T14:30:00ZHost tools binary are not digitially signed for performance reasons,
however the package containing tools is signed and you can
run QSC Software Validator to check that checksums of files on disk match one posted. You can use Validate button in Advanced tabElena Laskavaia2019-02-12T14:30:00Zpost119503: Digitally signed build toolsAaron Huszhttp://community.qnx.com/sf/go/post1195032019-02-12T14:24:41Z2019-02-12T14:24:41ZHello,
I have been performing some benchmarking on our build process with Momentics 7.0.3 and found that only the QNX software center executable is digitally signed. The build tools in qnx700\host\* are not digitally signed - is there any plan to release updated build tools which are digitally signed?
Thanks,
AaronAaron Husz2019-02-12T14:24:41Zpost119381: Re: Code Coverage source mapping for external shared library (IDE7)Adam Ward(deleted)http://community.qnx.com/sf/go/post1193812019-01-03T19:47:04Z2019-01-03T19:47:04ZIgor,
From what I understand, you want to view the coverage results for a shared library without the project for that library having to be imported in the workspace. The source code is unfortunately required to generate the .gcda file that is produced on the target and then used by the IDE. The closest you will be able to get to your request is linking the shared library with -L/-l as you mentioned, add the library project to the workspace, and under the coverage tab of the launch configuration uncheck “All sources compiled with code coverage”, click the “Select…” button and select the referenced library project.
Best,
AdamAdam Ward(deleted)2019-01-03T19:47:04Zpost119374: Re: Latest updateElena Laskavaiahttp://community.qnx.com/sf/go/post1193742018-12-21T15:05:51Z2018-12-21T15:05:51ZIt was our mistake, it should not be on update site, if you encounter
any issues please re-install official version
On 2018-12-20 5:10 p.m., Mario Charest wrote:
> ping.
>
>> Elena,
>>
>> The release notes are about Build 7.0.3 201804261557. I'm looking for the one
>> about 7.0.3.v201811261353.
>>
>> - com.qnx.tools.ide_7.0.3.v201811261353
>> - com.qnx.doc.ide.userguide_3.0.0.20181126
>> - com.qnx.tools.ide.momentics_7.0.3.v201811261353
>> - com.qnx.tools.ide.momentics.ide.executable.gtk.linux.x86_64_7.0.3.
>> v201811261353
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post119372
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2018-12-21T15:05:51Zpost119373: Re: Latest updateElena Laskavaiahttp://community.qnx.com/sf/go/post1193732018-12-21T13:54:42Z2018-12-21T13:54:42ZHuh? Where did you get it?
On 2018-12-20 5:10 p.m., Mario Charest wrote:
> ping.
>
>> Elena,
>>
>> The release notes are about Build 7.0.3 201804261557. I'm looking for the one
>> about 7.0.3.v201811261353.
>>
>> - com.qnx.tools.ide_7.0.3.v201811261353
>> - com.qnx.doc.ide.userguide_3.0.0.20181126
>> - com.qnx.tools.ide.momentics_7.0.3.v201811261353
>> - com.qnx.tools.ide.momentics.ide.executable.gtk.linux.x86_64_7.0.3.
>> v201811261353
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post119372
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2018-12-21T13:54:42Zpost119372: Re: RE: Latest updateMario Charesthttp://community.qnx.com/sf/go/post1193722018-12-20T22:10:44Z2018-12-20T22:10:44Zping.
> Elena,
>
> The release notes are about Build 7.0.3 201804261557. I'm looking for the one
> about 7.0.3.v201811261353.
>
> - com.qnx.tools.ide_7.0.3.v201811261353
> - com.qnx.doc.ide.userguide_3.0.0.20181126
> - com.qnx.tools.ide.momentics_7.0.3.v201811261353
> - com.qnx.tools.ide.momentics.ide.executable.gtk.linux.x86_64_7.0.3.
> v201811261353Mario Charest2018-12-20T22:10:44Zpost119356: Re: RE: Latest updateMario Charesthttp://community.qnx.com/sf/go/post1193562018-12-13T21:30:59Z2018-12-13T21:30:59ZElena,
The release notes are about Build 7.0.3 201804261557. I'm looking for the one about 7.0.3.v201811261353.
- com.qnx.tools.ide_7.0.3.v201811261353
- com.qnx.doc.ide.userguide_3.0.0.20181126
- com.qnx.tools.ide.momentics_7.0.3.v201811261353
- com.qnx.tools.ide.momentics.ide.executable.gtk.linux.x86_64_7.0.3.v201811261353Mario Charest2018-12-13T21:30:59Zpost119355: RE: Latest updateElena Laskavaiahttp://community.qnx.com/sf/go/post1193552018-12-13T20:34:59Z2018-12-13T20:34:59Zhttp://www.qnx.com/download/feature.html?programid=36515
________________________________________
From: Mario Charest [community-noreply@qnx.com]
Sent: Thursday, December 13, 2018 1:29 PM
To: general-ide
Subject: Latest update
Is there any release notes somewhere about the recent Momentics update ?
Thanks
_______________________________________________
General
http://community.qnx.com/sf/go/post119354
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2018-12-13T20:34:59Zpost119354: Latest updateMario Charesthttp://community.qnx.com/sf/go/post1193542018-12-13T18:29:01Z2018-12-13T18:29:01ZIs there any release notes somewhere about the recent Momentics update ?
ThanksMario Charest2018-12-13T18:29:01Zpost119313: Can QNX 6.5.0 and 6.5.0 SP1 SDP coexist on the same PC?Daniel McKean(deleted)http://community.qnx.com/sf/go/post1193132018-11-29T18:03:18Z2018-11-29T18:03:18ZWe are in the process of upgrading our product to 6.5.0 SP1. We have many earlier versions of our product in the field that were build with the base 6.5.0. Occasionally, to diagnose field problems, I will have to revert back to the base build to debug. Is there a way to have both products installed and switch between the two?Daniel McKean(deleted)2018-11-29T18:03:18Zpost119299: Code Coverage source mapping for external shared library (IDE7)Igor Rondarevhttp://community.qnx.com/sf/go/post1192992018-11-22T12:53:45Z2018-11-22T12:53:45ZDear QNX team!
Could you please describe, what is the right way to analyze code coverage for external library? (under 'external' i mean that is not a part of current IDE's workspace).
Example 1 (working):
- two projects in Workspace: projectApp and projectSharedLib, both compiled with Code Coverage enabled.
- i set up "Source", "Upload" and "Libraries" tabs in Lauch Configuration
- Profit! In "QNX Analysis" perspective i see both application and shared library, can even F3 to shared library's code from application's code, code coverage information is available for both app and library.
Example 2 (considered non-working):
- projectApp project using external mylib.so library (library was also built with Code Coverage, but only .so and source code available in some separate directory. E.g. /data/mylib.so, /data/mylib.gcno, /data/src/mylib.c and /data/src/mylib.h)
- i attach library to project using -l/-L in Makefile (or Linker tab when using QNX Legacy Recursive Makefile projects)
- i set up "Source" (see comments below), "Upload" and "Libraries" tabs in Lauch Configuration
- No profit. Application is executed, code coverage info itself is generated at target platform (i see all required .gcda files in target's /tmp/projectApp@host/... directory), but in "QNX Analysis" i see only projectApp and its source, neither i can F3 to shared library's function.
I've tried almost all "Source Lookup Path" variants at "Source" tab (Compilation Directory, File System Directory, Path Mapping...), but with no result. It's also not possible to set path to external sources at "Coverage" tab within "Collect data for..." section (only this workspace's projects are available for choice).
It would be great if you could help with some brief instruction or (even better) principles IDE follows when it searches for .c/.gcno files for executable being analyzed (or maybe there's some QDE debugging mode where it shows all - even unsuccessful - attempts to open required files)
Thank you in advance!
Regards,
IgorIgor Rondarev2018-11-22T12:53:45Zpost119019: "gcc" not found in Discovery OptionsJane Blewitthttp://community.qnx.com/sf/go/post1190192018-07-30T08:23:04Z2018-07-30T08:23:04ZHi, In my IDE for QNX 7.0 when I compile my solution I am left with an error 'Program "gcc" not found in PATH'. The IDE is obviously finding the make files and using the gcc as it builds correctly. How do I stop this error occuring. I have tried adding a path in the make C++ Make Project/Environment tab but it makes no difference. Can I change the Discovery Profile in teh Discovery Options tab to something where it doesn't use this. Thanks, JaneJane Blewitt2018-07-30T08:23:04Zpost119016: Re: Not able to access floating licenceElena Laskavaiahttp://community.qnx.com/sf/go/post1190162018-07-26T14:11:39Z2018-07-26T14:11:39ZWhat version of sw is that? License file located in ~/.qnx/license/licenses
if you have QNX_CONIFIGURATION variable set it will use it instead. This message indicates that IDE
cannot find license file or license for the product you are using. If it flex failure would be a different messageElena Laskavaia2018-07-26T14:11:39Zpost119015: Not able to access floating licenceJayaprakash veluswamy(deleted)http://community.qnx.com/sf/go/post1190152018-07-26T13:56:25Z2018-07-26T13:56:25ZI am having QNX login and i can see my license assigned
In our company we use floating license from server i have over rided the path by lmpath -override qnxlm address_of_license_server but even i am getting access error as attached image
Please help me if some one know or any clueJayaprakash veluswamy(deleted)2018-07-26T13:56:25Zpost118913: Re: My IDE will only Build with QNX6.3.2. and not QNX7.0Jane Blewitthttp://community.qnx.com/sf/go/post1189132018-07-05T13:52:37Z2018-07-05T13:52:37ZHi Elena,
You are right. I looked in Project/Properties/C C++ Make Project/Environment and it was all pointing to QNX632. I have changed the environment variables to point to my qnx7 and it builds now using QNX 7.
Thank you so much - its been driving me mad.
JaneJane Blewitt2018-07-05T13:52:37Zpost118912: Re: My IDE will only Build with QNX6.3.2. and not QNX7.0Elena Laskavaiahttp://community.qnx.com/sf/go/post1189122018-07-05T13:22:29Z2018-07-05T13:22:29ZWhat kind of project is that? It may also depends on make or build system you using on what vars it reads.
Some kinds of project have their own Env vars or Build vars which can override system settings.
You can try project -> Properties and check though prefs to see if there anything that override global env vars
in settings. If its make you try to run from command line to see if it works correctly on command line.Elena Laskavaia2018-07-05T13:22:29Zpost118911: My IDE will only Build with QNX6.3.2. and not QNX7.0Jane Blewitthttp://community.qnx.com/sf/go/post1189112018-07-05T12:43:35Z2018-07-05T12:43:35ZI have QNX7.0 and Momentics IDE Version 7.0.2v201710042038. I have imported my project into the IDE, added a Window/Preferences/QNX SDK selection for QNX7. I have run the qnxsdp-env.bat file before opening the IDE and removed all references to QNX6.3.2 from the Path from the command line. Yet the IDE always uses a path to QNX6.3.2 (I also have QNX6.3.2 on my computer as we use that for older projects which I use with an earlier IDE). I can build my project successfully from the command line with QNX7.0 but does anybody know how I can get the IDE to build using QNX7.0?
Best Regards, JaneJane Blewitt2018-07-05T12:43:35Zpost118894: Running QNX 7 in VMWare ESXiTim Fischerhttp://community.qnx.com/sf/go/post1188942018-06-22T04:14:18Z2018-06-22T04:14:18ZHas anyone had any experience running QNX 7 as a guest in VMWare ESXi? Did it work well? Not that well? Issues?Tim Fischer2018-06-22T04:14:18Zpost118873: Re: Building sample application on QNX Momentics IDE 7.0.3 and executing binary on Neutrino 6.5 qnx rtos as guest osMateo Guzman(deleted)http://community.qnx.com/sf/go/post1188732018-06-13T05:38:52Z2018-06-13T05:38:52ZHi,Mateo Guzman(deleted)2018-06-13T05:38:52Zpost118871: Re: Building sample application on QNX Momentics IDE 7.0.3 and executing binary on Neutrino 6.5 qnx rtos as guest osElena Laskavaiahttp://community.qnx.com/sf/go/post1188712018-06-11T13:42:25Z2018-06-11T13:42:25ZIf you configured networking and terminal support on your guest os it should be no different then running in on hardware directly, use getting started IDE guide,
http://www.qnx.com/developers/docs/6.5.0SP1.update/com.qnx.doc.momentics_quickstart/about.htmlElena Laskavaia2018-06-11T13:42:25Zpost118870: Building sample application on QNX Momentics IDE 7.0.3 and executing binary on Neutrino 6.5 qnx rtos as guest osMateo Guzman(deleted)http://community.qnx.com/sf/go/post1188702018-06-11T13:30:06Z2018-06-11T13:30:06ZHi,
I have downloaded and installed the Qnx IDE 7.0.3 on my host windows machine and also installed neutrino 6.5 RTOS as guest OS using vmware on windows machine. Now I want to build the sample application on QNX ide and execute the executable on the Neutrino RTOS OS. could any one help me how to compile and run sample application as executable on Qnx Neutrino 6.5 Guest OS.
Thanks,
MateoMateo Guzman(deleted)2018-06-11T13:30:06Zpost118457: Re: RE: Change Editor Text Size in EclipseTim Sowden(deleted)http://community.qnx.com/sf/go/post1184572018-01-24T22:03:23Z2018-01-24T22:03:23ZThank you!
Your a lifesaver as I was contemplating having to re-install Eclipse.
TimTim Sowden(deleted)2018-01-24T22:03:23Zpost118455: RE: Change Editor Text Size in EclipseDoug Schaefer(deleted)http://community.qnx.com/sf/go/post1184552018-01-24T22:00:03Z2018-01-24T22:00:03ZTry CTRL-SHIFT-PLUS. Yeah, it's not intuitive, it's looking for the actual plus character and not just the key. Sorry about that.
Doug.
> -----Original Message-----
> From: Tim Sowden(deleted) [mailto:community-noreply@qnx.com]
> Sent: Wednesday, January 24, 2018 4:53 PM
> To: general-ide <general-ide@community.qnx.com>
> Subject: Change Editor Text Size in Eclipse
>
> In the Momentics / Eclipse Text editor I hit CTRL-Minus trying to undo
> (forgetting I'm not in JED) my last edit.
>
> This causes the font size to shrink. I hit CTRL-Plus expecting to go back but it
> didn't. I hit CTRL-Minus again to confirm what I did and it shrank again. Now my
> text size is too small to read :(
>
> I closed and re-opened Momentics / Eclipse hoping against hope that it wasn't
> saved but of course it is. Now my editor in Eclipse is useless.
>
> Does anyone know how (keystroke sequence) to increase the text size in the
> editor?
>
> If it matters I'm using Momentics / Eclipse on a Windows host and about says:
> Momentics® Integrated Development Environment
>
> Version: 7.0.0.v201705161739
>
> (c) Copyright QNX Software Systems Limited 2002-2017. All rights reserved.
> Visit http://www.qnx.com/
>
> TIA,
>
> Tim
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post118454
> To cancel your subscription to this discussion, please e-mail general-ide-
> unsubscribe@community.qnx.comDoug Schaefer(deleted)2018-01-24T22:00:03Zpost118454: Change Editor Text Size in EclipseTim Sowden(deleted)http://community.qnx.com/sf/go/post1184542018-01-24T21:52:53Z2018-01-24T21:52:53ZIn the Momentics / Eclipse Text editor I hit CTRL-Minus trying to undo (forgetting I'm not in JED) my last edit.
This causes the font size to shrink. I hit CTRL-Plus expecting to go back but it didn't. I hit CTRL-Minus again to confirm what I did and it shrank again. Now my text size is too small to read :(
I closed and re-opened Momentics / Eclipse hoping against hope that it wasn't saved but of course it is. Now my editor in Eclipse is useless.
Does anyone know how (keystroke sequence) to increase the text size in the editor?
If it matters I'm using Momentics / Eclipse on a Windows host and about says:
Momentics® Integrated Development Environment
Version: 7.0.0.v201705161739
(c) Copyright QNX Software Systems Limited 2002-2017. All rights reserved.
Visit http://www.qnx.com/
TIA,
TimTim Sowden(deleted)2018-01-24T21:52:53Zpost118285: Re: photon editor can not be openElena Laskavaiahttp://community.qnx.com/sf/go/post1182852017-12-18T14:42:06Z2017-12-18T14:42:06ZI don't think its supported any-more starting with 6.5Elena Laskavaia2017-12-18T14:42:06Zpost118284: photon editor can not be openhu jiaqihttp://community.qnx.com/sf/go/post1182842017-12-18T05:17:18Z2017-12-18T05:17:18ZHello :
I am new of qnx 6.5.0 sp1 , I am using qnx ide 4.7 2010 in kubuntu15.04 meet the
timeout waiting for application build
problem ,can anyone tell me how to fix it?
I can not open the photo editor now.hu jiaqi2017-12-18T05:17:18Zpost118201: Re: QNX Software Center does not work properlyPawel Maciag(deleted)http://community.qnx.com/sf/go/post1182012017-11-14T11:22:12Z2017-11-14T11:22:12ZThe folder .qnx/swupdate.zip failed to attach to the previous post, so I add it here.Pawel Maciag(deleted)2017-11-14T11:22:12Zpost118200: Re: QNX Software Center does not work properlyPawel Maciag(deleted)http://community.qnx.com/sf/go/post1182002017-11-14T11:19:57Z2017-11-14T11:19:57ZHello David,
thank you for your quick reply. I have already tried reinstalling SDP 7 and the problem persists. I did as you suggested with renaming the .qnx/swupdate folder. The result is that after running Software Center, I can see its process running in Task Manager, however nothing happens on the screen. Moreover, once I try running it again, I get the following warning (please see the attachment). Looks like my problem may have come from forcing the application to start? I also attached the .qnx/swupdate.zip folder.
Kind regards,
PMPawel Maciag(deleted)2017-11-14T11:19:57Zpost118196: Re: QNX Software Center does not work properlyDavid Cummings(deleted)http://community.qnx.com/sf/go/post1181962017-11-13T18:15:39Z2017-11-13T18:15:39ZHi Pawel,
Sorry to see that you are having issues. Would it be possible for you to
attach your log files located in your user directory under .qnx/swupdate?
Looking at your screenshot it looks as though something is corrupted which
is causing the UI to render incorrectly. Unfortunately your best bet is
likely to clean out the working directory for Software Center. This will
require you to reinstall SDP 7.
Try renaming .qnx/swupdate to .qnx/swupdate.bak in your home folder and
restarting Software Center.
Thanks,
David
On 2017-11-13, 4:37 AM, "Pawel Maciag" <community-noreply@qnx.com> wrote:
>Hello,
>I have an academic license for QNX SDP 7.0. I downloaded package called
> QNX Software Center 1.1.1 Build 201709071435 - Windows Hosts from
>Software Center. Once I install it, I get both QNX Momentics and Software
>Center installed on my hard drive.
>I have an issue with Software Center - all I get is a grey field with no
>Welcome Screen, no other options, etc. I am not able to log into my QNX
>account at the startup of the application. Therefore I can't manage my
>license, nor install any additional software.
>I checked that I have Java software up to date. Does someone know what
>can be the issue?
>
>Regards,
>PM
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post118195
>To cancel your subscription to this discussion, please e-mail
>general-ide-unsubscribe@community.qnx.comDavid Cummings(deleted)2017-11-13T18:15:39Zpost118195: QNX Software Center does not work properlyPawel Maciag(deleted)http://community.qnx.com/sf/go/post1181952017-11-13T09:37:00Z2017-11-13T09:37:00ZHello,
I have an academic license for QNX SDP 7.0. I downloaded package called QNX Software Center 1.1.1 Build 201709071435 - Windows Hosts from Software Center. Once I install it, I get both QNX Momentics and Software Center installed on my hard drive.
I have an issue with Software Center - all I get is a grey field with no Welcome Screen, no other options, etc. I am not able to log into my QNX account at the startup of the application. Therefore I can't manage my license, nor install any additional software.
I checked that I have Java software up to date. Does someone know what can be the issue?
Regards,
PMPawel Maciag(deleted)2017-11-13T09:37:00Zpost118027: Re: Profiling in QNX / or From QNX MomenticsSmail Bechiche(deleted)http://community.qnx.com/sf/go/post1180272017-09-11T08:40:27Z2017-09-11T08:40:27ZHello Elena,
Thank you for the instructive example and sorry for delay to reply.
I am working on QNX 7 and I have built all the binaries for profiling.
I guess from the example you gave that gprof doesn't handle multi-process and/or multi-thread profiling out of the box and I should implement more functionalities to handle the report generation.
Maybe this helper
http://sam.zoy.org/writings/programming/gprof.html
in addition to your example can do the job.
Thank you for your help
I wonder why QNX didn't think of tools such as OProfile or Perf for profiling.
Valgrind virtualization generates lots of overhead and can be unsuitable for embedded targets.Smail Bechiche(deleted)2017-09-11T08:40:27Zpost118025: Momentics, run configuration, libraries tab, <Uploading Paths>Sorin Lazareanu(deleted)http://community.qnx.com/sf/go/post1180252017-09-08T16:35:22Z2017-09-08T16:35:22ZHow are the Shared Libraries Paths, <Uploading Paths> calculated in the run configuration?
Sometimes I see paths that are not even referenced in the project and they are not part of the default paths for libs, sometimes I specify paths in Makefile LIBS variable (LIBS += -L<path>) and they are not part of the uploaded paths, sometimes I don't even see the <Uploading Paths>.
Can you, please, specify the rules?Sorin Lazareanu(deleted)2017-09-08T16:35:22Zpost118019: Re: Code coverage and java.lang.NullPointerExceptionMurugaiyan Perumal(deleted)http://community.qnx.com/sf/go/post1180192017-09-07T14:37:27Z2017-09-07T14:37:27ZReceived below work around suggestions from QNX and solved the null pointer exception in IDE 5.0.1 and IDE 7.0.
Work around solution for NULL Pointer exception:
------------------------------------------------------------------------
The problem can be a bug in the IDE that we noticed recently in the IDE 7.0. The code for 6.6 appears to have the same issue. Reference number is jira 2221099.
The issue seems to be that the name of the folder where the coverage project is stored on disk does not match the name of the coverage project in the IDE. The hope is to have this fixed by the next release of Momentics, but the workaround is to rename the coverage project in the IDE to match the name of its containing folder on disk.
Can this be your problem? Please make sure the IDE project name and the name on the disk match.Murugaiyan Perumal(deleted)2017-09-07T14:37:27Zpost118009: Re: Profiling in QNX / or From QNX MomenticsElena Laskavaiahttp://community.qnx.com/sf/go/post1180092017-09-01T15:19:59Z2017-09-01T15:19:59ZIt really depends on what qnx version you have, how you exec/spawn, and how you launch it
Without knowing it general notes
1) If you launch from IDE uncheck Remove on exit in profile prefs in IDE if you want to preserve .ptrace files, otherwise IDE will delete it
2) Stop profiling singnal is actually to PAUSE profiling not to kill the process, if process died means handler is not installed which can happen for few reasons, see below
3) Depending how you exec you may or not may not get children be profiled, a) child has to be also instrumented for profiling b) you have to pass same env to trigger profiling, except QPROF_FILE, it has to be modified otherwise child will re-open and wipe parent session. Secondary files have to be Imported in IDE after the session using profiling import
4) If you fork and not exec trace file will be shared creating a mess
This is my example than works
qnxexehello.c
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
void fun(char * mess) {
puts(mess);
sleep(5);
}
void fun2(char * mess) {
puts(mess);
}
int main(int argc, char * argv[]) {
fun2("start");
int count = 0;
if (argc >= 2)
count = atoi(argv[1]);
char* var = getenv("QPROF_FILE");
printf("Hello World!!! %d %d\n", count, getpid()); /* prints Hello World!!! */
if (var != NULL) {
printf("QPROF_FILE=%s\n", var);
} else {
printf("QPROF_FILE is not set\n");
}
fun("continue");
if (count <= 0) {
fun2("sending stop");
fun("the end");
exit(0);
}
count--;
int pid = fork();
if (pid==0) {
fun("foo1");
fun2("foo2");
char scount[10];
char * xargv[] = { "/tmp/qnxexehello", scount, NULL };
sprintf(scount, "%d", count);
if (var != NULL) {
char * p = strstr(var, "prof");
if (p != NULL) {
sprintf(p, "prof%d.ptrace", getpid());
}
}
int rc = execv(xargv[0], xargv);
printf("went wrong rc=%d\n", rc);
} else {
fun("boo1");
fun("boo2");
}
return EXIT_SUCCESS;
}Elena Laskavaia2017-09-01T15:19:59Zpost118008: Profiling in QNX / or From QNX MomenticsSmail Bechiche(deleted)http://community.qnx.com/sf/go/post1180082017-09-01T12:43:12Z2017-09-01T12:43:12ZMany problems regarding profiling applications that spawn processes by fork() / exec() calls
We build the project for "Function Instrumentation mode" i,e with the flags -finstrument-functions for compiler and -lprofilingS for the linker successfully.
It's a server/client application (i,e while (1) { } but with proper termination signal handlers)
Main app is "process1" has 2 threads and launches many child processes (with many threads for each) by fork() / exec() of other binaries in the same directory. (1 binary -> 1 process with many threads usually)
Use cases:
1-
Profiling the main procecess from Momentics gives a report of more than 10 threads (has only 2) (gprof is known for its issues with multi-process applications).
Many child processes are killed when the profiling session is launched.
---------------------
example output:
Process 335905 (child_appX) terminated SIGSEGV code=1 fltno=11 ip=00000000081373d5(/home/./child_appX@ld_imposter_get_backtrace+0x00000000000c7bd5) mapaddr=00000000000ef3d5. ref=0000000000000b50
Process 331803 (child_appY) terminated SIGSEGV code=1 fltno=11 ip=00000000081145ef(/home/./child_appY@ld_imposter_get_backtrace+0x00000000000a4dcf) mapaddr=00000000000cc5ef. ref=0000000000000010
Process 340002 (child_appZ) terminated SIGSEGV code=1 fltno=11 ip=00000000081145cf(/home/./child_appZ@ld_imposter_get_backtrace+0x00000000000a4dcf) mapaddr=00000000000cc5cf. ref=0000000000001690
--------------------
2 -
We want to obtain the .ptrace file of a child process.
We set the env variables in this way:
QPROF_AUTO_START=1
QPROF_SIG_CONT_PROFILING=16
QPROF_SIG_STOP_PROFILING=17
QPROF_FILE=/home/<app_name>.ptrace (all permissions are set for the dir /home)
We launch the main application then after a while we send the signal 17 by the command :
slay -s SIGUSR2 -S -v child_appX
The child process terminates. We are given then the output:
Process 340002 (child_appX) terminated SIGUSR2 code=0 by process 446495 value=0.
But we can't find any .ptrace file anywhere.
--------------------
3 -
Configuring a "Profile As" >" C/C++ QNX Attach" session on a child process from Momentics gives no result but the termination of the child process (same as case 2).
we also can't find any .ptrace file anywhere.
--------------------
We have also many simple (one process , one thread with exit() calls or return from main() ) application that execute and exit successfully without generating any .ptrace file.
Am I not using the profiling tools properly ?
If it is a limitation for profiling , any workarounds for these problems ?
Best Regards,
SmailSmail Bechiche(deleted)2017-09-01T12:43:12Zpost117983: Re: Build variants with "Makefile project with existing code"?Jeffrey Percivalhttp://community.qnx.com/sf/go/post1179832017-08-25T17:17:45Z2017-08-25T17:17:45ZI figured out how to do this. Configuring the project correctly is the key. If anyone wants my notes, just write!Jeffrey Percival2017-08-25T17:17:45Zpost117972: Re: Code Coverage IDE7Matthew Bastien(deleted)http://community.qnx.com/sf/go/post1179722017-08-22T18:13:00Z2017-08-22T18:13:00ZThe coverage tool is only available in either "Run" or "Coverage" launch modes, there shouldn't be any additional setup required. If you're using the edit button in the launch bar then you'll need to make sure that you have the mode drop down set to "Coverage". If you're editing using the Run menu then you'll have to use "Run > Run configurations...". Let me know if that fixes the issue you're seeing.
As for the import dialog, does clicking finish hang the IDE or does it just do nothing? It could be a known issue where selecting certain versions of GCC cause an exception. In this case the wizard finish button will appear to do nothing and is not closeable unless you click cancel or go back and select a different version of GCC. If you could tell me what version of GCC is selected under the Data File Location page in the wizard and upload the IDE log file (located in the <workspace root>/.metadata/ folder) then that could help pinpoint what's going on.Matthew Bastien(deleted)2017-08-22T18:13:00Zpost117971: Code Coverage IDE7Mario Charesthttp://community.qnx.com/sf/go/post1179712017-08-22T17:20:02Z2017-08-22T17:20:02ZFollow on from a different post about Code Coverage Issue:
When Editing a Debug Configuration, under the Tools Tab, Code coverage option is disabled with the message "Code Coverage (not supported in this mode)". I suspect that is because it expects some sort of "known config with Code Coverage". We added code coverage to our cmake and create a config under Eclipse (Which we called WithCoverage). Got no idea how to make Eclipse be aware of it.
Note that we are NOT using any cmake plug-in.
When trying the import route, my note says it freeze at the last step in the import dialog, the one with "Referenced projects to include coverage data from". Pressing Finish would do nothing. The dialog would stay up forever. Have to press cancelMario Charest2017-08-22T17:20:02Zpost117968: Re: Code coverage and java.lang.NullPointerExceptionDavid Cummings(deleted)http://community.qnx.com/sf/go/post1179682017-08-21T14:02:34Z2017-08-21T14:02:34ZWith regards to issues with your cmake projects, if you could please let us know what issues you've encountered (either through this forum or your support channel) we'd like to help resolve them. We have another release of Momentics upcoming in which we're addressing several code coverage issues.David Cummings(deleted)2017-08-21T14:02:34Zpost117967: Re: Code coverage and java.lang.NullPointerExceptionElena Laskavaiahttp://community.qnx.com/sf/go/post1179672017-08-21T13:59:00Z2017-08-21T13:59:00ZRegarding reports its not true, if you generate HTML report with Momentics anybody can see it.
HTML report is similar to what lcov would produce, but yes its not automatable nowElena Laskavaia2017-08-21T13:59:00Zpost117963: Re: Code coverage and java.lang.NullPointerExceptionMario Charesthttp://community.qnx.com/sf/go/post1179632017-08-17T15:53:42Z2017-08-17T15:53:42ZEven with IDE7.0 your millage will varied, have not been able to get it working with all type of projects ( we use cmake ).
That's why I went command line mode. Under linux lcov works great. Not as nice looking but you can adapt it to what ever methodology, plus you get the benefit of being able to automate it and produce resultat that a QC person can look at or for some tools to further analyse it. if you use Eclipse only someone with a Momentics license will be able to view the results.Mario Charest2017-08-17T15:53:42Zpost117962: Re: Code coverage and java.lang.NullPointerExceptionGUEDIDI Nizar(deleted)http://community.qnx.com/sf/go/post1179622017-08-17T15:22:49Z2017-08-17T15:22:49ZTo resolve this problem it is necessary to install IDE 7.0.0GUEDIDI Nizar(deleted)2017-08-17T15:22:49Zpost117957: Build variants with "Makefile project with existing code"?Jeffrey Percivalhttp://community.qnx.com/sf/go/post1179572017-08-11T19:36:24Z2017-08-11T19:36:24ZHi! I've been using the QNX 6.3.2 Linux IDE to build code for an x86 target for years. Now I'm trying to make the switch to the QNX6.6 Linux IDE and build for an ARM target. I need to create a "Makefile project with existing code" to compile a 3rd-party library, but when I make it, I just see a bunch of x86 ".o" files. How do I switch the compile target from x86 to arm? I see that if I create a "QNX C" project, I have that selection, but the 3rd-party code is in a pretty complex folder structure and it would be easiest to try to compile it with its existing Makefiles.
Is this possible?Jeffrey Percival2017-08-11T19:36:24Zpost117932: Re: Code coverage report is generated for some shared libraryMurugaiyan Perumal(deleted)http://community.qnx.com/sf/go/post1179322017-08-01T01:42:20Z2017-08-01T01:42:20ZI'm sure that I have enabled code coverage options for shared library 3 and 4 and shared library code is executed.
Have added printf's to ensure that shared library code has been executed.Murugaiyan Perumal(deleted)2017-08-01T01:42:20Zpost117931: Re: Code coverage report is generated for some shared libraryElena Laskavaiahttp://community.qnx.com/sf/go/post1179312017-07-31T13:15:12Z2017-07-31T13:15:12ZWell generically there should not be any differences obviously, you have to check
1) library 3 and 4 are instrumented with code coverage,
2) the code from these libs is actually executedElena Laskavaia2017-07-31T13:15:12Zpost117930: Code coverage report is generated for some shared libraryMurugaiyan Perumal(deleted)http://community.qnx.com/sf/go/post1179302017-07-31T09:28:29Z2017-07-31T09:28:29ZI enabled code coverage options for the application and shared library.
Application 1, shared library 1, shared library 2.
I used the signal handler (SIGUSR2) in application 1 to execute the __gcov_flush. I can see the code coverage is generated for all the app files, shared library 1 and 2 source files.
Similarly I enabled the code coverage options for application 2 and shared library.
Application 2, shared library 3, shared library 4.
I used the signal handler *SIGUSR2)in application 2 to trigger the __gcov_flush data.
I can able to see the code coverage data only for application 2 not for the shared library 3 and 4.
I'm running application 1 and 2 in single target which runs in QNX 6.6, x86 platform. Really don't understand why the code coverage data is generated for shared library 1 and 2 in application 1, why not code coverage data is not generated for shared library 3 and 4 for the application 2.
I have also compared the make output in IDE for both application 1 and 2. The options are same for both application 1 and 2.
I'm using the QNX IDE version 5.0.1.
Please let me know why there is a differences code coverage data (gcda ) files are not generated for shared library 3 and 4.Murugaiyan Perumal(deleted)2017-07-31T09:28:29Zpost117929: code coverage report is not generatedMurugaiyan Perumal(deleted)http://community.qnx.com/sf/go/post1179292017-07-31T09:17:43Z2017-07-31T09:17:43ZI created two application with code coverage enabled options.
I setup the signal handler to call the __gcov_flush () if SIGUSR2 is triggered. I can see gcda files are generated for both applications.
Application 1: Able to import the gcda files from target to host machine and can able to generate the code coverage data successfully without any error. Please see Applicaiton 1 No Issues file
Application 2: Able to import the gcda files from target to host machine, I'm getting the http error 500 and null pointer exceptions while generate the report. I can able to see the code coverage information for source files correctly, the problem is not able to generate the coverage report. Please see Application 2 Null Pointer Exception file and Application 2 Properties Window.
I have also attached log file of the IDE session.
Please note that I'm using QNX6.6 which runs in x86 platform.
Please help me to resolve why I'm getting null pointer exceptions while generating the code coverage data for application 2.
_______________________________________________
General
http://community.qnx.com/sf/go/post117928
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comMurugaiyan Perumal(deleted)2017-07-31T09:17:43Zpost117928: code coverage report is not generatedMurugaiyan Perumal(deleted)http://community.qnx.com/sf/go/post1179282017-07-31T09:17:41Z2017-07-31T09:17:41ZI created two application with code coverage enabled options.
I setup the signal handler to call the __gcov_flush () if SIGUSR2 is triggered. I can see gcda files are generated for both applications.
Application 1: Able to import the gcda files from target to host machine and can able to generate the code coverage data successfully without any error. Please see Applicaiton 1 No Issues file
Application 2: Able to import the gcda files from target to host machine, I'm getting the http error 500 and null pointer exceptions while generate the report. I can able to see the code coverage information for source files correctly, the problem is not able to generate the coverage report. Please see Application 2 Null Pointer Exception file and Application 2 Properties Window.
I have also attached log file of the IDE session.
Please note that I'm using QNX6.6 which runs in x86 platform.
Please help me to resolve why I'm getting null pointer exceptions while generating the code coverage data for application 2.Murugaiyan Perumal(deleted)2017-07-31T09:17:41Zpost117924: Re: Code coverage and java.lang.NullPointerExceptionMurugaiyan Perumal(deleted)http://community.qnx.com/sf/go/post1179242017-07-30T10:05:39Z2017-07-30T10:05:39ZI have also experiencing similar problem while launching code coverage from IDE. I'm using IDE version 5.0.1. I have attached the screen shot of an error.
Also experiencing null pointer exception if generate the data from code coverage session. I can able to view the information in property window. But, the code coverage report ends with below error.
HTTP ERROR: 500
Problem accessing /qnx-coverage/coverage. Reason:
Exception occurred during ctor/Transformation:
debug is false
Parsing XSL Stylesheet Document from configuration: /webapp/WEB-INF/xslt/cov-html.xslt
Performing transformation...
javax.xml.transform.TransformerException: java.lang.NullPointerException
Any suggestion to solve this issue ?
> Hello,
>
> We are trying to use the code coverage option in some of our projects using of
> QNX Momentics IDE 4.7 (QNX 6.5.0 SP1). But most of the time we have an error
> “java.lang.NullPointerException" while launching the program to the target.
> We tried to create new project dedicated to the coverage with our sources and
> sometime it works, but most of the time we still have the “java.lang.
> NullPointerException” error.
>
> You will found the log file of Momentics IDE and screen of the error.
> I have no idea what is causing this....
>
> Any help would be greatly appreciated.
>
> Best regards,
> NizarMurugaiyan Perumal(deleted)2017-07-30T10:05:39Zpost117896: Warning about IDE7.0 available on FoundryMario Charesthttp://community.qnx.com/sf/go/post1178962017-07-19T16:58:04Z2017-07-19T16:58:04ZHi,
This is not the same as the one available in SDP7.0. They both report 7.0.0.v201705161739 after doing a "Check For Update" many componenent are of different revision.
Project created in SDP7.0 might (at least that the case for me ) not work right when open with the IDE7.0 GA 03/24/2017 available on Foundry.
Regards,Mario Charest2017-07-19T16:58:04Zpost117837: IDE 7.0 ReposMario Charesthttp://community.qnx.com/sf/go/post1178372017-06-29T15:21:16Z2017-06-29T15:21:16ZHello,
Is it possible to get a repos zip flavor of the QNX specific stuff of 7.0
Regards.Mario Charest2017-06-29T15:21:16Zpost117796: Re: IDE 7.0 GA Setting Environment Vars in the Debug settingsKevin Stallard(deleted)http://community.qnx.com/sf/go/post1177962017-06-18T22:08:02Z2017-06-18T22:08:02ZFYI: Seems to be doing it for other settings as well. There seem to be two copies, it feels like it is being cached in memory and not being updated when the debug configuration is modified.
Thanks
KevinKevin Stallard(deleted)2017-06-18T22:08:02Zpost117786: RE: Unable to install any packages in QNZ Software CenterJames Thomsonhttp://community.qnx.com/sf/go/post1177862017-06-12T14:36:31Z2017-06-12T14:36:31ZThis is the wrong forum for that - I'd suggest contacting a QNX sales rep via e-mail. They are usually pretty quick to respond and get issues like this fixed.
Thanks,
-James
-----Original Message-----
From: Antonio Silverio [mailto:community-noreply@qnx.com]
Sent: Monday, June 12, 2017 9:35 AM
To: general-ide <general-ide@community.qnx.com>
Subject: Unable to install any packages in QNZ Software Center
Hi
I have requested and received a 30 days trial license.
The license is registered and I have also activated it manually I have downloaded QNX Softare Center, I am behind a proxy, so I have configured it together with my QNX account However I cannot find any suitable packages to install, the "Products Available for Download and Install" is empty, with only "There are no categorized items"
If I double click on this row, I get a page with "License Key Selection", my trial license is there but there is a stp icon with "Invalid product type"
It is a kind of this license is wrong/malfunctional I have also tried to generate a proxy certificate, without any benefits How can I move forward?
Thanks, bye
_______________________________________________
General
http://community.qnx.com/sf/go/post117785
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comJames Thomson2017-06-12T14:36:31Zpost117785: Unable to install any packages in QNZ Software CenterAntonio Silverio(deleted)http://community.qnx.com/sf/go/post1177852017-06-12T14:35:02Z2017-06-12T14:35:02ZHi
I have requested and received a 30 days trial license.
The license is registered and I have also activated it manually
I have downloaded QNX Softare Center, I am behind a proxy, so I have configured it together with my QNX account
However I cannot find any suitable packages to install, the "Products Available for Download and Install" is empty, with only "There are no categorized items"
If I double click on this row, I get a page with "License Key Selection", my trial license is there but there is a stp icon with "Invalid product type"
It is a kind of this license is wrong/malfunctional
I have also tried to generate a proxy certificate, without any benefits
How can I move forward?
Thanks, byeAntonio Silverio(deleted)2017-06-12T14:35:02Zpost117779: Re: IDE 7.0 GA Setting Environment Vars in the Debug settingsDoug Schaefer(deleted)http://community.qnx.com/sf/go/post1177792017-06-07T18:20:52Z2017-06-07T18:20:52ZCool. Thanks Kevin. We¹ll take a look at that and see what¹s happening.
Cheers,
Doug
On 2017-06-07, 1:30 PM, "Kevin Stallard" <community-noreply@qnx.com> wrote:
>Hi,
>
>Want to say that I love the IDE 7.0. It is SO nice. We are using it
>with QNX 6.5 and QNX 6.6, and it integrates and uses the 6.5 tools with
>no effort. It has been great. Nice job.
>
>I am having one issue that I wanted to bring up. It isn't a show
>stopper, but if you aren't aware of it, I wanted to provide a description.
>
>If I create a Debug configuration and along with the other config
>settings I set up an environment variable (selecting Replace Native
>environment with specified environment), I see that variable and value
>when the binary runs if I launch the binary from the Debug Configurations
>Dialog.
>
>If I run the binary using the little bug symbol in the drop down
>(selecting the same configuration I just created), the Environment
>variable is not replaced by the one specified in the configuration dialog.
>
>Nothing urgent, but wanted to point it out.
>
>Thanks
>Kevin
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post117778
>To cancel your subscription to this discussion, please e-mail
>general-ide-unsubscribe@community.qnx.comDoug Schaefer(deleted)2017-06-07T18:20:52Zpost117778: IDE 7.0 GA Setting Environment Vars in the Debug settingsKevin Stallard(deleted)http://community.qnx.com/sf/go/post1177782017-06-07T17:30:53Z2017-06-07T17:30:53ZHi,
Want to say that I love the IDE 7.0. It is SO nice. We are using it with QNX 6.5 and QNX 6.6, and it integrates and uses the 6.5 tools with no effort. It has been great. Nice job.
I am having one issue that I wanted to bring up. It isn't a show stopper, but if you aren't aware of it, I wanted to provide a description.
If I create a Debug configuration and along with the other config settings I set up an environment variable (selecting Replace Native environment with specified environment), I see that variable and value when the binary runs if I launch the binary from the Debug Configurations Dialog.
If I run the binary using the little bug symbol in the drop down (selecting the same configuration I just created), the Environment variable is not replaced by the one specified in the configuration dialog.
Nothing urgent, but wanted to point it out.
Thanks
KevinKevin Stallard(deleted)2017-06-07T17:30:53Zpost117704: Re: Changing a variable value through command prompt?Edgardo Torres-Villahttp://community.qnx.com/sf/go/post1177042017-05-03T18:37:25Z2017-05-03T18:37:25ZThanks, that sounds like a good place to start.Edgardo Torres-Villa2017-05-03T18:37:25Zpost117703: Re: Changing a variable value through command prompt?Elena Laskavaiahttp://community.qnx.com/sf/go/post1177032017-05-03T18:34:28Z2017-05-03T18:34:28ZYeah it makes a lot more sense. You can use command line gdb (of
specific architecture of your target)
then you write gdb script which will a) connect to target b) attach to
process c) change value of variable d) detach
I think you can do it all using .gdbinit file, I don't have specific of
command to use but its doable.
Check gdb command line docs (not necessary qnx specific). Qnx specific
step will be a)
On 2017-05-03 02:29 PM, Edgardo Torres-Villa wrote:
> Sorry, I am trying to change the value while the program is running on a device. I am able to do so through the IDE's debugger. I figured there could be a way to do the same without doing it manually on the IDE. Does that make more sense?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post117702
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2017-05-03T18:34:28Zpost117702: Re: Changing a variable value through command prompt?Edgardo Torres-Villahttp://community.qnx.com/sf/go/post1177022017-05-03T18:29:43Z2017-05-03T18:29:43ZSorry, I am trying to change the value while the program is running on a device. I am able to do so through the IDE's debugger. I figured there could be a way to do the same without doing it manually on the IDE. Does that make more sense?Edgardo Torres-Villa2017-05-03T18:29:43Zpost117701: Re: Changing a variable value through command prompt?Elena Laskavaiahttp://community.qnx.com/sf/go/post1177012017-05-03T18:25:58Z2017-05-03T18:25:58ZSorry but the way this worded makes no sense. Please elaborate.
You trying to change value in source code by editing source
code? Or you trying to change value while program is running on the device?
In any of the cases above it has nothing to do with IDE.
On 2017-05-03 02:21 PM, Edgardo Torres-Villa wrote:
> Hello,
>
> My end goal is to be able to update a static variable's value in QNX Momentics(IDE 4.7) through an external program (.exe).
> I figured there may be a way through window's command prompt. Is this possible? If so, how? Perhaps there could be a better way. Does QNX have an API library I could use to complete this task?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post117700
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2017-05-03T18:25:58Zpost117700: Changing a variable value through command prompt?Edgardo Torres-Villahttp://community.qnx.com/sf/go/post1177002017-05-03T18:21:47Z2017-05-03T18:21:47ZHello,
My end goal is to be able to update a static variable's value in QNX Momentics(IDE 4.7) through an external program (.exe).
I figured there may be a way through window's command prompt. Is this possible? If so, how? Perhaps there could be a better way. Does QNX have an API library I could use to complete this task?Edgardo Torres-Villa2017-05-03T18:21:47Zpost117698: Re: Momentics ignores user added includes at build timeDoug Schaefer(deleted)http://community.qnx.com/sf/go/post1176982017-05-03T14:39:11Z2017-05-03T14:39:11ZFor QNX Executable projects, you need to add the include path in the
Makefile. There are a couple of lines commented out there that shows you
how. For xapmle:
INCLUDES += -I/path/to/abcheader
On 2017-05-02, 5:38 PM, "Sorin Lazareanu" <community-noreply@qnx.com>
wrote:
>Steps to reproduce:
>Create a Project Explorer > New > QNX Project, select QNX Executable.
>Observe the buit-in includes.
>Select the project in Project Explorer > Properties > C/C++ General >
>Paths and Symbols > Includes .> GNU C > Add > add a directory containing
>abc.h and add an include line in the cpp file.
>Project > Build Project
>CDT Build console reports
>qcc ....
>src/QNXExecutable.cpp:... fatal error: abc.h: No such file or directory.
>
>Please help.
>
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post117695
>To cancel your subscription to this discussion, please e-mail
>general-ide-unsubscribe@community.qnx.comDoug Schaefer(deleted)2017-05-03T14:39:11Zpost117697: Re: Momentics ignores user added includes at build timeElena Laskavaiahttp://community.qnx.com/sf/go/post1176972017-05-03T14:05:36Z2017-05-03T14:05:36ZIf you Have QNX Project includes are managed by Properties-> QNX C/C++ Project -> Compiler tab
The includes in the other places are purely for internal index and has no impact on compilation
(technically this preference page should not be even visible I think its a bug)Elena Laskavaia2017-05-03T14:05:36Zpost117695: Momentics ignores user added includes at build timeSorin Lazareanu(deleted)http://community.qnx.com/sf/go/post1176952017-05-02T21:38:44Z2017-05-02T21:38:44ZSteps to reproduce:
Create a Project Explorer > New > QNX Project, select QNX Executable. Observe the buit-in includes.
Select the project in Project Explorer > Properties > C/C++ General > Paths and Symbols > Includes .> GNU C > Add > add a directory containing abc.h and add an include line in the cpp file.
Project > Build Project
CDT Build console reports
qcc ....
src/QNXExecutable.cpp:... fatal error: abc.h: No such file or directory.
Please help.Sorin Lazareanu(deleted)2017-05-02T21:38:44Zpost117661: Re: QNX SP1 is removing files from the base installationKevin Stallard(deleted)http://community.qnx.com/sf/go/post1176612017-04-20T23:21:52Z2017-04-20T23:21:52ZIts what I get for not reading the install notes....thank you :)
KevinKevin Stallard(deleted)2017-04-20T23:21:52Zpost117595: Re: QNX SP1 is removing files from the base installationNatalia Miyusovahttp://community.qnx.com/sf/go/post1175952017-04-03T14:05:12Z2017-04-03T14:05:12ZHi Kevin,
Yes, this is a known issue. It's mentioned it 6.5.0SP1 release notes:
--------------------------
If you just installed QNX SDP 6.5.0, be sure to log out and back in again before you install Service Pack 1. If you don't, the environment won't be set up properly, and some files might not be installed properly.
--------------------------
On Ubuntu systems you will have to use "sudo -E ./<650SP1-installer>" to launch the Service Pack 1 installer.
Did you follow these steps to install 650SP1 and still got the corrupt installation?
If you missed any of these steps, you'll need to uninstall 650SP1 using the cleanup utility, then install 6.5.0.
Then log out/ log back in.
Run “sudo –E ./<650SP1-installer>” to install the service pack.
Let me know if you have any questions,
NataliaNatalia Miyusova2017-04-03T14:05:12Zpost117443: QNX SP1 is removing files from the base installationKevin Stallard(deleted)http://community.qnx.com/sf/go/post1174432017-02-23T20:52:12Z2017-02-23T20:52:12ZIf I install QNX 6.5.0 and then QNX 6.5.0 SP1, numerous files are removed. Specifically all the files in the usr/include/mk directory as well as such files as sys/rsrcdbmgr.h
I don't have a complete list, but this has happened on multiple occasions. I'm installing in Linux (Ubuntu). Has anyone else seen this?
Thanks
KevinKevin Stallard(deleted)2017-02-23T20:52:12Zpost117378: Code coverage and java.lang.NullPointerExceptionGUEDIDI Nizar(deleted)http://community.qnx.com/sf/go/post1173782017-01-25T11:04:52Z2017-01-25T11:04:52ZHello,
We are trying to use the code coverage option in some of our projects using of QNX Momentics IDE 4.7 (QNX 6.5.0 SP1). But most of the time we have an error “java.lang.NullPointerException" while launching the program to the target.
We tried to create new project dedicated to the coverage with our sources and sometime it works, but most of the time we still have the “java.lang.NullPointerException” error.
You will found the log file of Momentics IDE and screen of the error.
I have no idea what is causing this....
Any help would be greatly appreciated.
Best regards,
NizarGUEDIDI Nizar(deleted)2017-01-25T11:04:52Zpost117315: Re: ELF file issuesElena Laskavaiahttp://community.qnx.com/sf/go/post1173152017-01-05T18:18:35Z2017-01-05T18:18:35Z> In the .TAR file space though its executing some code is it not? I don't want
> to waste my time trying to sniff through assembly language code if its just
> giving me header information about the ELF file itself. I was told these
> processes located in the .TAR perform an operation. If I use one of these
> utilities I just want to make sure im looking at the application code that is
> performing the work and not some ELF file header information.
>
I am sorry I cannot help you what you saying does not make any sense. Tar is file archive container it does not execute any code. I suggest you talk to your supervisor or colleagues about your issues first.Elena Laskavaia2017-01-05T18:18:35Zpost117314: Re: ELF file issuesjimmy flanagan(deleted)http://community.qnx.com/sf/go/post1173142017-01-05T18:11:58Z2017-01-05T18:11:58ZIn the .TAR file space though its executing some code is it not? I don't want to waste my time trying to sniff through assembly language code if its just giving me header information about the ELF file itself. I was told these processes located in the .TAR perform an operation. If I use one of these utilities I just want to make sure im looking at the application code that is performing the work and not some ELF file header information.jimmy flanagan(deleted)2017-01-05T18:11:58Zpost117313: Re: ELF file issuesMario Charesthttp://community.qnx.com/sf/go/post1173132017-01-05T17:55:42Z2017-01-05T17:55:42ZThere is also ntox86-objdump, assuming they are x86 executable.
Good luck.Mario Charest2017-01-05T17:55:42Zpost117312: Re: ELF file issuesElena Laskavaiahttp://community.qnx.com/sf/go/post1173122017-01-05T17:49:01Z2017-01-05T17:49:01ZELF files are binary files. There is no source code that stored in them. If you can convert them to assembly using readelf utility if you good with assembler code.Elena Laskavaia2017-01-05T17:49:01Zpost117311: ELF file issuesjimmy flanagan(deleted)http://community.qnx.com/sf/go/post1173112017-01-05T17:26:55Z2017-01-05T17:26:55ZJust downloaded QNX and trying to understand it. I have a bunch of ELF files. I'm trying to understand if there is any way I can open them and see the source code that is stored in them if any. I'm trying to run these processes in the BIN folder but I have no idea where to start. Is there a way to see the source code? Maybe dis assembly them or de compile them? Do I have to do something with all SO files in the LIB folder?
When I open them up with IDE I got some characters I can read and the format looks good but most of it is gibberish characters.
See attached images of the file I am looking at.
Thank you in advancejimmy flanagan(deleted)2017-01-05T17:26:55Zpost117157: In Project properties window, I'm not able to open 'QNX C/C++ Project' optiondheeraj pulipaka(deleted)http://community.qnx.com/sf/go/post1171572016-11-22T14:11:36Z2016-11-22T14:11:36ZAfter opening the QNX IDE , In the C/C++ Projects view, I first right-click on my project and select Properties.
Next, In the left pane when I select QNX C/C++ Project , a window titled ‘Could Not Accept Changes’ appears with error message ”The currently displayed page contains invalid values”.dheeraj pulipaka(deleted)2016-11-22T14:11:36Zpost117129: Re: Help explain diff between gcc ARM compilers shipping with Momentics 4.7.0Heston Holtmann(deleted)http://community.qnx.com/sf/go/post1171292016-11-16T18:15:48Z2016-11-16T18:15:48ZThanks Doug.. that was the simple info I was looking for.
Heston Taylor Holtmann (HTH)Heston Holtmann(deleted)2016-11-16T18:15:48Zpost117119: Re: Help explain diff between gcc ARM compilers shipping with Momentics 4.7.0Doug Schaefer(deleted)http://community.qnx.com/sf/go/post1171192016-11-15T20:13:01Z2016-11-15T20:13:01ZThat¹s been an issue with Windows over the years. To get around weak
symbolic link support, we made copies instead. Different tools in the
ecosystem expect different names for the compilers.
But, yes, there are two ARM compilers. One for ARMv7 and one for ARMv6
(which was just named arm at the time).
HTH, Doug.
On 2016-11-15, 3:04 PM, "Heston Holtmann" <community-noreply@qnx.com>
wrote:
>Can anyone point me to the documentation (online or print) that explains
>the difference between the different GCC compilers for ARM shipped with
>Momentics 4.7.0
>
>based on file size it looks like Momentics installs only 2 different arm
>compilers, but each has 4 copies.
>What's with that? why?
>
>I generated the list below using ls and grep command
>
>hholtmann@C-00000046 MSYS /c/QNX650/host/win32/x86/usr/bin
>$ ls -l | grep -i arm | grep -i gcc
>-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010
>arm-unknown-nto-qnx6.5.0eabi-gcc.exe
>-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010
>arm-unknown-nto-qnx6.5.0eabi-gcc-4.4.2.exe
>
>-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010
>arm-unknown-nto-qnx6.5.0-gcc.exe
>-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010
>arm-unknown-nto-qnx6.5.0-gcc-4.4.2.exe
>
>-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 ntoarm-gcc.exe
>-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010
>ntoarm-gcc-4.4.2.exe
>
>-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 ntoarmv7-gcc.exe
>-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010
>ntoarmv7-gcc-4.4.2.exe
>
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post117117
>To cancel your subscription to this discussion, please e-mail
>general-ide-unsubscribe@community.qnx.comDoug Schaefer(deleted)2016-11-15T20:13:01Zpost117117: Help explain diff between gcc ARM compilers shipping with Momentics 4.7.0Heston Holtmann(deleted)http://community.qnx.com/sf/go/post1171172016-11-15T20:04:19Z2016-11-15T20:04:19ZCan anyone point me to the documentation (online or print) that explains the difference between the different GCC compilers for ARM shipped with Momentics 4.7.0
based on file size it looks like Momentics installs only 2 different arm compilers, but each has 4 copies.
What's with that? why?
I generated the list below using ls and grep command
hholtmann@C-00000046 MSYS /c/QNX650/host/win32/x86/usr/bin
$ ls -l | grep -i arm | grep -i gcc
-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 arm-unknown-nto-qnx6.5.0eabi-gcc.exe
-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 arm-unknown-nto-qnx6.5.0eabi-gcc-4.4.2.exe
-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 arm-unknown-nto-qnx6.5.0-gcc.exe
-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 arm-unknown-nto-qnx6.5.0-gcc-4.4.2.exe
-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 ntoarm-gcc.exe
-rwxr-xr-x 1 hholtmann Domain Users 197120 Jun 3 2010 ntoarm-gcc-4.4.2.exe
-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 ntoarmv7-gcc.exe
-rwxr-xr-x 1 hholtmann Domain Users 197632 Jun 3 2010 ntoarmv7-gcc-4.4.2.exeHeston Holtmann(deleted)2016-11-15T20:04:19Zpost116966: Re: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bitHeston Holtmann(deleted)http://community.qnx.com/sf/go/post1169662016-10-12T17:28:42Z2016-10-12T17:28:42ZThanks... it worked.
the "vpd.properties" file exists in C:\Windows on both 32bit and 64bit windows hosts
used this article to assist with understanding the file from IBM and Eclipse
http://www.theserverside.com/tip/IBM-Installation-Configuration-Tip-1-Installation-problems-and-vpdproperties
After removing QNX 6.5.0 Momentics using its uninstaller, I renamed the C:\Windows\vpd.properties to a .bak file
reinstalled 6.5.0
and then re-installed the SP1 setup and it worked.
All working now.Heston Holtmann(deleted)2016-10-12T17:28:42Zpost116964: Re: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bitHeston Holtmann(deleted)http://community.qnx.com/sf/go/post1169642016-10-12T15:36:32Z2016-10-12T15:36:32ZThanks.. I will do a full uninstall of 6.5.0, followed by the QNXWinCleanup.exe and hunt for the hidden files before re-installHeston Holtmann(deleted)2016-10-12T15:36:32Zpost116963: Re: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bitNatalia Miyusovahttp://community.qnx.com/sf/go/post1169632016-10-12T13:23:53Z2016-10-12T13:23:53ZHi,
Installers use a special registry called vpd.properties to determine if the product is already installed. The cleanup utility should have updated it. It is possible that on a 64bit system the cleanup utility did not work as expected.
You can try running the cleanup utility again to remove 6.5.0. Then do a system search to locate vpd.properties file (note, it is a hidden file, so you'll need to enable the option to "view hidden files"). Rename vpd.properties into vpd.properties-oct12-2016. Re-install 6.5.0 and 6.5.0SP1.
Let me know if that solves the issue.
NataliaNatalia Miyusova2016-10-12T13:23:53Zpost116960: Re: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bitHeston Holtmann(deleted)http://community.qnx.com/sf/go/post1169602016-10-11T20:42:06Z2016-10-11T20:42:06ZForgot to include the output from the QCONFIG.EXE command showing what is installed.. shows that 6.5.0 is installed but SP1 is NOT!
C:\>qconfig
QNX Installations
Installation Name: QNX Software Development Platform 6.5.0
Version: 6.5.0
Base Directory: C:/QNX650
QNX_HOST: C:/QNX650/host/win32/x86
QNX_TARGET: C:/QNX650/target/qnx6
Additional Packages
C:\>Heston Holtmann(deleted)2016-10-11T20:42:06Zpost116959: Can't install SP1 of QNX IDE 6.5.0 after a clean re-install of 6.5.0 on Windows 7 Pro 64bitHeston Holtmann(deleted)http://community.qnx.com/sf/go/post1169592016-10-11T19:18:39Z2016-10-11T19:18:39ZVery new to QNX Momentus IDE (Not new to Eclipse CDT though...)
My blunder:
1. I installed QNX 6.5.0 IDE on Windows 7 Pro x64 system (all worked) into C:\QNX650 (default path)
2. Then I installed the SP1 (qnxsdp-6.5.0SP1-201206261830-win32.exe).. also worked
3. I had a workspace in C:\ws\* with a bunch of imported SVN projects.....
4. I wanted to start from scratch and delete my workspace... C:\ws\*
5. BUT.. I completely deleted the IDE install path C:\QNX650 by accident
I could not uninstall 6.5.0 Ide properly using Add Remove programs.. and those entries got removed as well after trying to run them.
So I used the Utility on the 6.5.0 install DVD that wipes an install from a system
QNXWinCleanup.exe
The above worked and I was able to re-install the QNX 650 IDE to default path C:\QNX650 again..
I can even create a workspace and new QNX C++ test project and build it.
BUT... I can't re-install the SP1.. the installer says it already exists in C:\QNX650.
(See attached pic)
But this is not true.. because it got wiped from disk .
There must be some registry entry that exists that makes the SP1 installer THINK its still installed.
How do I remove all existence of SP1 so I can re-install it?Heston Holtmann(deleted)2016-10-11T19:18:39Zpost116641: Re: 6.0M1 Qconn Update causes Null Pointer ExceptionIgor Rondarevhttp://community.qnx.com/sf/go/post1166412016-08-09T14:50:10Z2016-08-09T14:50:10ZStill present in Momentics 7.0.0 AlphaIgor Rondarev2016-08-09T14:50:10Zpost116573: Re: Not able to link shared library (.so) in QNX IDEDeepain Nayyar(deleted)http://community.qnx.com/sf/go/post1165732016-07-21T21:34:41Z2016-07-21T21:34:41ZThanks Elena,
Got it working with ur suggestion.
ThanksDeepain Nayyar(deleted)2016-07-21T21:34:41Zpost116571: Re: Not able to link shared library (.so) in QNX IDEElena Laskavaiahttp://community.qnx.com/sf/go/post1165712016-07-21T19:31:23Z2016-07-21T19:31:23ZThis is not correct syntax for -l option. Its also an icorrect naming so .so file for compiler to find it later.
Please refer doc's on how to create shared libs (it would be something like
libkill.so
and
-lkill -L../libElena Laskavaia2016-07-21T19:31:23Zpost116570: Not able to link shared library (.so) in QNX IDEDeepain Nayyar(deleted)http://community.qnx.com/sf/go/post1165702016-07-21T19:19:29Z2016-07-21T19:19:29ZI am using QNX Momentics IDE Version 4.7. I am not able to link the shared library (.so) file during the build project. I am trying to build a simple makefile project
The error message which I am getting is:
make all
cp kill.h ../include
cc -Vgcc_ntox86 -shared -a ../lib/killlib.so
C:\QNX650\host\win32\x86\usr\bin\ntox86-ar: creating ../lib/killlib.so
cc -Bdynamic -Vgcc_ntox86 -DVERSION=\"VER5.00.01\" -g -l../lib/killlib.so -lsocket -c -o upgrade2.o upgrade2.c
cc -Bdynamic -o upgrade2 upgrade2.o -Vgcc_ntox86 -DVERSION=\"VER5.00.01\" -g -l../lib/killlib.so -lsocket
C:\QNX650\host\win32\x86\usr\bin\ntox86-ld: cannot find -l../lib/killlib.so
cc: C:/QNX650/host/win32/x86/usr/bin/ntox86-ld caught signal 1
make: *** [upgrade2] Error 1
I am able to see killlib.so getting updated in lib forlder, but when I am trying to generate an executable, it is not able to find the library.
I am attaching the makefile which I am usingDeepain Nayyar(deleted)2016-07-21T19:19:29Zpost116552: Re: new to QNXElena Laskavaiahttp://community.qnx.com/sf/go/post1165522016-07-18T14:25:55Z2016-07-18T14:25:55ZIf you trying to create a library, you have to change you project settings to produce a library not a binary.
http://www.qnx.com/developers/docs/6.4.1/ide_en/user_guide/images/newproject_type.gif
(You can also change it in the settings)Elena Laskavaia2016-07-18T14:25:55Zpost116540: Re: new to QNXPriyanka Dhull(deleted)http://community.qnx.com/sf/go/post1165402016-07-13T13:40:33Z2016-07-13T13:40:33ZHello
Did you get some solution of this issue, currently im stuck with it.Priyanka Dhull(deleted)2016-07-13T13:40:33Zpost116524: Re: PhAB error while generating codeElena Laskavaiahttp://community.qnx.com/sf/go/post1165242016-07-06T13:46:53Z2016-07-06T13:46:53ZTry to run this command from a command line. I think QNX_HOST is not actually resolved. Do you have QNX_HOST set as global env variable?Elena Laskavaia2016-07-06T13:46:53Zpost116522: PhAB error while generating codemario sangallihttp://community.qnx.com/sf/go/post1165222016-07-06T08:46:39Z2016-07-06T08:46:39ZHi,
I'm working with Momentics IDE 4.7 , QNX6.5.0, I've created a new Photon application with PhAB, but when I try to generate the code I get the error showed in the attached printscreen image:
Command '$QNX_HOST/usr/photon/bin/sort -u -oG:/temp/qnx/Video/src/abWfiles.t G:/temp/qnx/Video/src/abWfiles.t' failed (2).
I tried to create a new project, to change the projet folder and drive on the machine, and also reinstalling the whole IDE but without success, this error ever occurs.
The same IDE istalled on another machine istead works fine.
What is causing this error on that particular machine?
How can be solved?
Thank you
M.mario sangalli2016-07-06T08:46:39Zpost116171: Re: 6.0M1 Qconn Update causes Null Pointer ExceptionDavid Cummings(deleted)http://community.qnx.com/sf/go/post1161712016-04-26T13:32:36Z2016-04-26T13:32:36ZThanks for the feedback Igor.
On 2016-04-26, 4:45 AM, "Igor Rondarev" <community-noreply@qnx.com> wrote:
>Hello!
>
>Exploring new 6.0 M1, found some bug: Help -> QNX Software Updates... ->
>Qconn Updates... does nothing but always causes NPE.
>
>An exerpt from .metadata/.log:
>
>------------------ cut -----------------------
>!SESSION 2016-04-26 12:19:17.749
>-----------------------------------------------
>eclipse.buildId=7.0.0
>java.version=1.8.0_05
>java.vendor=Oracle Corporation
>BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
>Command-line arguments: -os linux -ws gtk -arch x86_64
>
>!ENTRY org.eclipse.core.filebuffers 4 0 2016-04-26 12:19:21.796
>!MESSAGE The content type with id "qmlFile" specified in the extension
>point does not exist.
>
>!ENTRY org.eclipse.core.filebuffers 4 0 2016-04-26 12:19:21.797
>!MESSAGE The content type with id "qmlFile" specified in the extension
>point does not exist.
>
>!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110
>!MESSAGE Enablement expression is missing for config provider for
>com.qnx.tools.ide.qde.debug.core.descriptorType.default
>
>!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110
>!MESSAGE Enablement expression is missing for config provider for
>org.eclipse.cdt.qt.core.launchDescriptorType
>
>!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110
>!MESSAGE Enablement expression is missing for config provider for
>org.eclipse.cdt.qt.core.launchDescriptorType
>
>!ENTRY com.qnx.tools.ide.capabilities.ui 4 0 2016-04-26 12:19:29.178
>!MESSAGE activityProfiles.activityRequirementBinding: Invalid activityId
>com.qnx.tools.ide.capabilities.ui.activity.qnxSystemDeveloper
>
>!ENTRY com.qnx.tools.ide.capabilities.ui 4 0 2016-04-26 12:19:29.185
>!MESSAGE activityProfiles.activityRequirementBinding: Invalid
>requiredActivityId com.qnx.tools.ide.capabilities.ui.activity.qnxDeveloper
>
>!ENTRY org.eclipse.ui 4 0 2016-04-26 12:20:46.262
>!MESSAGE Unhandled event loop exception
>!STACK 0
>java.lang.NullPointerException
> at
>com.qnx.tools.ide.updater.action.QconnUpdaterAction.setup(QconnUpdaterActi
>on.java:242)
> at
>com.qnx.tools.ide.updater.action.QconnUpdaterAction.run(QconnUpdaterAction
>.java:68)
> at
>com.qnx.tools.ide.updater.action.QconnUpdaterAction.run(QconnUpdaterAction
>.java:77)
> at
>org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
> at
>org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.jav
>a:228)
> at
>org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Acti
>onContributionItem.java:565)
> at
>org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributio
>nItem.java:397)
> at
>org.eclipse.jface.action.ActionContributionItem$$Lambda$37/919541414.handl
>eEvent(Unknown Source)
> at
>org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4494)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1339)
> at
>org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3832)
> at
>org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3443)
> at
>org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRen
>deringEngine.java:1118)
> at
>org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:33
>6)
> at
>org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRende
>ringEngine.java:1019)
> at
>org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbenc
>h.java:157)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:691)
> at
>org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:33
>6)
> at
>org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604
>)
> at
>org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at
>org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicatio
>n.java:138)
> at
>org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.jav
>a:196)
> at
>org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicatio
>n(EclipseAppLauncher.java:134)
> at
>org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclipse
>AppLauncher.java:104)
> at
>org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:38
>8)
> at
>org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:24
>3)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
>org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:670)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:609)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1516)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1489)
>------------------ cut -----------------------
>
>
>
>_______________________________________________
>
>General
>http://community.qnx.com/sf/go/post116159
>To cancel your subscription to this discussion, please e-mail
>general-ide-unsubscribe@community.qnx.comDavid Cummings(deleted)2016-04-26T13:32:36Zpost116160: Re: Using lambda expression in 6.5.0?Hunkyo Jung(deleted)http://community.qnx.com/sf/go/post1161602016-04-26T09:07:05Z2016-04-26T09:07:05ZAha! Thanks for your reply, Igor Rondarev.Hunkyo Jung(deleted)2016-04-26T09:07:05Zpost116159: 6.0M1 Qconn Update causes Null Pointer ExceptionIgor Rondarevhttp://community.qnx.com/sf/go/post1161592016-04-26T08:45:33Z2016-04-26T08:45:33ZHello!
Exploring new 6.0 M1, found some bug: Help -> QNX Software Updates... -> Qconn Updates... does nothing but always causes NPE.
An exerpt from .metadata/.log:
------------------ cut -----------------------
!SESSION 2016-04-26 12:19:17.749 -----------------------------------------------
eclipse.buildId=7.0.0
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.core.filebuffers 4 0 2016-04-26 12:19:21.796
!MESSAGE The content type with id "qmlFile" specified in the extension point does not exist.
!ENTRY org.eclipse.core.filebuffers 4 0 2016-04-26 12:19:21.797
!MESSAGE The content type with id "qmlFile" specified in the extension point does not exist.
!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110
!MESSAGE Enablement expression is missing for config provider for com.qnx.tools.ide.qde.debug.core.descriptorType.default
!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.qt.core.launchDescriptorType
!ENTRY org.eclipse.launchbar.core 2 0 2016-04-26 12:19:22.110
!MESSAGE Enablement expression is missing for config provider for org.eclipse.cdt.qt.core.launchDescriptorType
!ENTRY com.qnx.tools.ide.capabilities.ui 4 0 2016-04-26 12:19:29.178
!MESSAGE activityProfiles.activityRequirementBinding: Invalid activityId com.qnx.tools.ide.capabilities.ui.activity.qnxSystemDeveloper
!ENTRY com.qnx.tools.ide.capabilities.ui 4 0 2016-04-26 12:19:29.185
!MESSAGE activityProfiles.activityRequirementBinding: Invalid requiredActivityId com.qnx.tools.ide.capabilities.ui.activity.qnxDeveloper
!ENTRY org.eclipse.ui 4 0 2016-04-26 12:20:46.262
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at com.qnx.tools.ide.updater.action.QconnUpdaterAction.setup(QconnUpdaterAction.java:242)
at com.qnx.tools.ide.updater.action.QconnUpdaterAction.run(QconnUpdaterAction.java:68)
at com.qnx.tools.ide.updater.action.QconnUpdaterAction.run(QconnUpdaterAction.java:77)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:247)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:228)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$$Lambda$37/919541414.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4494)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1339)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3832)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3443)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1118)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1019)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:157)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:691)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:670)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:609)
at org.eclipse.equinox.launcher.Main.run(Main.java:1516)
at org.eclipse.equinox.launcher.Main.main(Main.java:1489)
------------------ cut -----------------------Igor Rondarev2016-04-26T08:45:33Zpost116158: Re: Using lambda expression in 6.5.0?Igor Rondarevhttp://community.qnx.com/sf/go/post1161582016-04-26T08:37:30Z2016-04-26T08:37:30ZYou may try to use gcc 4.8.3, it's available here - http://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.gcc.gcc_4_8Igor Rondarev2016-04-26T08:37:30Zpost116127: Using lambda expression in 6.5.0?Hunkyo Jung(deleted)http://community.qnx.com/sf/go/post1161272016-04-21T08:24:35Z2016-04-21T08:24:35ZI wrote a simple program using lambda, but it failed with compile errors
#include <cstdlib>
#include <iostream>
#include <tr1/functional>
int main(int argc, char *argv[]) {
auto f = []{
std::cout << "Hello, Lambdas" << endl;
};
f();
return EXIT_SUCCESS;
}
I found that lambda is supported since gcc 4.5 and 6.5.0 has 4.4.2. Should I use 6.6.0 to use lambda? Or is there an alternative way to use it?Hunkyo Jung(deleted)2016-04-21T08:24:35Zpost116048: Re: IDE hangles executive files.Elena Laskavaiahttp://community.qnx.com/sf/go/post1160482016-04-05T14:49:43Z2016-04-05T14:49:43ZCheck you launch configuration. You can remove the old configuration and try to create a new one.
IDE downloads and run files from /tmp by default.
a) Remove all file from /tmp or reset your device to make sure nothing bad is there
b) Check that new binary is created during compile time (check timestamp)
c) In launch configuration check that path to binary is correct
d) In Upload tab of launch configuration make sure that Upload binary to target is check (also I would uncheck Use random name, so you actually can check on device what is run)Elena Laskavaia2016-04-05T14:49:43Zpost116041: Re: Parallel BuildsNiklas Angarehttp://community.qnx.com/sf/go/post1160412016-04-01T19:40:33Z2016-04-01T19:40:33ZI'm not too familiar with IDE 4.0 but if your project type is based on make, you should be able to build with six threads by passing -j6 to make. I think some QNX Makefile project types have a JLEVEL variable that may be useful as well.Niklas Angare2016-04-01T19:40:33Zpost116037: Re: IDE hangles executive files.Przemyslaw Blaskiewiczhttp://community.qnx.com/sf/go/post1160372016-03-31T06:42:01Z2016-03-31T06:42:01ZYes, I'd like to bump this thread (two years later, huh!).
I'm experiencing the same issue - I'm using the 5.0.1 version of QNX Momentics with QNX 6.6 under VMWare player.
I can write/compile/run the code a number of times and then, at some point, the IDE seems to get stuck on some version of the binary and doesn't start any other. Yes, the new sources are compiled, linked and .o/exec files are created, but they aren't run on the target.
Has anyone came up with the solution? So far a quick reboot seems to help, but it's nowhere near to what I'd like to see it.
Best,
PrzemekPrzemyslaw Blaskiewicz2016-03-31T06:42:01Zpost116014: Re: NeonDavid Cummings(deleted)http://community.qnx.com/sf/go/post1160142016-03-24T00:06:02Z2016-03-24T00:06:02ZHi Mario,
Glad to see that you are trying out and enjoying the M1 build. Please let us know of any additional feedback you might have.
There is in fact a new effort at Eclipse to improve the initial setup of Eclipse products for users. This includes extra plug-ins, workspace preferences, scm repos, working sets etc. The project is called oomph, or sometimes referred to as the Eclipse installer. You can find more details here: http://wiki.eclipse.org/Eclipse_Installer
It's on our roadmap to put together a guide/instructions on how to leverage this technology in combination with Momentics. I will be sure to update this thread when we have that available.
DavidDavid Cummings(deleted)2016-03-24T00:06:02Zpost116011: pdom filesMario Charesthttp://community.qnx.com/sf/go/post1160112016-03-23T15:06:43Z2016-03-23T15:06:43Zpdom files ( indexer ) are not deleted if a closed project is deleted. If it's open, the file is deleted.
Can easily end up with gigs of stale .pdom files.
True with all version of Eclipse I've used.Mario Charest2016-03-23T15:06:43Zpost116006: Re: NeonMario Charesthttp://community.qnx.com/sf/go/post1160062016-03-22T23:19:52Z2016-03-22T23:19:52ZForgot to give a thumbs up for the 64 bit flavor. This has big a big problem under Linux, will allow us to move forward ( major issue for svn and third party plugin ).Mario Charest2016-03-22T23:19:52Zpost116005: NeonMario Charesthttp://community.qnx.com/sf/go/post1160052016-03-22T23:17:32Z2016-03-22T23:17:32ZHi,
I'm trying out the Neon M1 package available in the FileReleases section. So far so good. Very nice to see something ahead of the curve for once.
That brings me to ask about an issue I have been unable to find an answer to. Either I'm getting really bad at using Google or my problem does not make sense. Here goes.
I handle our Eclipse/Momentics setup, as no one else seems to want to touch this with a 10 feet pole. This represents a very very tedious and time-consuming task. So much so that some I wonder if it does not cancel out many of the features/tools Eclipse provide over a Vim/make setup, talking about the CDT here. The major problem is updating configuration with new and improve setting, CDT syntax Color setting, code style setting, templates, key Code analysis, Quick diff. and the list goes on.... Only very few have import export setting, but it's still is a lot of work and can't be "automated". Get even worse when someone works with a bunch of workspaces.
I have been trying to "distribute" preconfigure workspace, with all the extra plug-in we use, but that feels very eerie. Aside from the .metadata folder there is the content of the .eclipse directory that comes into play. Some of these files contain username or hardcoded path. I'm hacking away at these files by replacing strings, gotta love sed, then crossing my fingers that things won't fall apart.
Now I can't be the only one with this problem. There is got to be a better way of handling this. I mean there has to be managers/customers somewhere, with some influence over QNX/Eclipse, that noticed how unproductive the whole ordeal is ? No ? Or did I miss something really obvious that makes this a non-issue?
Having to go through all of setting yet one more time while setting up IDE6, is not the real trigger that brought me post, but the afternoon I lost updating an older setup (VM). I won't bore you with the detailsMario Charest2016-03-22T23:17:32Zpost115952: Re: free trial period expired, cannot enter license, cannot uninstallPrzemyslaw Blaskiewiczhttp://community.qnx.com/sf/go/post1159522016-03-14T09:11:09Z2016-03-14T09:11:09ZThanks,
that certainly solved the issue. And that wasn't that obvious, either.
PrzemekPrzemyslaw Blaskiewicz2016-03-14T09:11:09Zpost115939: Re: free trial period expired, cannot enter license, cannot uninstallNatalia Miyusovahttp://community.qnx.com/sf/go/post1159392016-03-09T14:22:33Z2016-03-09T14:22:33ZHi,
If you want to activate a license, you need to run these commands:
source base_directory/qnx660-env.sh
$QNX_CONFIGURATION/bin/qnxactivate -d $QNX_CONFIGURATION
If you're using an evaluation license that expired, you'll need to get a commercial license and add it by running the following command:
base_directory/install/qnx-sdp/6.6/addLicense.bin
You don't need to uninstall/repair your QNX SDP installation to activate or add a new license key.
If you decide to uninstall the product, the uninstaller is located in base_directory/install/qnx-sdp/6.6 directory. To launch the uninstaller:
base_directory/install/qnx-sdp/6.6/uninstall.bin
Hope that helps.
NataliaNatalia Miyusova2016-03-09T14:22:33Zpost115937: free trial period expired, cannot enter license, cannot uninstallPrzemyslaw Blaskiewiczhttp://community.qnx.com/sf/go/post1159372016-03-09T11:58:15Z2016-03-09T11:58:15ZHello,
I've gotten myself into some vicious circle and can't find a way to escape from it. Here's what happend:
1) Trial period expired, I got "No license found for product 5. ReturnCode=5" message
2) In root shell: ${QNX_ROOT}/host/linux/x86/usr/bin/activation and provided product keys, activated license (success).
3) Message from p, 1) above keeps popping up, QNX functionality is disabled (I can compile & run on target though)
4) Try to reinstall: runing the installer I get "QNX Momentics is already installed, you need to uninstall it before proceeding"
5) Try to repair: running the installer with -repair I get the same output
6) Try to uninstall: runing it with -uninstall switch I get the same message as above.
7) Redo activation: ${QNX_ROOT}/host/linux/x86/usr/bin/activation fails on spot, complaining something about Motif libraries missing.
8) Move ${QNX_ROOT} somewhere else and restart installation: same as in 4) 5) and 6).
End of the day: I cannot activate, uninsall, reinstall, remove, and the IDE works only partially.
Any suggestions on how to push it forward?
I've got the latest QDE Momentics 6.6.0, running arch linux amd64 - and it USED TO work as a charm before this whole licensing thing came up.
Thanks,
PrzemekPrzemyslaw Blaskiewicz2016-03-09T11:58:15Zpost115702: Re: How to target QNX 6.5 form Momentics 5.0.1Kevin Stallard(deleted)http://community.qnx.com/sf/go/post1157022016-02-09T14:31:46Z2016-02-09T14:31:46ZYou also have to sort out licensing things and select the right tool chain, if you haven't already figure this out, I can add details...Kevin Stallard(deleted)2016-02-09T14:31:46Zpost115694: Re: How to target QNX 6.5 form Momentics 5.0.1Kevin Stallard(deleted)http://community.qnx.com/sf/go/post1156942016-02-09T03:18:07Z2016-02-09T03:18:07ZJust found your post because I needed the same thing.
This is what I did.
If you have qnx650 also installed, in the /etc/qnx/qconfig directory there are some .xml files pertaining to the various qnx installations you have (up to 6.5). qnx_software_development_platform_6.5.0.xml may be one of them.
This same directory exists in the /opt/qnx660/.qnx directory.
Copy those .xml files over to the .qnx directory in your qnx660 installation.
Restart eclipse from the qnx660 install and you should see 6.5.0 there.
I haven't tried to see if it will build yet, but at least its showing up :)
KevinKevin Stallard(deleted)2016-02-09T03:18:07Zpost115655: Re: Can't get Eclispe ConfigurationDavid Cummings(deleted)http://community.qnx.com/sf/go/post1156552016-02-02T16:50:08Z2016-02-02T16:50:08ZYes, unfortunately it's a compatibility issue and would require a fix for Mars, which we don't currently support. We will have an experimental version of Momentics posted this quarter that will include a fix for this issue.David Cummings(deleted)2016-02-02T16:50:08Zpost115645: Can't get Eclispe ConfigurationMario Charesthttp://community.qnx.com/sf/go/post1156452016-02-01T14:34:01Z2016-02-01T14:34:01ZGo to Help->About->Installation Details->Configuration generated an Exception preventing me from getting Eclipse's Configuration.
This is with Mars, Luna is ok, so I'm assunig this is an incompatibility of some sort, given the stack trace of the exception shows a reference to a QNX plugin. Pointers would be appreciated.
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4491)
at org.eclipse.swt.SWT.error(SWT.java:4406)
at org.eclipse.swt.SWT.error(SWT.java:4377)
at org.eclipse.swt.widgets.Display.error(Display.java:1186)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:765)
at org.eclipse.swt.widgets.Display.getSystemCursor(Display.java:2211)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:59)
at com.qnx.tools.ide.qde.internal.ui.SystemSummaryLicenseInfoSection.write(SystemSummaryLicenseInfoSection.java:50)
at org.eclipse.ui.internal.ConfigurationInfo.appendExtensions(ConfigurationInfo.java:107)
at org.eclipse.ui.internal.ConfigurationInfo.getSystemSummary(ConfigurationInfo.java:73)
at org.eclipse.ui.internal.about.AboutSystemPage$1.run(AboutSystemPage.java:159)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)Mario Charest2016-02-01T14:34:01Zpost115639: using global variableAfif Grahaditya(deleted)http://community.qnx.com/sf/go/post1156392016-02-01T02:43:26Z2016-02-01T02:43:26ZGood Morning everyone
I am new in qnx 6.5
anyone know about global variable? and how to use it? I try to use example in website but it's for qnx 4.
thank you
best regards
afif.Afif Grahaditya(deleted)2016-02-01T02:43:26Zpost115638: Re: Failed to set breakpoint in gdb consoleWenbin Fuhttp://community.qnx.com/sf/go/post1156382016-02-01T01:32:37Z2016-02-01T01:32:37ZHi Elena,
thanks for your reply!
sorry, i did not find gdb patch for 6.6, I got one build version IDE 5.0.1 (GA build), i am not sure if this version include the gdb patch you said.
actually i got these steps from QNX support team, but i failed to set break point in step 4
4) In gdb console type
b function_name
where <function_name> is the function in your driver that you expect to execute first.
the command i put is "b wlan_hdd_entry", this function is the entry of our wlan driver.
the error is "Cannot access memory at address 0x11de38 ",
actually i do not think I could set break point in my wlan driver at this moment because my wlan driver is not loaded at this step.
so i am wondering what I should do before step 4?
thanks
- wenbinWenbin Fu2016-02-01T01:32:37Zpost115635: Re: Failed to set breakpoint in gdb consoleElena Laskavaiahttp://community.qnx.com/sf/go/post1156352016-01-29T13:39:45Z2016-01-29T13:39:45ZDebugging network drivers or other dll's.
Note: if debugging networking qconn or pdebug has to be on another network stack. Instructions below do not apply to debuging over serial port.
If you using SDP 6.6 armv7le platform you need
- gdb patch for 6.6 from foundry (we have a patch for arm)
- patched IDE for 6.6 (at least of IDE or gdb has to be patched, for x86 only no need for patches)
Then in Momenitcs IDE
1) Create attach configuration for io-pkt, specify io-pkt binary from SDP (io-pkt used as example, use full binary name)
2) Run this configuration and attach to io-pkt. It will stop somewhere and show assembly.
3) Open gdb console from IDE (click on gdb "child" of the debugged process in Debug view, it should open gdb console)
4) In gdb console type
b function_name
where <function_name> is the function in your driver that you expect to execute first.
You should see the message that pending breakpoint is installed. Or you can put breakpoint on "dlsym" function if you don't know what function in your dll it will hit.
5) Resume the process
6) On device run mount command to load the driver. Or run any command that will activate it.
7) Breakpoint should be hit now. If not press Pause button. Go to gdb console and type
info shared
You should see your dll in list of loaded libraries. If not something is not right. It also should show that symbols are loaded.
Something like
warning: Could not load shared library symbols for libbar.so.
Do you need "set solib-search-path" or "set sysroot"?
From To Syms Read Shared Object Library
No libbar.so
0x0000004000000000 0x00000040002ba7b8 No /Develop/staging/mainline/target/qnx7/x86_64/lib/libc.so.3
8) Now you can type command to load symbols for this library, by setting the path on where to find symbols, i.e.
set solib-search-path /Develop/runtime-wipe/bar/build/x86_64-debug/
It would reply something like
Reading symbols from /Develop/runtime-wipe/bar/build/x86_64-debug/libbar.so...done.
9) Now you can insert breakpoint/and continue debugging.
If you do that alot save these command into .gdbini file and specify full path to this file in IDE launch configurationElena Laskavaia2016-01-29T13:39:45Zpost115634: Re: Failed to set breakpoint in gdb consoleWenbin Fuhttp://community.qnx.com/sf/go/post1156342016-01-29T10:12:45Z2016-01-29T10:12:45Zsorry, how to set PATH and LD_LIBRARY_PATH?
are these 2 variables in target or host?Wenbin Fu2016-01-29T10:12:45Zpost115633: Re: Failed to set breakpoint in gdb consolePeter Weberhttp://community.qnx.com/sf/go/post1156332016-01-29T09:34:01Z2016-01-29T09:34:01ZIt's a staged approach.
Please look here for more details.
http://www.qnx.com/developers/docs/6.4.1/io-pkt_en/user_guide/drivers.html#Debugging_with_gdbPeter Weber2016-01-29T09:34:01Zpost115632: Failed to set breakpoint in gdb consoleWenbin Fuhttp://community.qnx.com/sf/go/post1156322016-01-29T09:09:03Z2016-01-29T09:09:03ZHello,
I am developing one wlan Wifi Driver which is built out as devnp-qcwlan.so, I wan trying to debug this shared library in IDE.
first, I successfully attached this shared library devnp-qcwlan.so to process io-pkt-v6-hc, IDE stop somewhere
second, i was trying to set breakpoint by 'b wlan_hdd_entry', this function would be hit once wlan driver is loaded.
but i got error message 'can not access memory at address 0x11de38'
How do I fix the issue?
thanks
- wenbinWenbin Fu2016-01-29T09:09:03Zpost115580: Re: widget won't move when it's looped.Afif Grahaditya(deleted)http://community.qnx.com/sf/go/post1155802016-01-21T03:30:13Z2016-01-21T03:30:13ZI already try to use Ptmainloop() the widget is move only once, and iteration is not work..
what do you mean by "need to damage to widget"?Afif Grahaditya(deleted)2016-01-21T03:30:13Zpost115579: Re: widget won't move when it's looped.David Sarrazinhttp://community.qnx.com/sf/go/post1155792016-01-21T03:11:52Z2016-01-21T03:11:52ZWhere is your PtMainLoop()? The widget will only move when your handler function returns, and the main photon loop can continue. This is why you never see the widget move. PtEnter and PtLeave only lock the library, so that nothing else can modify the widget. I'm not certain, but I think you need to damage the widget also, in order to force a redraw.
Sent from my BlackBerry 10 smartphone.
Original Message
From: Afif Grahaditya
Sent: Wednesday, January 20, 2016 9:47 PM
To: general-ide
Reply To: general-ide@community.qnx.com
Subject: widget won't move when it's looped.
Hi everyone.
when I try to use for without limit the program is looped but the widget doesn't move, and when I try to use limit in for, the program is looped and the widget is move but only to the last position.
do you know why it's happen? I already use ptenter and ptleave before but it doesn't change the result.
I attach my source code in this thread.
Thank you.
best regards
_______________________________________________
General
http://community.qnx.com/sf/go/post115578
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comDavid Sarrazin2016-01-21T03:11:52Zpost115578: widget won't move when it's looped.Afif Grahaditya(deleted)http://community.qnx.com/sf/go/post1155782016-01-21T02:47:17Z2016-01-21T02:47:17ZHi everyone.
when I try to use for without limit the program is looped but the widget doesn't move, and when I try to use limit in for, the program is looped and the widget is move but only to the last position.
do you know why it's happen? I already use ptenter and ptleave before but it doesn't change the result.
I attach my source code in this thread.
Thank you.
best regardsAfif Grahaditya(deleted)2016-01-21T02:47:17Zpost115373: limit in qdb statementAfif Grahaditya(deleted)http://community.qnx.com/sf/go/post1153732015-12-22T06:36:31Z2015-12-22T06:36:31Zgood afternoon everyone, I am wonder why in qdb statement from sample program is Limit 1? when I change the limit to other than 1 the application doesn't work. and if I change the qdb_cell (0,0) become (1,0) the application is force closed.
thank you.
best regards
AfifAfif Grahaditya(deleted)2015-12-22T06:36:31Zpost115296: move widget to the front of baseAfif Grahaditya(deleted)http://community.qnx.com/sf/go/post1152962015-12-14T07:22:20Z2015-12-14T07:22:20Zgood afternoon everyone,
what should I do If I want to move a widget to the front of my base after the webclient is finished?
my script is:
PtCreateWidget(PtEllipse, NULL, 2, args );
PtWidgetToFront(ABW_tanda);
thank you
best regards
afif.Afif Grahaditya(deleted)2015-12-14T07:22:20Zpost115288: How to target QNX 6.5 form Momentics 5.0.1John Hagen(deleted)http://community.qnx.com/sf/go/post1152882015-12-11T21:37:27Z2015-12-11T21:37:27ZThe 6.6 SDP released with a an updated version of Eclipse as well as GCC, improving C++ development. What is the proper way to use Momentics 5.0.1 to target QNX 6.5, so that when developing for that platform one can get the benefits of the new IDE and compiler?
In addition, what is the best way to do C++11 development that can execute correctly on QNX 6.5?John Hagen(deleted)2015-12-11T21:37:27Zpost115237: Re: 64 Bit version of EclipseGeorge Refseth(deleted)http://community.qnx.com/sf/go/post1152372015-12-07T18:00:47Z2015-12-07T18:00:47ZOn RHEL 7.2 recently updated (as of Des. 7. 2015) one need to install gnu.io.rxtz (http://archive.eclipse.org/tm/updates/rxtx/) before installing from the QNX repo or else dependencies will not be met, and it will not find where to pick it up.
I used the new mars installer as well, installed the CDT, rxtx, and then QNX. Currently testing it.
Before this I used the vanilla QNX SDK from 6.6, but a gtk/X11 bug hit all kind of scrolling and some mouse actions, resulting in crashes -> not usable.
regards,
GeorgeGeorge Refseth(deleted)2015-12-07T18:00:47Zpost115230: connecting QDB to widgetAfif Grahaditya(deleted)http://community.qnx.com/sf/go/post1152302015-12-07T06:20:01Z2015-12-07T06:20:01ZHey everyone, I want to connect column Ndegree untul Edetik in the picture to the widget, but when I click button the result is 0 like in the picture, do you know why? am I using wrong command?
thanksAfif Grahaditya(deleted)2015-12-07T06:20:01Zpost115204: Re: RE: Parallel BuildsGerald Brandt(deleted)http://community.qnx.com/sf/go/post1152042015-12-03T21:36:14Z2015-12-03T21:36:14ZHi,
Thanks. That lookslike it's for a new version pf the IDE, not Dev Suite 6.3.2 ( IDE 4.0.1 )
GeraldGerald Brandt(deleted)2015-12-03T21:36:14Zpost115203: RE: Parallel BuildsJames Thomsonhttp://community.qnx.com/sf/go/post1152032015-12-03T21:30:16Z2015-12-03T21:30:16ZIn the QNX C/C++ Project settings go under the Make Builder tab - there is an entry at the bottom for using multiple threads when compiling.
Note that this is limited to compiling - the linking is done on a single thread and compilation is limited to one project at a time, i.e.
3 projects A, B, and C each have 10 source files and the parallel job number is 5.
Build All would build A, then B, then C. During source file compilation A's 10 files are compiled 5 at a time until they are all done. The project is then linked on a single thread. Momentics then moves on to project B and does the same thing...
If you want parallel job compilation you will need to script it all from the command line.
[cid:image001.png@01D12DDF.726DA400]
-----Original Message-----
From: Gerald Brandt [mailto:community-noreply@qnx.com]
Sent: Thursday, December 03, 2015 2:36 PM
To: general-ide
Subject: Parallel Builds
I'm running Momentics v6.3.2. Is there a way to do parallel builds, so I use all six of my processors to compile instead of just one?
Gerald
_______________________________________________
General
http://community.qnx.com/sf/go/post115198
To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com<mailto:general-ide-unsubscribe@community.qnx.com>James Thomson2015-12-03T21:30:16Zpost115198: Parallel BuildsGerald Brandt(deleted)http://community.qnx.com/sf/go/post1151982015-12-03T20:36:12Z2015-12-03T20:36:12ZI'm running Momentics v6.3.2. Is there a way to do parallel builds, so I use all six of my processors to compile instead of just one?
GeraldGerald Brandt(deleted)2015-12-03T20:36:12Zpost115148: Re: tutorial using QDB.Afif Grahaditya(deleted)http://community.qnx.com/sf/go/post1151482015-12-01T03:40:00Z2015-12-01T03:40:00Z> I'm working using QNX 6.5 too.. i don't know why it always said "near syntax
> error"..like in the picture.
I think if I can make it with the sample program maybe I can make my own QDB after that.Afif Grahaditya(deleted)2015-12-01T03:40:00Zpost115147: Re: tutorial using QDB.Afif Grahaditya(deleted)http://community.qnx.com/sf/go/post1151472015-12-01T03:39:14Z2015-12-01T03:39:14ZI'm working using QNX 6.5 too.. i don't know why it always said "near syntax error"..like in the picture.Afif Grahaditya(deleted)2015-12-01T03:39:14Zpost115146: Re: tutorial using QDB.James Thomsonhttp://community.qnx.com/sf/go/post1151462015-12-01T03:29:59Z2015-12-01T03:29:59ZOne comment - I'd suggest using your own in-memory database. We were using QDB in 6.5 and it was fine with high throughout - on moving to 6.6 the performance tanked and after some troubleshooting we moved away from it.
Thanks,
-James
> On Nov 30, 2015, at 8:13 PM, Afif Grahaditya <community-noreply@qnx.com> wrote:
>
> thanks for reply
>
> I already using your advice but it's "ïnput/output error" like attached picture.
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post115145
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.com
> <qdb5.jpg>James Thomson2015-12-01T03:29:59Zpost115145: Re: tutorial using QDB.Afif Grahaditya(deleted)http://community.qnx.com/sf/go/post1151452015-12-01T02:12:55Z2015-12-01T02:12:55Zthanks for reply
I already using your advice but it's "ïnput/output error" like attached picture.Afif Grahaditya(deleted)2015-12-01T02:12:55Zpost115136: Re: tutorial using QDB.Elena Laskavaiahttp://community.qnx.com/sf/go/post1151362015-11-27T18:11:33Z2015-11-27T18:11:33ZI think you posting to the wrong forum this is forum for Momentics IDE
However values in INSERT should be in single quotes
INSERT INTO Customers (CustomerName, ContactName, Address, City, PostalCode, Country)
VALUES ('Cardinal','Tom B. Erichsen','Skagen 21','Stavanger','4006','Norway');Elena Laskavaia2015-11-27T18:11:33Zpost115134: tutorial using QDB.Afif Grahaditya(deleted)http://community.qnx.com/sf/go/post1151342015-11-27T08:25:48Z2015-11-27T08:25:48Zhello everyone
I'm want to create a database
I already make .sql and .cfg file extention,
I already connected to the database
now I have a problem, When I type INSERT INTO customers (firstname,lastname) VALUES (Afif,Fifa);
It give me error "near INSERT syntax error."
do you know why? I still confuse about it..
thanksAfif Grahaditya(deleted)2015-11-27T08:25:48Zpost115100: tutorial using QDB.Afif Grahaditya(deleted)http://community.qnx.com/sf/go/post1151002015-11-24T07:53:55Z2015-11-24T07:53:55ZI'm just learning about QNX and QDB, I follow the instruction in www.qnx.com,
i get the result is
"missing argument '-c'"
can you help me solve the problem? thanksAfif Grahaditya(deleted)2015-11-24T07:53:55Zpost114878: Problem getting ConfigMario Charesthttp://community.qnx.com/sf/go/post1148782015-11-03T19:15:45Z2015-11-03T19:15:45ZUsing forum instead of official channel because I'm using Mars. I'm on ubuntu 14, 64Bit.
The problem is present even if starting Eclipse via sudo
When I go in About -> Installation Details ->Configuration a popup appears:
An internal error occurred during: "Configuration Fetch Job". Invalid thread access
The qnx line in the Eclipse log caught my attention:
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:4491)
at org.eclipse.swt.SWT.error(SWT.java:4406)
at org.eclipse.swt.SWT.error(SWT.java:4377)
at org.eclipse.swt.widgets.Display.error(Display.java:1186)
at org.eclipse.swt.widgets.Display.checkDevice(Display.java:765)
at org.eclipse.swt.widgets.Display.getSystemCursor(Display.java:2211)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:59)
at com.qnx.tools.ide.qde.internal.ui.SystemSummaryLicenseInfoSection.write(SystemSummaryLicenseInfoSection.java:50)
at org.eclipse.ui.internal.ConfigurationInfo.appendExtensions(ConfigurationInfo.java:107)
at org.eclipse.ui.internal.ConfigurationInfo.getSystemSummary(ConfigurationInfo.java:73)
at org.eclipse.ui.internal.about.AboutSystemPage$1.run(AboutSystemPage.java:159)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Pointers ?Mario Charest2015-11-03T19:15:45Zpost114646: Re: 64 Bit version of EclipseMario Charesthttp://community.qnx.com/sf/go/post1146462015-10-14T19:32:54Z2015-10-14T19:32:54ZI installed the zip file through Mars "Install New Software" method. I tried when Mars first came out but it wouldn't install, couldn't resolve dependencies. I decided to try against this week and remember that when I did the same procedure with Kepler I needed to use the Classic version of Eclipse. For Mars I realized that the “SDK package” is what I was looking for.
I don't have much mileage with it since only started using it yesterday. But it's looking good so far. I had to modify the .ini provided with Mars to use the equinox launcher provided with Momentics 6.6.0, as specify in qde.ini of 6.6.
We have been using Luna for over a year with the same repo files.
The reason we have been using this setup instead of out of the box Momentics, is Momentics comes with an old svn plug-in and I couldn't find a way to upgrade/uninstall reliably it because of the way it’s bundle. By using the Eclipse + QNXREpos setup we have been able to keep up-to-date with Eclipse/CDT and make use of the latest feature set.
We offer our programmers the choice of Eclipse+repos or Momentics telling them that by using Eclipse+repos they are using an "untested" package that is not officially support. But after more than a year of experience it turns out that Eclipse+repos is more stable and has increase usability.Mario Charest2015-10-14T19:32:54Zpost114640: Re: 64 Bit version of EclipseElena Laskavaiahttp://community.qnx.com/sf/go/post1146402015-10-14T14:05:32Z2015-10-14T14:05:32ZDid you try to install this from the repo on top of 64 bit mars?
I am really surprise it works with mars since this repo is for Kepler
CDT uses native packages, if you can get 64 bit native fragments from mars cdt and drop them in
some-how - it may work.Elena Laskavaia2015-10-14T14:05:32Zpost114637: 64 Bit version of EclipseMario Charesthttp://community.qnx.com/sf/go/post1146372015-10-13T21:09:13Z2015-10-13T21:09:13ZHalf a year ago someone told me that you guys were working on a 64bit flavor of Eclipse.
We have been able to run 32Bit Momentics on Ubuntu 64Bit without too much fuss, but it's getting troublesome ( has anyone been able to install 32 bit JavaHL on Ubuntu 64 bit.).
I wont ask when or if that's comming ;-) Instead I would like to know if there is some sort of hack/trick that one can pull to use Eclipse 64 bit. I currently use Mars with the latest QNX stuff added in ( qnx-momentics-v201510011642-repo.zip )Mario Charest2015-10-13T21:09:13Zpost114398: Re: Undefined references when compiling and linking with mudflap.Robert Murrellhttp://community.qnx.com/sf/go/post1143982015-09-01T18:56:59Z2015-09-01T18:56:59ZAfter reading my question, the little light came on and I added "mudflapth" to the "Libraries" field and it now links. This step was not in the instructions.Robert Murrell2015-09-01T18:56:59Zpost114397: Undefined references when compiling and linking with mudflap.Robert Murrellhttp://community.qnx.com/sf/go/post1143972015-09-01T18:50:12Z2015-09-01T18:50:12ZI am using QNX 6.5.0. We have a Managed C/C++ project with QNX toolchain. I followed the procedures in the QNX Momentics IDE User's Guide (Configuring Mudflap to find errors). When I compile and link the project, I get "undefined reference" errors. The following is a snippet from the console:
qcc -o source\ui_stats.o ..\..\shared\source\ui_stats.cpp -V4.4.2,gcc_ntox86_cpp -w1 -IC:\Devel\work\expert -IC:\Devel\work\expert/../shared/source -IC:\Devel\work\shared\cifXDrv -IC:\Devel\work\shared\cifXDrv\cifXToolkit -DX86_BUILD -c -g -fmudflapth -Wc,-Wno-invalid-offsetof -Wno-switch
qcc -o expert.bin (...) expert.o -lm -lc -lsocket -Bstatic -lgf -limg -lcache -lshutdown -lcifXDrv -V4.4.2,gcc_ntox86_cpp -w1 -lang-c++ -g -fmudflapth -LC:\Devel\work\shared\cifXDrv\Debug -lang-c++
C:/QNX650/target/qnx6/x86/lib/gcc/4.4.2\libmudflapth.a(libmudflapth_la-mf-runtime.o): In function `mfsplay_tree_xmalloc':
/home/builder/hudson/650-gcc-4.4/svn/linux-x86-o-ntox86/i486-pc-nto-qnx6.5.0/pic/libmudflap/../../../../libmudflap/mf-runtime.c:2477: undefined reference to `__real_malloc'
These command lines were generated by the IDE. Am I missing a library?Robert Murrell2015-09-01T18:50:12Zpost114318: Re: Using libraries on Imported existing projectK Seto(deleted)http://community.qnx.com/sf/go/post1143182015-08-20T21:19:34Z2015-08-20T21:19:34Ztypo, should be QNX SDP 6.6K Seto(deleted)2015-08-20T21:19:34Zpost114317: Using libraries on Imported existing projectK Seto(deleted)http://community.qnx.com/sf/go/post1143172015-08-20T21:16:04Z2015-08-20T21:16:04ZHi,
I use Momentics 5.0.1 with DSP 6.6.
I followed "Tutorial 3: Import an existing project into the IDE" to import my existing C++ project.(http://www.qnx.com/developers/docs/660/topic/com.qnx.doc.ide.userguide/topic/tutorials_TUT3_.html?resultof=%22%69%6d%70%6f%72%74%22%20%22%65%78%69%73%74%69%6e%67%22%20%22%65%78%69%73%74%22%20%22%70%72%6f%6a%65%63%74%22%20)
It seems this type of importing would give a Makefile project in IDE. So the property page doesn't have the linker page or extra library page for listing dynamically-loaded libraries. Also when running the executable, it complained about failed to load some standard libraries such as the libstdc++.so.
My questions are:
* How to specify libraries (both linked time and runtime time libraries) for an imported existing project?
* Do I have to do it manually in the original makefiles?
* Or, should I convert the imported project to a QNX C++ project? But the "New>Other...>Convert to QNX project" wizard doesn't see the imported project (probably due to that the existing code not living inside the workspace.) Perhaps I need to modify any search path for the wizard to detect my project?
Thanks in advance.
KenK Seto(deleted)2015-08-20T21:16:04Zpost114195: How do I add a .lib library to a project?Samuel Hutchinson(deleted)http://community.qnx.com/sf/go/post1141952015-07-31T19:33:38Z2015-07-31T19:33:38ZI've created a static C library from Matlab using Coder. This is a .lib file.
How do I add this library to a QNX project using momentics? When I include it, it says it has undefined references, and I can't find where to add this library in (for example, the Linker tab only lets you add .o or .a files, not .lib)Samuel Hutchinson(deleted)2015-07-31T19:33:38Zpost114185: Re: Code Coverage not working on IDE 5.0.1Elena Laskavaiahttp://community.qnx.com/sf/go/post1141852015-07-30T19:26:13Z2015-07-30T19:26:13ZTry Run mode
On 15-07-30 01:32 PM, Joseph Arsanious wrote:
> Its in Debug mode
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post114184
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comElena Laskavaia2015-07-30T19:26:13Zpost114184: Re: Code Coverage not working on IDE 5.0.1Joseph Arsanioushttp://community.qnx.com/sf/go/post1141842015-07-30T17:32:28Z2015-07-30T17:32:28ZIts in Debug modeJoseph Arsanious2015-07-30T17:32:28Zpost114183: Re: Code Coverage not working on IDE 5.0.1Elena Laskavaiahttp://community.qnx.com/sf/go/post1141832015-07-30T16:41:02Z2015-07-30T16:41:02ZDo you run in Run mode or in Debug mode? (Should be Run mode)Elena Laskavaia2015-07-30T16:41:02Zpost114108: Re: Error starting process when running C programsRodney Dowdall(deleted)http://community.qnx.com/sf/go/post1141082015-07-13T17:45:02Z2015-07-13T17:45:02ZHello Samuel
So the simple answer is "No, the intended purpose of the C/C++ and Debug
view in Momentics is not to compile/debug programs for the local machine"
Now because the Momentics C/C++ and Debug view are based on the Eclipse
CDT, it is possible to set stuff up so that you could compile things for
the local machine through make files and such. But again, this is not
the intended purpose of Momentics.
Thanks,
Rodney
On 07/13/2015 01:38 PM, Samuel Hutchinson wrote:
> So if I understand correctly, you use "run as local ..." when you have a program that has been compiled for the current machine (probably from some other machine) and you want to run it. You can't compile normal C/C++ programs for the host machine at all with Momentics.
>
> Is this all right?
> Thanks for answering.
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post114107
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comRodney Dowdall(deleted)2015-07-13T17:45:02Zpost114107: Re: Error starting process when running C programsSamuel Hutchinson(deleted)http://community.qnx.com/sf/go/post1141072015-07-13T17:38:21Z2015-07-13T17:38:21ZSo if I understand correctly, you use "run as local ..." when you have a program that has been compiled for the current machine (probably from some other machine) and you want to run it. You can't compile normal C/C++ programs for the host machine at all with Momentics.
Is this all right?
Thanks for answering.Samuel Hutchinson(deleted)2015-07-13T17:38:21Zpost114106: Re: Error starting process when running C programsRodney Dowdall(deleted)http://community.qnx.com/sf/go/post1141062015-07-13T17:31:23Z2015-07-13T17:31:23ZHello Samuel
The launch "Local C/C++ Application" is an artifact that is there
because the CDT plugins can be run on a variety of hosts with a variety
of compilers. The Local C/C++ application does nothing to the selected
application. It assumes that the selected application has been compiled
using a compiler for the local machine. It tells the launch
configuration to use a local debugger (usually gdb) and to run that
debugger with the specified application. It does not interact or modify
the specified application in any way.
Thanks,
Rodney
On 07/13/2015 01:07 PM, Samuel Hutchinson wrote:
> I understand that, but I thought that since I was running the program as "Local C/C++ Application" it was designed to work on the host.
>
> Am I just misunderstanding what that setting is?
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post114105
> To cancel your subscription to this discussion, please e-mail general-ide-unsubscribe@community.qnx.comRodney Dowdall(deleted)2015-07-13T17:31:23Zpost114105: Re: Error starting process when running C programsSamuel Hutchinson(deleted)http://community.qnx.com/sf/go/post1141052015-07-13T17:07:05Z2015-07-13T17:07:05ZI understand that, but I thought that since I was running the program as "Local C/C++ Application" it was designed to work on the host.
Am I just misunderstanding what that setting is?Samuel Hutchinson(deleted)2015-07-13T17:07:05Zpost114104: Re: Error starting process when running C programsRodney Dowdall(deleted)http://community.qnx.com/sf/go/post1141042015-07-13T14:40:52Z2015-07-13T14:40:52ZHello Samuel
Applications that are compiled for the QNX operating cannot be run on the Windows operating system. You will need to setup a target running the QNX operating system, either on a physical machine, or through VMware to run your application.
Thanks,
RodneyRodney Dowdall(deleted)2015-07-13T14:40:52Zpost114100: Error starting process when running C programsSamuel Hutchinson(deleted)http://community.qnx.com/sf/go/post1141002015-07-10T21:20:55Z2015-07-10T21:20:55ZI'm learning to use Momentics, and whenever I try to run simple hello world C/C++ programs as local applications I get an error:
Error starting process
cannot run program
"[src path]": Launching failed.
Is there someway to fix this?
I have GNU installed and on the PATH, is there someway to tell momentics where it is since it can't seem to find it?
I've attached a screenshot of the errorSamuel Hutchinson(deleted)2015-07-10T21:20:55Zpost114029: Code Coverage not working on IDE 5.0.1Joseph Arsanioushttp://community.qnx.com/sf/go/post1140292015-06-25T20:17:55Z2015-06-25T20:17:55ZHi,
I updated my IDE from v 4.7 to the 5.0.1 and I can't get the code coverage to work though it was working in the 4.7 version.
I get the following error:
Error in final launch sequence
Cannot notify launch delegate before releasing application
java.lang.NullPointerException
This is what I see in the debug window
middleman_app [C/C++ QNX QConn (IP)]
<terminated, exit value: -1>C:\local_tools\qnx\QNX650SP1\host\win32\x86\usr\bin\ntoarm-gdb.exe
<terminated, exit value: -15>/tmp/middleman_app on 10.0.0.122 pid 368677 (6/25/15 1:09 PM)
The application is compiled and linked with the "Build for Code Coverage" option checked.
Any ideas?
Thank you
JosephJoseph Arsanious2015-06-25T20:17:55Zpost114011: Re: set the numbers in QNX momenticssrihari kolli(deleted)http://community.qnx.com/sf/go/post1140112015-06-24T07:24:57Z2015-06-24T07:24:57ZThank you..for given detail explination.srihari kolli(deleted)2015-06-24T07:24:57Zpost114006: Re: set the numbers in QNX momenticsDave Nickersonhttp://community.qnx.com/sf/go/post1140062015-06-23T14:07:06Z2015-06-23T14:07:06ZLine numbering is set for the editor in the Global Preferences.
From the menu bar: Window -> Preferences -> General -> Editors -> Text Editors Select "Show line numbers" check box.
Also available in the Editor window by right mouse button clicking in the left margin of the editor and selecting "Show Line Numbers" from the pop-up menu.Dave Nickerson2015-06-23T14:07:06Zpost114004: set the numbers in QNX momenticssrihari kolli(deleted)http://community.qnx.com/sf/go/post1140042015-06-23T05:23:04Z2015-06-23T05:23:04ZHow to set the numbers for source code in QNX momentics.
example:
1. #include <iostream>
2 int main()
3. {
4 printf()
5 return;
6 }srihari kolli(deleted)2015-06-23T05:23:04Zpost113933: Re: RE: Permission issue withe windows 7 and Momentics 6.3.2Dave Nickersonhttp://community.qnx.com/sf/go/post1139332015-06-08T15:51:04Z2015-06-08T15:51:04ZProbably worth starting a new topic for this since you believe it does not have anything to do with previous issue, thread is from 2011 (which may cause people to skip it) and it is a different version of Momentics.
When you do start the new topic, mention how you installed Momentics (as administrator or non-administrator). Which directory you are trying to create your workspace in and your permissions in that directory.
- DaveDave Nickerson2015-06-08T15:51:04Z