Consulta: Integración de libsndfile con Visual Studio 2010 C ++. Error: libsndfile.dll no encontrado

Me estoy enseñando a mí mismo cómo leer archivos wav en C ++ como parte de mi aprendizaje de C ++. He encontrado muchos recursos en línea que recomiendan la siguiente biblioteca:biblioteca libsnfile Así que seguí algunos tutoriales a continuación para probar la funcionalidad básica de la biblioteca, pero no puedo compilar la biblioteca con Visual Studio 2010.

He buscado en línea el siguiente error, pero no encontré nada útil para mi error en particular. He descargado el instalador de Windows libsndfile C ++ encontradoaquí. Usé la versión de 32 bits ya que estoy usando la versión de la consola win32 C ++. Sin embargo, mi Visual Studio es de 64 bits. Hice lo siguiente después de descargar el instalador:

Entré en Visual Studio. Bajo mi proyecto, hice lo siguiente:

En las propiedades del proyecto: 1. VC ++

Incluir >> agregado ... \ libsnfile \ include Library >> agregado ... \ libsnfile \ lib 2. C \ C ++ Agregó el siguiente directorio como dependencias adicionales
... \ libsnfile \ lib \ libsndfile-1.lib

Hice esto para agregar esta biblioteca de terceros a mi proyecto. Después de esto, para probar, ejecuté el siguiente código:

#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <sndfile.h>

int _tmain(int argc, _TCHAR* argv[])
{
    printf("This is a test\n");

   getchar();
   return 0; 
}

Codifiqué eso para asegurarme de que podía acceder a sndfile.h en mi programa y todo lo compilado. El problema ocurrió cuando intenté implementar el siguiente código:

#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <sndfile.h>

int _tmain(int argc, _TCHAR* argv[])
{
    printf("This is a test\n");


    //This will be the length of the buffer used to hold samples while the program processes them. 


    //A SNDFILE is like FILE in a standard C library. Consequently, the sf_open_read and sf_open_write functions will return an 
    //SNDFILE* pointer when they successfully open the specified file. 
    SNDFILE* sf = NULL; 

    /*SF_INFO will obtain information of the file we wish to load into our program. */
    SF_INFO info; 


    /*This is where the program will open the WAV file */
    info.format = 0; 
    sf = sf_open("C:\Users\GeekyOmega\Desktop\gameon.wav", SFM_READ, &info);
    if(sf == NULL)
    {
        printf("Failed to open the file.\n");
        exit(-1);
    }

    getchar();
    return 0;
}

Luego, recibo un error del sistema cuando hago clic en ejecutar dentro de Visual Studio cuando intento ejecutar mi programa. Dice,

The program can't start because libsnfile-1.dll is missing from your computer. 
Try reinstalling the program to fix this problem.` 

Probé el instalador de Windows de 64 bits y probé eso, pero no funcionó. ¿Alguien entiendo lo que estoy haciendo correr? Estoy ejecutando Visual Studio 2010 en Windows 7 como mi entorno de desarrollo.

Pido disculpas si estoy cometiendo un error tonto, pero apreciaría profundamente si alguien pudiera ayudarme. Intenté algunas correcciones piratas, como mencioné anteriormente, pero nada ha funcionado.

EDITAR: También soy consciente de este hiloaquí, pero esto no tiene ningún sentido para mi problema actual, ya que no estoy haciendo nada de este tema del que están hablando.

Saludos cordiales, GeekyOmega

Respuestas a la pregunta(1)

Su respuesta a la pregunta