| | Re: Winliblnp problems
|
| From: "Tim Auton" <tim.lugnet@uton.org> Sent: Friday, September 06, 2002 4:07 PM (...) [snip] (...) I do, it's a namespace problem, down to you working in a C++ project and winliblnp being in C. I suggest a quick and dirty hack of creating a (...) (22 years ago, 10-Sep-02, to lugnet.robotics.rcx.legos)
| | | | Re: Winliblnp problems
|
| (...) The usual method is to put the following near the top of the .h file: #ifdef __cplusplus extern "C" { #endif and the following at the bottom: #ifdef __cplusplus } #endif This eliminates the need for 2 .h files. HTH. ROSCO (22 years ago, 10-Sep-02, to lugnet.robotics.rcx.legos)
| |