Thread: Problem buidling in Visual Studio 2005 (new to C++)

  1. #1
    Registered User
    Join Date
    Jan 2007
    Posts
    14

    Unhappy Problem buidling in Visual Studio 2005 (new to C++)

    Hi,

    I've been programming in C for a while, but recently have been looking into developing VST audio plug-ins at Uni. I've been given the Visual Studio project files for some basic plug-ins and have been working on improving them on the Uni computers, which all run Visual Studio 2003.
    I'm now on my Christmas holidays and wanted to carry on with my work, so I got a copy of Visual Studio 2005 for my laptop (couldn't find anything earlier). Problem is, now I'm getting warnings when I try and build .dll files of the projects that were working fine on the Uni computers.
    Visual Studio 2005 did convert the files so that they were compatible so I'm not sure if that's an issue...
    I'm having real trouble with this and haven't been able to build any of the projects I was working on.
    I think it's this error that's stopping it from building:
    Code:
    BSCMAKE: error BK1506 : cannot open file '.\Debug\AudioEffect.sbr': No such file or directory
    The file it's looking for doesn't exist, so I'm assuming it's a file that's created during the build. Anyone know what's going on? Any help at all would be much appreciated.

    Ashley

  2. #2
    Captain - Lover of the C
    Join Date
    May 2005
    Posts
    341
    Try a clean build
    Don't quote me on that... ...seriously

  3. #3
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    Are there multiple projects in your VS solution?
    If so, you might want to look through the project settings of each to see which one builds that file and then make sure your Project Dependencies are in the right order. (i.e. the one that uses that file must depend on the one that builds that file)

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    2005 is much more standards compliant and breaks a lot of code to make it more standards compliant than 2003.
    I'm not sure if you need the browse info, or whatever it's called... also, if there's more warnings/errors, post 'em, and we can help with those too. Standard compliant is a good thing.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem Compiling Program
    By wco5002 in forum C++ Programming
    Replies: 13
    Last Post: 11-06-2007, 12:56 PM
  2. load gif into program
    By willc0de4food in forum Windows Programming
    Replies: 14
    Last Post: 01-11-2006, 10:43 AM
  3. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  4. ras.h errors
    By Trent_Easton in forum Windows Programming
    Replies: 8
    Last Post: 07-15-2005, 10:52 PM
  5. Linking error
    By DockyD in forum C++ Programming
    Replies: 10
    Last Post: 01-20-2003, 05:27 AM