- This topic has 1 reply, 2 voices, and was last updated 9 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Legacy SDKs › MFC sample fails to build due to wrong path in code
Tagged: gaze sdk, mfc sample
Formerly Asked Question about Gaze SDK:
Building the Gaze SDK “Mfc sample” fails in postbuild command related to copying the dll’s to the corresponding folder.
In the last build (1.0.1.40), the path for copying is stated to be:
IF NOT EXIST "$(SolutionDir)$(Configuration)\*.dll" copy "$(SolutionDir)..\..\lib\*.dll" "$(SolutionDir)$(Configuration)"\
but it should be (the directories names are different in this sample…):
IF NOT EXIST "$(SolutionDir)$(Platform)$(Configuration)\*.dll" copy "..\..\lib\*.dll" "$(SolutionDir)$(Platform)$(Configuration)\"
Or the name of the directories where the sample gets created should be like in the other samples.
This can be solved by manually copying TobiiGazeCoreXX.dll and TobiiGazeConfigXX.dll to the Debug/Release directory