1,502
edits
(→Adding all libraries to Visual Studio: Added alternate way of adding the libraries in Visual Studio) |
(Layout) |
||
Line 123: | Line 123: | ||
There are two ways of adding the libraries to Visual Studio. You can either copy all the header and library files inside the appropriate directories of Visual C++ or tell Visual C++ where to look for them. | There are two ways of adding the libraries to Visual Studio. You can either copy all the header and library files inside the appropriate directories of Visual C++ or tell Visual C++ where to look for them. | ||
<br><br> | <br><br> | ||
=== First method: Copy the files inside VC++'s folders === | |||
The '''first method''' of adding the required libraries is to go to each individual compiled library and copy the header and library files. | |||
You'll need the following:<br><br> | |||
'''Libraries'''<br> | '''Libraries'''<br> | ||
'''libFLAC_static.lib''' - static build of libFLAC (from folder obj\release\lib where you unzipped libFLAC)<br> | '''libFLAC_static.lib''' - static build of libFLAC (from folder obj\release\lib where you unzipped libFLAC)<br> | ||
Line 137: | Line 140: | ||
Copy those inside VC's lib folder (e.g. C:\Program Files\Microsoft Visual Studio 8\VC\lib) | Copy those inside VC's lib folder (e.g. C:\Program Files\Microsoft Visual Studio 8\VC\lib) | ||
<br><br> | <br><br> | ||
'''Header files''' | '''Header files'''<br> | ||
[TODO] | [TODO] | ||
<br><br> | <br><br> | ||
Line 146: | Line 149: | ||
<br><br> | <br><br> | ||
Copy this as nasmw.exe AND as nasm.exe inside VC's bin folder (e.g. C:\Program Files\Microsoft Visual Studio 8\VC\bin) | Copy this as nasmw.exe AND as nasm.exe inside VC's bin folder (e.g. C:\Program Files\Microsoft Visual Studio 8\VC\bin) | ||
<br> | <br><br> | ||
<br> | |||
=== Second method: Tell VC++ where to look === | |||
The '''second method''' is to tell VC++ where to look for the required libraries and header files | The '''second method''' is to tell VC++ where to look for the required libraries and header files | ||
Line 159: | Line 163: | ||
Finally, if you need to compile ScummVM with FLAC support, go to Configuration Properties->C/C++->Preprocessor and add "USE_FLAC" in the Preprocessor Definitions field. Also, go to linker->input and add "libflac_static.lib" in the Additional Dependencies field. | Finally, if you need to compile ScummVM with FLAC support, go to Configuration Properties->C/C++->Preprocessor and add "USE_FLAC" in the Preprocessor Definitions field. Also, go to linker->input and add "libflac_static.lib" in the Additional Dependencies field. | ||
== Before compiling == | == Before compiling == |
edits