Hi.
I have few problems with AlienFX SDK. I'm unable to compile even sample given in AlienFx SDK gide:
1. It's shows an error: `_TCHAR' has not been declaredCode:#include "LFX2.h" int _tmain(int argc, _TCHAR* argv[]) { LFX_Initialize(); // Reset the state machine and await light settings LFX_Reset(); // Set all lights to blue LFX_Light(LFX_ALL, LFX_BLUE | LFX_FULL_BRIGHTNESS); // Update the state machine, // which causes the physical color change LFX_Update(); // Cleanup and detach from the system LFX_Release(); return 0; }
2. After that I add #include <tchar.h> but then it shows this error:
Anyone can tell where is the problem and how to fix this? I've tried to compile it with Visual C++ 2005, 2008 and Dev-C++. All of them throws the same error.Code:[Linker error] undefined reference to `LFX_Initialize' [Linker error] undefined reference to `LFX_Reset' [Linker error] undefined reference to `LFX_Light' [Linker error] undefined reference to `LFX_Update' [Linker error] undefined reference to `LFX_Release'
-
Bring Up My Post
Nobody knows how to fix this or what could be the problem?
-
Try C# and I can help you
Not common with C++ though ...
AlienFX SDK wont work
Discussion in 'Alienware 14 and M14x' started by DJWoX, Mar 18, 2012.