Search the Forum for answers or post your questions to the
Quantum Leaps community
|
| Home | | | Products | | | Services | | | Downloads | | | Licensing | | | Developer Zone | | | Resources |
![]() |
| Overview | | | Discussion | | | Cookbook | | | Design Patterns | | | Bugs | | | Contributions | | | Credits |
Quantum Leaps Discussion Forum
Search the Forum for answers or post your questions to the |
||
| Return to Website | ||
| Viewing Page 1 of 1 (Total Posts: 5) |
| Author | Comment |
Lester Romero Bernardo
Apr 18, 08 - 8:19 AM |
Help me
Hello, I have a problem with QP, I don't know how include my application in the Platform code or include any drive for any target. I don't speak English very good , I'm from Cuba, for these I don't understate the QP/C++ Reference Manual. Thanks for your attention. |
Miro Samek
Apr 18th, 2008 - 10:42 AM |
Lester, Perhaps the easiest way to learn about building QP applications is to start with a known working example. Therefore, the new QP v4 has been released with the Tutorial (http://www.quantum-leaps.com/doxygen/qpcpp/tutorial_page.html). I would recommend that you first try to run the provided "Fly 'n' Shoot" game example on your PC. Specifically for that, the DOS version is provided. Please first download QP/C++ from http://www.quantum-leaps.com/downloads/. After you unzip the downloaded file, you can find the GAME.EXE in the directory examples\80x86\dos\tcpp101\l\game\dbg\GAME.EXE. Next, you might try to modify the application and recompile it. For this you'd need a DOS compiler. I've been specifically using the free Turbo C++ 1.01 compiler available for download from http://dn.codegear.com/article/21751. Please install the Turbo C++ 1.01 in the directory \tools\tcpp101 on your hard drive, so that all project files and make scripts will work without changes. The directory examples\80x86\dos\tcpp101\l\game\ contains the GAME.PRJ project file that you load to the Turbo C++ IDE. You can edit the code, recompile and debug the application. If you want to play with the truly embedded version, you can download the free IAR KickStart compiler for ARM (go to www.iar.com). You will use the Cortex-M3 version of the game located in the directory examples\cortex-m3\vanilla\iar\game-ev-lm3s811\. Actually, you can run the code in the IAR simulator, so you don't necessarily need the hardware (the EV-LM3S811 board from Luminary Micro). I hope these tips should help you get started. Miro |
Lester Romero Bernardo
Apr 18th, 2008 - 11:22 AM |
Thanks Miro for you help.I known all that, bat I need do one example for simulate capture data from a card when I connected, and simulate any process for these data. Excuse me, I do not dominate the language well. Thanks again.... |
Miro Samek
Apr 19th, 2008 - 7:52 AM |
Please describe the particular board you're trying to use. What kind of processor? Which compiler? What exactly is your problem? Miro |
Lester Romero Bernardo
Apr 19th, 2008 - 8:34 AM |
Thanks once again I watch. Excuse, but is that I need to simulate the capture of data of a device anyone, or to generate them i myself, does not matter, and soon to give simple matematic processing them of parallel or recurrent way, and to show the result... I use Debian, the compiler is g++, the processor that 3,0 use is intel to ghz of 32 bits. Thanks again. |
bravenet.com| Privacy Statement | About Us | Contact Us | © 2004-2005 quantum Leaps. All rights reserved. |