google-code-export / bzzwolfsp

Automatically exported from code.google.com/p/bzzwolfsp
GNU General Public License v3.0
0 stars 0 forks source link

Cannot open input file 'sdlmain.lib' #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Open "bzzwolfsp.sln" with Visual Studio 2010 (Pro)
2. Select "Release" as compile profile.
3. Build all.

What is the expected output? What do you see instead?

1>------ Build started: Project: bzzwolfsp, Configuration: Release Win32 ------
1>Build started 16/07/2012 17:52:16.
1>InitializeBuildStatus:
1>  Touching "Release\bzzwolfsp.unsuccessfulbuild".
1>ClCompile:
1>  All outputs are up-to-date.
1>  All outputs are up-to-date.
1>ResourceCompile:
1>  All outputs are up-to-date.
1>C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning 
MSB8012: TargetPath(D:\RTCWCOOP\vc++\bzzwolfsp\Release\bzzwolfsp.exe) does not 
match the Linker's OutputFile property value (D:\RTCWCOOP\bzzwolfsp.exe). This 
may cause your project to build incorrectly. To correct this, please make sure 
that $(OutDir), $(TargetName) and $(TargetExt) property values match the value 
specified in %(Link.OutputFile).
1>LINK : fatal error LNK1181: cannot open input file 'sdlmain.lib'
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:00.27
========== Build: 0 succeeded, 1 failed, 4 up-to-date, 0 skipped ==========

What version of the product are you using? On what operating system?

Latest SVN trunk of the project. Visual Studio 2010 Professional, on Windows 7 
64-bit.

Please provide any additional information below.

I don't think it's important, but when I ran "extractfunctions.bat" (as 
indicated in the README.txt file), it ran for an infinite loop until I Ctrl+C'd 
it. I had already copied all .pk3 files from the game Main folder to the code 
Main folder, ran "create_pk3.bat", and moved the generated .pk3 to Main folder 
too.

Original issue reported on code.google.com by neme6...@gmail.com on 16 Jul 2012 at 4:00

GoogleCodeExporter commented 9 years ago
Solved. Download SDL development version (SDL-devel-1.2.15-VC for me), grab the 
.lib files from "lib\x86" folder (64-bit version won't work), and put them in 
"src\libs\win32" (in the bzzwolfsp project folder). Rebuild all.

To test it, provided you have all needed .pk3 files, run "bzzwolfsp.exe" in the 
project's main folder, but before that you have to move "SDL.dll" (from the 
same folder where you found the .lib files) next to it.

Original comment by neme6...@gmail.com on 17 Jul 2012 at 3:15

GoogleCodeExporter commented 9 years ago
sorry that the readmes about compiling are not up to date yet, we had no 
release yet so its not a priority :)

Original comment by frederik...@gmail.com on 26 Jul 2012 at 7:45

GoogleCodeExporter commented 9 years ago
The change for this is done now.

Original comment by frederik...@gmail.com on 15 Feb 2013 at 9:54