Okay I found the root cause of the problem. It seems Microsoft's compiler does not define WIN32 it defines _WIN32.
all I had to do was change irrcomileconfig.h's
#if defined(WIN32) || defined(WIN64)
to
#if defined(_WIN32) || defined(_WIN64)
Silver~
Search found 2 matches
- Thu Mar 13, 2008 8:36 pm
- Forum: Beginners Help
- Topic: Code Problem
- Replies: 11
- Views: 1526
- Thu Mar 13, 2008 1:22 am
- Forum: Beginners Help
- Topic: Code Problem
- Replies: 11
- Views: 1526
I had this problem too
I had this problem a couple of days ago... I wonder if M$ changed something in there system so that you can't use snprintf anymore. Anyways just double click the error message that it says it gets from the header and it should jump you right to the line in irrstring.h change the snprintf to sprintf ...