SFML community forums

Help => General => Topic started by: tom64 on April 11, 2013, 03:08:29 am

Title: Error: Can't find the specified file?
Post by: tom64 on April 11, 2013, 03:08:29 am
I opened SFML build in Visual Studio and try to run the Pong demo.

I get error: \vc2008\sfml-audio\Debug static\sfml-audio.lib'.
The system cannot find the file specified.

Am I supposed to do something like tell it where the files are?

Sorry I'm also new to VS..
Title: Re: Error: Can't find the specified file?
Post by: Laurent on April 11, 2013, 08:11:37 am
Did you build SFML first?
Title: Re: Error: Can't find the specified file?
Post by: tom64 on April 11, 2013, 02:52:21 pm
No, but I just built it now and I still get the same error.

Says 2 failed.

fatal error C1083: Cannot open include file: 'QWidget': No such file or directory
fatal error C1083: Cannot open include file: 'wx/wx.h': No such file or directory

But when I run it still complains about the audio lib.
Title: Re: Error: Can't find the specified file?
Post by: Laurent on April 11, 2013, 03:20:33 pm
Quote
Says 2 failed.

fatal error C1083: Cannot open include file: 'QWidget': No such file or directory
fatal error C1083: Cannot open include file: 'wx/wx.h': No such file or directory
This is expected, ignore them.

Quote
But when I run it still complains about the audio lib.
Is it a compiler, linker or runtime error?
Title: Re: Error: Can't find the specified file?
Post by: tom64 on April 12, 2013, 11:39:21 am
I don't know. I'm not skilled vocabularily speaking.

I just click 'Run without debugger' and instantly I get a Windows message popup.
Title: Re: Error: Can't find the specified file?
Post by: Laurent on April 12, 2013, 11:46:47 am
Well, then take a screenshot of the error message and post it here ;)
Title: Re: Error: Can't find the specified file?
Post by: tom64 on April 12, 2013, 03:14:03 pm
(http://i46.tinypic.com/33fb0b5.jpg)
Title: Re: Error: Can't find the specified file?
Post by: Laurent on April 12, 2013, 03:23:22 pm
I can't imagine what you've put in your project settings to have a runtime error complaining about a .lib file :o

Can you upload your project file?
Title: Re: Error: Can't find the specified file?
Post by: tom64 on April 12, 2013, 03:26:33 pm
I didn't put anything in project settings. I haven't used VS much either, it's practically a fresh install.

All I did was download SFML, open it, and try to run the pong..
Title: Re: Error: Can't find the specified file?
Post by: Laurent on April 12, 2013, 04:21:32 pm
Ah, sorry, I forgot you were working with the SFML solution.

Maybe you should learn Visual Studio with your own projects, instead of SFML. You've probably done something wrong, but I don't know what.
Title: Re: Error: Can't find the specified file?
Post by: tom64 on April 12, 2013, 04:33:22 pm
All I remember was that VS said something about SFML being outdated and had to be updated in some way, so I pressed 'OK'. Maybe that's what it was.. I'm on VS 2012 Ultimate.
Title: Re: Error: Can't find the specified file?
Post by: Laurent on April 12, 2013, 05:31:22 pm
People already got errors after converting the SFML solution to newer version of VS. But not this kind of runtime error.

But forget SFML 1.6, use 2.0.