Menu

#282 Compiler error C2039 in VS 2015

closed-fixed
nobody
vs2015 (1)
5
2018-04-29
2016-12-29
No

Hi,

I took the sox-1.14.1.tag.gz, put several libraries in neighboring folders, compiled everything and ended up with
error C2039: "_base": Is not an element of "_iobuf"
Microsoft seemingly changed the definition of FILE. Is there a workaround?
Have you compiled sox in Visual Studio 2015?
Are there macros I can define to get the old definion of FILE?

Best,
Bernhard Döbler

Discussion

  • Bernhard Doebler

    I kept "playing" around. I edited the project settings. The project had been migrated automatically to my Visual Studio version.
    I now ensured it was set to be a VS 2010 project (v100) instead of 2015 (v140). It now compiles.

     
  • Bernhard Doebler

    I just see Visual Studio 2017 does not allow to set Platform Toolset v100 any more. :(

     
  • Mans Rullgard

    Mans Rullgard - 2018-04-27
    • status: open --> pending-fixed
     
  • Mans Rullgard

    Mans Rullgard - 2018-04-27

    The FILE type is opaque in VS2015, and there is no way to get the old one back.

     
  • Mans Rullgard

    Mans Rullgard - 2018-04-29
    • status: pending-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB