02-28-2013 10:32 PM
Hey Everyone,
I'm wondering if it's possible to use the QNX Memonics IDE as a regular C++ IDE. I'm still dabbling away at C++ coding, so typically I find myself making random little programs to make sure I get the hang of what I'm learning.
I was wondering if I could use the QNX Memonics IDE as a tool for both BlackBerry Development as well as testing programs written in C++ that aren't made for BlackBerry devices. I'm currently using code::blocks for executing the code in command prompt, seems to work well enough for me to worry about the user interface until later on, kind of want to try to do the same thing in the Memonics IDE.
Thanks in advance everyone
02-28-2013 11:19 PM
how about just change ToolChain in project property to e.g. Linux GCC
03-01-2013 08:03 AM
Momentics is just a customised version of eclipse so more than possible.
03-02-2013 07:07 PM
Here is how I got a simple C++ source to compile (it may be a hack)
install MinGW. This contains g++ and the linker along with some headers so that your C++ code can compile and run on a Windows machine.
http://sourceforge.net/projects/mingw/files/Instal
in QNX:
File -> import -> c/c++ -> existing code as makefile project
project name: test
existing code location: I left blank
Toolchain: MinGW GCC
Then right click on your new test project, go "properties". C++ Build->environment.
Add PATH = ${PATH};G:/MinGW/bin
(or wherever the mingw g++ is).
make a new source file (main.cpp).
Compile.
It's my first time using eclipse, and I lack experience with QNX Momentics....so if anyone has a better way, feel free to share.