The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    AlienFX SDK wont work

    Discussion in 'Alienware 14 and M14x' started by DJWoX, Mar 18, 2012.

  1. DJWoX

    DJWoX Notebook Enthusiast

    Reputations:
    0
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    15
    Hi.
    I have few problems with AlienFX SDK. I'm unable to compile even sample given in AlienFx SDK gide:
    Code:
    #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;
    }
    1. It's shows an error: `_TCHAR' has not been declared
    2. After that I add #include <tchar.h> but then it shows this 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' 
    
    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.
     
  2. DJWoX

    DJWoX Notebook Enthusiast

    Reputations:
    0
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    15
    Bring Up My Post

    Nobody knows how to fix this or what could be the problem? :confused:
     
  3. airacutie

    airacutie Notebook Consultant

    Reputations:
    1
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    30
    Try C# and I can help you :) Not common with C++ though ...