Visual studio looks in the proper directory, but stills says that the files aren't found












1















I have created my own directory "cpplibs" for storing my library code and the files are there. For whatever reason the "portaudio.sln" file isn't able to properly link to my files. How do I organize my files so that everything gets to the right place, and I don't get any "undefined identifier" or similar errors?



Here is the specific output I am receiving. I did some research or defining directories but still ran into some issues.



1>------ Build started: Project: portaudio, Configuration: Debug Win32 ------
1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asio.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2commonasio.cpp, ....srchostapiasioASIOSDKcommonasio.cpp.
1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asiodrivers.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2hostasiodrivers.cpp, ....srchostapiasioASIOSDKhostasiodrivers.cpp.
1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asiolist.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2hostpcasiolist.cpp, ....srchostapiasioASIOSDKhostpcasiolist.cpp.
1>cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
1>hostsample.cpp
1>c:program filescpplibsasiosdk2.3.2hostsamplehostsample.cpp(13): fatal error C1083: Cannot open include file: 'asiosys.h': No such file or directory
1>asiolist.cpp
1>c:program filescpplibsasiosdk2.3.2hostpcasiolist.cpp(2): fatal error C1083: Cannot open include file: 'iasiodrv.h': No such file or directory
1>asiodrivers.cpp
1>c:program filescpplibsasiosdk2.3.2hostasiodrivers.h(13): fatal error C1083: Cannot open include file: 'asiolist.h': No such file or directory
1>asiodrvr.cpp
1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.cpp(16): fatal error C1189: #error: do not use this
1>asio.cpp
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): error C2011: 'IASIO': 'struct' type redefinition
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.h(26): error C2504: 'IASIO': base class undefined
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(79): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(81): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(87): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(88): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(76): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(86): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(101): error C2039: 'removeCurrentDriver': is not a member of 'AsioDriver'
1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.h(26): note: see declaration of 'AsioDriver'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(114): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(121): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(131): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(141): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(151): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(158): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(165): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(172): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(182): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(189): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(196): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(208): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(205): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(221): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(228): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(235): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(242): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(249): error C2027: use of undefined type 'IASIO'
1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
1>Generating Code...
1>Done building project "portaudio.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========









share|improve this question



























    1















    I have created my own directory "cpplibs" for storing my library code and the files are there. For whatever reason the "portaudio.sln" file isn't able to properly link to my files. How do I organize my files so that everything gets to the right place, and I don't get any "undefined identifier" or similar errors?



    Here is the specific output I am receiving. I did some research or defining directories but still ran into some issues.



    1>------ Build started: Project: portaudio, Configuration: Debug Win32 ------
    1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asio.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2commonasio.cpp, ....srchostapiasioASIOSDKcommonasio.cpp.
    1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asiodrivers.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2hostasiodrivers.cpp, ....srchostapiasioASIOSDKhostasiodrivers.cpp.
    1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asiolist.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2hostpcasiolist.cpp, ....srchostapiasioASIOSDKhostpcasiolist.cpp.
    1>cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
    1>hostsample.cpp
    1>c:program filescpplibsasiosdk2.3.2hostsamplehostsample.cpp(13): fatal error C1083: Cannot open include file: 'asiosys.h': No such file or directory
    1>asiolist.cpp
    1>c:program filescpplibsasiosdk2.3.2hostpcasiolist.cpp(2): fatal error C1083: Cannot open include file: 'iasiodrv.h': No such file or directory
    1>asiodrivers.cpp
    1>c:program filescpplibsasiosdk2.3.2hostasiodrivers.h(13): fatal error C1083: Cannot open include file: 'asiolist.h': No such file or directory
    1>asiodrvr.cpp
    1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.cpp(16): fatal error C1189: #error: do not use this
    1>asio.cpp
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): error C2011: 'IASIO': 'struct' type redefinition
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.h(26): error C2504: 'IASIO': base class undefined
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(79): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(81): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(87): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(88): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(76): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(86): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(101): error C2039: 'removeCurrentDriver': is not a member of 'AsioDriver'
    1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.h(26): note: see declaration of 'AsioDriver'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(114): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(121): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(131): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(141): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(151): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(158): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(165): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(172): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(182): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(189): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(196): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(208): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(205): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
    1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(221): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(228): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(235): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(242): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(249): error C2027: use of undefined type 'IASIO'
    1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
    1>Generating Code...
    1>Done building project "portaudio.vcxproj" -- FAILED.
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========









    share|improve this question

























      1












      1








      1


      1






      I have created my own directory "cpplibs" for storing my library code and the files are there. For whatever reason the "portaudio.sln" file isn't able to properly link to my files. How do I organize my files so that everything gets to the right place, and I don't get any "undefined identifier" or similar errors?



      Here is the specific output I am receiving. I did some research or defining directories but still ran into some issues.



      1>------ Build started: Project: portaudio, Configuration: Debug Win32 ------
      1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asio.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2commonasio.cpp, ....srchostapiasioASIOSDKcommonasio.cpp.
      1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asiodrivers.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2hostasiodrivers.cpp, ....srchostapiasioASIOSDKhostasiodrivers.cpp.
      1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asiolist.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2hostpcasiolist.cpp, ....srchostapiasioASIOSDKhostpcasiolist.cpp.
      1>cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
      1>hostsample.cpp
      1>c:program filescpplibsasiosdk2.3.2hostsamplehostsample.cpp(13): fatal error C1083: Cannot open include file: 'asiosys.h': No such file or directory
      1>asiolist.cpp
      1>c:program filescpplibsasiosdk2.3.2hostpcasiolist.cpp(2): fatal error C1083: Cannot open include file: 'iasiodrv.h': No such file or directory
      1>asiodrivers.cpp
      1>c:program filescpplibsasiosdk2.3.2hostasiodrivers.h(13): fatal error C1083: Cannot open include file: 'asiolist.h': No such file or directory
      1>asiodrvr.cpp
      1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.cpp(16): fatal error C1189: #error: do not use this
      1>asio.cpp
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): error C2011: 'IASIO': 'struct' type redefinition
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.h(26): error C2504: 'IASIO': base class undefined
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(79): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(81): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(87): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(88): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(76): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(86): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(101): error C2039: 'removeCurrentDriver': is not a member of 'AsioDriver'
      1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.h(26): note: see declaration of 'AsioDriver'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(114): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(121): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(131): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(141): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(151): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(158): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(165): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(172): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(182): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(189): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(196): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(208): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(205): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(221): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(228): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(235): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(242): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(249): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>Generating Code...
      1>Done building project "portaudio.vcxproj" -- FAILED.
      ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========









      share|improve this question














      I have created my own directory "cpplibs" for storing my library code and the files are there. For whatever reason the "portaudio.sln" file isn't able to properly link to my files. How do I organize my files so that everything gets to the right place, and I don't get any "undefined identifier" or similar errors?



      Here is the specific output I am receiving. I did some research or defining directories but still ran into some issues.



      1>------ Build started: Project: portaudio, Configuration: Debug Win32 ------
      1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asio.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2commonasio.cpp, ....srchostapiasioASIOSDKcommonasio.cpp.
      1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asiodrivers.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2hostasiodrivers.cpp, ....srchostapiasioASIOSDKhostasiodrivers.cpp.
      1>C:Program Files (x86)for visual studioCommon7IDEVCVCTargetsMicrosoft.CppBuild.targets(944,5): warning MSB8027: Two or more files with the name of asiolist.cpp will produce outputs to the same location. This can lead to an incorrect build result. The files involved are ......ASIOSDK2.3.2hostpcasiolist.cpp, ....srchostapiasioASIOSDKhostpcasiolist.cpp.
      1>cl : Command line warning D9035: option 'Gm' has been deprecated and will be removed in a future release
      1>hostsample.cpp
      1>c:program filescpplibsasiosdk2.3.2hostsamplehostsample.cpp(13): fatal error C1083: Cannot open include file: 'asiosys.h': No such file or directory
      1>asiolist.cpp
      1>c:program filescpplibsasiosdk2.3.2hostpcasiolist.cpp(2): fatal error C1083: Cannot open include file: 'iasiodrv.h': No such file or directory
      1>asiodrivers.cpp
      1>c:program filescpplibsasiosdk2.3.2hostasiodrivers.h(13): fatal error C1083: Cannot open include file: 'asiolist.h': No such file or directory
      1>asiodrvr.cpp
      1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.cpp(16): fatal error C1189: #error: do not use this
      1>asio.cpp
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): error C2011: 'IASIO': 'struct' type redefinition
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.h(26): error C2504: 'IASIO': base class undefined
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(79): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(81): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(87): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(88): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(76): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(86): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(101): error C2039: 'removeCurrentDriver': is not a member of 'AsioDriver'
      1>c:program filescpplibsasiosdk2.3.2commonasiodrvr.h(26): note: see declaration of 'AsioDriver'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(114): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(121): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(131): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(141): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(151): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(158): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(165): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(172): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(182): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(189): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(196): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(208): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(205): warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
      1>c:program files (x86)windows kits10include10.0.10240.0ucrtstring.h(119): note: see declaration of 'strcpy'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(221): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(228): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(235): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(242): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commonasio.cpp(249): error C2027: use of undefined type 'IASIO'
      1>c:program filescpplibsasiosdk2.3.2commoniasiodrv.h(11): note: see declaration of 'IASIO'
      1>Generating Code...
      1>Done building project "portaudio.vcxproj" -- FAILED.
      ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========






      visual-c++






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 31 '18 at 18:53









      BajumbaBajumba

      61




      61
























          1 Answer
          1






          active

          oldest

          votes


















          -1














          Are you using git in your project ?



          I had the same problem and when i removed git from the directory it worked well.






          share|improve this answer
























          • I don't know if I am using Git, or what that means. I know that the files are all there, or seem to be but it's riddled with issues.What are you suggesting?

            – Bajumba
            Jan 9 at 21:42











          • I had this problem too on a git repo cloned from github, and when i tried to download the repo zip instead of cloning it, it worked

            – Faymon
            Jan 10 at 6:57













          • okay, so I need to do what exactly in order to make this specific library work better? What's the problem here? Is it the source of the files or is it the files themselves?

            – Bajumba
            Jan 12 at 3:32











          • I took the source directly from the website.

            – Bajumba
            Jan 13 at 14:09











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53990570%2fvisual-studio-looks-in-the-proper-directory-but-stills-says-that-the-files-aren%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          -1














          Are you using git in your project ?



          I had the same problem and when i removed git from the directory it worked well.






          share|improve this answer
























          • I don't know if I am using Git, or what that means. I know that the files are all there, or seem to be but it's riddled with issues.What are you suggesting?

            – Bajumba
            Jan 9 at 21:42











          • I had this problem too on a git repo cloned from github, and when i tried to download the repo zip instead of cloning it, it worked

            – Faymon
            Jan 10 at 6:57













          • okay, so I need to do what exactly in order to make this specific library work better? What's the problem here? Is it the source of the files or is it the files themselves?

            – Bajumba
            Jan 12 at 3:32











          • I took the source directly from the website.

            – Bajumba
            Jan 13 at 14:09
















          -1














          Are you using git in your project ?



          I had the same problem and when i removed git from the directory it worked well.






          share|improve this answer
























          • I don't know if I am using Git, or what that means. I know that the files are all there, or seem to be but it's riddled with issues.What are you suggesting?

            – Bajumba
            Jan 9 at 21:42











          • I had this problem too on a git repo cloned from github, and when i tried to download the repo zip instead of cloning it, it worked

            – Faymon
            Jan 10 at 6:57













          • okay, so I need to do what exactly in order to make this specific library work better? What's the problem here? Is it the source of the files or is it the files themselves?

            – Bajumba
            Jan 12 at 3:32











          • I took the source directly from the website.

            – Bajumba
            Jan 13 at 14:09














          -1












          -1








          -1







          Are you using git in your project ?



          I had the same problem and when i removed git from the directory it worked well.






          share|improve this answer













          Are you using git in your project ?



          I had the same problem and when i removed git from the directory it worked well.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 7 at 18:32









          FaymonFaymon

          12




          12













          • I don't know if I am using Git, or what that means. I know that the files are all there, or seem to be but it's riddled with issues.What are you suggesting?

            – Bajumba
            Jan 9 at 21:42











          • I had this problem too on a git repo cloned from github, and when i tried to download the repo zip instead of cloning it, it worked

            – Faymon
            Jan 10 at 6:57













          • okay, so I need to do what exactly in order to make this specific library work better? What's the problem here? Is it the source of the files or is it the files themselves?

            – Bajumba
            Jan 12 at 3:32











          • I took the source directly from the website.

            – Bajumba
            Jan 13 at 14:09



















          • I don't know if I am using Git, or what that means. I know that the files are all there, or seem to be but it's riddled with issues.What are you suggesting?

            – Bajumba
            Jan 9 at 21:42











          • I had this problem too on a git repo cloned from github, and when i tried to download the repo zip instead of cloning it, it worked

            – Faymon
            Jan 10 at 6:57













          • okay, so I need to do what exactly in order to make this specific library work better? What's the problem here? Is it the source of the files or is it the files themselves?

            – Bajumba
            Jan 12 at 3:32











          • I took the source directly from the website.

            – Bajumba
            Jan 13 at 14:09

















          I don't know if I am using Git, or what that means. I know that the files are all there, or seem to be but it's riddled with issues.What are you suggesting?

          – Bajumba
          Jan 9 at 21:42





          I don't know if I am using Git, or what that means. I know that the files are all there, or seem to be but it's riddled with issues.What are you suggesting?

          – Bajumba
          Jan 9 at 21:42













          I had this problem too on a git repo cloned from github, and when i tried to download the repo zip instead of cloning it, it worked

          – Faymon
          Jan 10 at 6:57







          I had this problem too on a git repo cloned from github, and when i tried to download the repo zip instead of cloning it, it worked

          – Faymon
          Jan 10 at 6:57















          okay, so I need to do what exactly in order to make this specific library work better? What's the problem here? Is it the source of the files or is it the files themselves?

          – Bajumba
          Jan 12 at 3:32





          okay, so I need to do what exactly in order to make this specific library work better? What's the problem here? Is it the source of the files or is it the files themselves?

          – Bajumba
          Jan 12 at 3:32













          I took the source directly from the website.

          – Bajumba
          Jan 13 at 14:09





          I took the source directly from the website.

          – Bajumba
          Jan 13 at 14:09




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53990570%2fvisual-studio-looks-in-the-proper-directory-but-stills-says-that-the-files-aren%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Angular Downloading a file using contenturl with Basic Authentication

          Olmecas

          Can't read property showImagePicker of undefined in react native iOS