How long yoy are learning programming????
What for functions to declare global, and then it to declare in a class so also without parametres... Esteem as functions appear.
How long yoy are learning programming????
What for functions to declare global, and then it to declare in a class so also without parametres... Esteem as functions appear.
Long enough, Chexov. I recommend you swot up your English.
Your trying to use C functions from a C++ file. The function mangling will prevent this from happening.
To demangle, change:
Qt Code:
#include "snaphu_src/snaphu.h"To copy to clipboard, switch view to plain text mode
to
Qt Code:
extern "C" { #include "snaphu_src/snaphu.h" };To copy to clipboard, switch view to plain text mode
The compiler will know how to call it then.
Astrologer (11th May 2010)
Thank you so much. It worked. But another problem has appeared on the horizon - I can't debug it, you know. I've set stop points but it doesn't stop there. Is there a way to sort that out?
Last edited by Astrologer; 11th May 2010 at 07:09.
It worked. I created new project and it solved itself. Thank you again, mate. Have a nice day!
Bookmarks