(C++) bzconfig.h: Unknown compiler
February 24, 2017 · View on GitHub
(C++) bzconfig.h: Unknown compiler
Full error message
[C++ Fatal Error] bzconfig.h(48): F1003 Error directive: Unknown compiler
Cause
IDE: C++ Builder 6.0
Compiler: Borland BCC32.EXE version 6.0.10.157
Blitz++ version: 0.9
Project type: Console Application
#include <blitz/array.h> int main() { }
The compiler will show you the code of blitz/bzconfig.h:
#if defined(__APPLE) /* IBM xlc compiler for Darwin */ #include <blitz/apple/bzconfig.h> #elif defined(__ICC) /* Intel icc compiler */ #include <blitz/intel/bzconfig.h> //Other compilers #else #error Unknown compiler //THIS LINE #endif
Solution
Use a compiler that Blitz++ supports.