home Forums # Technical Support fuzzylie error – use of undefined type 'T' Reply To: fuzzylie error – use of undefined type 'T'

#1636
Unknown
Member

Hi,
I already used this library for some other programs. However in this case I have linked some other 3rd party libraries along side with fuzzylite. I found a solution for this but I don’t know the exact theory behind that.
In earlier case I put “#include “fl\Headers.h” in bottom of the header file list (look at the first code segment). However when I put it at the top of the header file list (see the 2nd code segment) it works fine :).

This didn’t work:
#include “stdafx.h”
#include “Aria.h”
#include “ArNetworking.h”
#include <iostream>
#include <stdio.h>
#include “fl\Headers.h” // for fuzzylite

This works well:
#include “fl\Headers.h” // for fuzzylite
#include “stdafx.h”
#include “Aria.h”
#include “ArNetworking.h”
#include <iostream>
#include <stdio.h>

Could you please explain the possible reason for this ?