Has anyone implemented code using Numerical Recipes in C++?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-12 1:14 PM
I've been using some of the routines (numerical integration of ODEs using B-S routine with polynomial extrapolation) for years on Microsoft C++, with great success. However, when I even include the nr.h file, I get errors saying that "template" is an unknown type. Suggestions?
- Labels:
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-12 9:13 PM
You haven't said what development environment/compiler you're using, but it's pretty obvious that either it's only a C and not a C++ compiler, or it does both but doesn't know that you're giving it C++ source. I use the GNU compilers, standalone without an integrated development environment, and for that you'd need to invoke arm-none-eabi-g++ instead of arm-none-eabi-gcc (assuming because you're here that you're compiling for ARM chips) but I'm guessing that information isn't going to help you much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-06-18 8:33 AM
​Hi @LHaze​
In order your post reach relevant people, could you please specify on which MCU platform you are working ?
Thx
Olivier
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
