LNK2001 error ofxLeapMotion

I am playing around with ofxLeapMotion.

Here’s the error log :

*Error	2	error LNK2001: unresolved external symbol "private: virtual void __thiscall ofxLeapMotion::onInit(class Leap::Controller const &)" (?onInit@ofxLeapMotion@@EAEXABVController@Leap@@@Z)	K:\Examples\Packages\of_v0.8.4_vs_release\of_v0.8.4_vs_release\apps\myApps\LeapTest\main.obj	Testing*

All leap methods i.e. // Leap event callbacks, inherit and override these to handle events
void onInit(const Controller& controller){std::cout << “onInit”;}
void onConnect(const Controller& contr){} ;
void onDisconnect(const Controller& contr){};
void onExit(const Controller& contr){};

	//if you want to use the Leap Controller directly - inhereit ofxLeapMotion and implement this function
	//note: this function is called in a seperate thread - so GL commands here will cause the app to crash.
	//also: call onFrameInternal(contr) here if you want to use getHands() / isFrameNew() etc
	void onFrame(const Controller& contr){};
	
	void onFocusGained(const Controller& contr){};
	void onFocusLost(const Controller& contr){};
	void onServiceConnect(const Controller& contr){};
	void onServiceDisconnect(const Controller& contr){};
	void onDeviceChange(const Controller& contr){};

show up on the error list. This is what I did.

  • put the 32bit Leap.lib, Leap.dll file in the folders and pointed them out at the Linker
  • Header files are pointed out.

I have no clue whats going on. Please help me.