Questions tagged [momentics]

The QNX® Momentics® Tool Suite is a comprehensive, Eclipse-based integrated development environment with innovative profiling tools for maximum insight into system behavior.

53 questions
0
votes
0 answers

error: could not convert while compile/Build in QNX with C++ code. Cannot initialize the char file name

I have the table like this (CONFIG_TABLE) I am trying to initialize the char type using the map. But unable to build this in QNX : ` #define FILEPATH_SIZE 256 #define CONFIG_TABLE \ {\ { FIRSTSOUND,…
Rajesh
  • 1
  • 2
0
votes
0 answers

Why can QNX Momentics IDE not display source code after profiled application has exited?

I am using Momentics® Integrated Development Environment Version: 7.1.2.v202203081633 on a Windows 10 PC to profile a QNX C++ application that has been compiled with -finstrument-functions and linked with -lprofiling. Since the source code needs to…
Benjamin Bihler
  • 1,612
  • 11
  • 32
0
votes
1 answer

Connect to QNX on VirtualBox with Momentics

I install QNX Neutrino OS on VirtualBox and Momentics on Win. My Win10 PC IP is 192.168.1.4 and QNX IP is 10.0.2.15 In VB i forward port: TCP Host-adress 192.168.1.4 Host-port 8000 Guest-adress 10.0.2.15 Guest-port 8000 I type "qconn" and did next…
0
votes
1 answer

Why do I lose my Debug Context on certain breakpoints?

I am hitting most of my breakpoints OK, but I can hit one which offers no debug context so I don't get the options to Step-in, Step-over, see Variables, etc. I only know I've hit it because the Resume button becomes available and the "Debugger…
shanz
  • 53
  • 1
  • 6
0
votes
1 answer

How to get the runtime of one Thread in selected interval?

I want to measure the runtime of multiple threads in Momentics, like it is shown in the CPU usage view of the .kev file. The only difference is, I don't want to see the time the thread was running in the whole diagnostics session, but between two…
notADev
  • 127
  • 3
  • 12
0
votes
1 answer

Define custom symbol for custom build configurations in QNX Momentics

Let's make an example in Eclipse: I have two different source files for a Startup with a main-function, but depending on which build configuration I use, either one of them is used, or the other one. I do this, by defining a custom symbol with the…
ilmu011
  • 80
  • 2
  • 8
0
votes
2 answers

How do I use different compilation standards in QNX Momentics 6.5?

I'm trying to build applications for the Sabre i.MX6 development board, that runs QNX OS. I'm using QNX Momentics v6.5 for cross-compiling my code. I wrote a simple "Hello World" code and I'm trying to compile it with new c standards since the…
Arvind
  • 75
  • 1
  • 8
0
votes
1 answer

QNX momentics linked source files not compiling

I am creating a QNX port for a Linux application. As a test, i copied all source code and header files into /src/ directrory and built the code. the binary was created, and I was able to execute on target VM. but now I have to create the momentics…
thomachan
  • 378
  • 3
  • 14
0
votes
1 answer

undefined reference error while building app;

I'm getting this error while building a BlackBerry project: ../.moc/moc_applicationui.cpp:53: undefined reference to ApplicationUI::copyText(QByteArray) I went through applicationui.hpp file and I saw the declaration of the copyText function…
Rupesh Bhandari
  • 76
  • 1
  • 12
0
votes
1 answer

Lock password database

When I try to set root password for QNX, I get the following error: unable to lock password database (No such file or directory) I am currently working on a system builder project where I am trying to configure it to solve this image problem. My…
Stack crawler
  • 369
  • 1
  • 4
  • 20
0
votes
1 answer

Why creating a file in etc folder is not allowed?

I have a system builder project to make a QNX OS image that needs to be accomplished. The problem is I can't create files or folders in etc folder. When I try to do that I get "folder creation error! reason: function not implemented" or "no such…
Stack crawler
  • 369
  • 1
  • 4
  • 20
0
votes
1 answer

How to add passwd command to system builder project?

I have a system builder project to make a QNX OS image that needs to be accomplished. The problem is it is not currently supporting passwd command. I mean when I write the image and try passwd root command, I get this output: /bin/passwd[1]:…
Stack crawler
  • 369
  • 1
  • 4
  • 20
0
votes
1 answer

Blackberry Momentics IDE/Ubuntu 64: Error when creating/importing a debug Token

I use Momentics IDE 2.1.2 with Ubuntu 14.04.3 LTS 64 bit.Since Version 2.1.201406041640 I get an error when I try to deploy an app to the device or register a new device to the IDE: Debug Token: Required Packaging failed:1 Fehler:Hauptklasse…
0
votes
1 answer

How to get "Yesterday 17th May 2015" format in moment.js

I need to format some days in the format "Yesterday 17th May 2015" using moment.js. This is what I have so far: var asd = moment(moment.utc("2015-09-30T08:35:40.59")) .subtract(1, 'days') .calendar();
Ireal
  • 355
  • 4
  • 16
0
votes
2 answers

How do I include a .cpp/.h file pair in qnx momentics?

Im new to QNX and and not experienced with larger software projects in general. Im trying to include the tinyXML2 library into my QNX Momentics project. I have the .cpp and the .h file of the library but I dont understand how I should correctly…
Claude Hasler
  • 396
  • 1
  • 14