Log in

View Full Version : build fail


gibroni
09-21-2014, 05:57 PM
Downloaded latest comit and tried to build
Under vs 2010 prof, windows 7 64 bit. Getting
10 failed builds, something about
Fatal error, cannot open file... \bin\relwithdebinfo\common.lib

joligario
09-21-2014, 06:50 PM
There were a few commits today, so you may want to be more specific. I recommend running a Clean Solution and rebuild. Then post entire error window to be more exact than "something about".

lerxst2112
09-21-2014, 08:38 PM
It's better to rebuild, then build again, so the output will only have the errors, not thousands of lines of useless compile information.

gibroni
09-22-2014, 07:18 PM
just redownloaded a another git comit as of 20 minutes ago and this is the output im getting on building

1>------ Build started: Project: ZERO_CHECK, Configuration: RelWithDebInfo x64 ------
1>Build started 9/22/2014 4:13:48 PM.
1>InitializeBuildStatus:
1> Creating "x64\RelWithDebInfo\ZERO_CHECK\ZERO_CHECK.unsuccess fulbuild" because "AlwaysCreate" was specified.
1>FinalizeBuildStatus:
1> Deleting file "x64\RelWithDebInfo\ZERO_CHECK\ZERO_CHECK.unsuccess fulbuild".
1> Touching "x64\RelWithDebInfo\ZERO_CHECK\ZERO_CHECK.lastbuild state".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.05
2>------ Build started: Project: common, Configuration: RelWithDebInfo x64 ------
2>Build started 9/22/2014 4:13:48 PM.
2>InitializeBuildStatus:
2> Touching "common.dir\RelWithDebInfo\common.unsuccessfulbuild".
2>CustomBuild:
2> All outputs are up-to-date.
2>ClCompile:
2> database.cpp
2>..\..\common\database.cpp(123): warning C4267: 'argument' : conversion from 'size_t' to 'uint32', possible loss of data
2>..\..\common\database.cpp(124): warning C4267: 'argument' : conversion from 'size_t' to 'uint32', possible loss of data
2>..\..\common\database.cpp(895): warning C4244: 'initializing' : conversion from 'float' to 'int', possible loss of data
2>..\..\common\database.cpp(898): warning C4018: '<' : signed/unsigned mismatch
2>..\..\common\database.cpp(1759): error C2039: 'isnan' : is not a member of 'std'
2>..\..\common\database.cpp(1759): error C2039: 'isnan' : is not a member of 'std'
2>..\..\common\database.cpp(1759): error C2039: 'isnan' : is not a member of 'std'
2>..\..\common\database.cpp(1759): error C2039: 'isnan' : is not a member of 'std'
2>..\..\common\database.cpp(1759): error C3861: 'isnan': identifier not found
2>..\..\common\database.cpp(1759): error C3861: 'isnan': identifier not found
2>..\..\common\database.cpp(1759): error C3861: 'isnan': identifier not found
2>..\..\common\database.cpp(1759): error C3861: 'isnan': identifier not found
2>..\..\common\database.cpp(1767): error C2039: 'isnan' : is not a member of 'std'
2>..\..\common\database.cpp(1767): error C2039: 'isnan' : is not a member of 'std'
2>..\..\common\database.cpp(1767): error C2039: 'isnan' : is not a member of 'std'
2>..\..\common\database.cpp(1767): error C2039: 'isnan' : is not a member of 'std'
2>..\..\common\database.cpp(1767): error C3861: 'isnan': identifier not found
2>..\..\common\database.cpp(1767): error C3861: 'isnan': identifier not found
2>..\..\common\database.cpp(1767): error C3861: 'isnan': identifier not found
2>..\..\common\database.cpp(1767): error C3861: 'isnan': identifier not found
2>..\..\common\database.cpp(2021): warning C4267: 'argument' : conversion from 'size_t' to 'uint32', possible loss of data
2>..\..\common\database.cpp(2022): warning C4267: 'argument' : conversion from 'size_t' to 'uint32', possible loss of data
2>..\..\common\database.cpp(2094): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2096): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2098): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2135): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2137): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2139): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2184): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2186): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2188): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2190): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2580): warning C4244: 'return' : conversion from 'uint16' to 'uint8', possible loss of data
2>..\..\common\database.cpp(2600): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2601): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2602): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data
2>..\..\common\database.cpp(2671): warning C4267: 'argument' : conversion from 'size_t' to 'uint32', possible loss of data
2>..\..\common\database.cpp(3179): warning C4018: '<=' : signed/unsigned mismatch
2>..\..\common\database.cpp(3203): warning C4018: '<' : signed/unsigned mismatch
2>
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.92
3>------ Build started: Project: shared_memory, Configuration: RelWithDebInfo x64 ------
4>------ Build started: Project: queryserv, Configuration: RelWithDebInfo x64 ------
5>------ Build started: Project: world, Configuration: RelWithDebInfo x64 ------
6>------ Build started: Project: loginserver, Configuration: RelWithDebInfo x64 ------
7>------ Build started: Project: import_client_files, Configuration: RelWithDebInfo x64 ------
8>------ Build started: Project: export_client_files, Configuration: RelWithDebInfo x64 ------
9>------ Build started: Project: eqlaunch, Configuration: RelWithDebInfo x64 ------
10>------ Build started: Project: ucs, Configuration: RelWithDebInfo x64 ------
3>Build started 9/22/2014 4:13:49 PM.
5>Build started 9/22/2014 4:13:49 PM.
6>Build started 9/22/2014 4:13:49 PM.
8>Build started 9/22/2014 4:13:49 PM.
4>Build started 9/22/2014 4:13:49 PM.
9>Build started 9/22/2014 4:13:49 PM.
10>Build started 9/22/2014 4:13:49 PM.
9>InitializeBuildStatus:
7>Build started 9/22/2014 4:13:50 PM.
9> Touching "eqlaunch.dir\RelWithDebInfo\eqlaunch.unsuccessfulb uild".
9>CustomBuild:
9> All outputs are up-to-date.
9>ClCompile:
9> All outputs are up-to-date.
6>InitializeBuildStatus:
5>InitializeBuildStatus:
7>InitializeBuildStatus:
4>InitializeBuildStatus:
10>InitializeBuildStatus:
3>InitializeBuildStatus:
9>ManifestResourceCompile:
8>InitializeBuildStatus:
8> Touching "export_client_files.dir\RelWithDebInfo\export_clie nt_files.unsuccessfulbuild".
8>CustomBuild:
8> All outputs are up-to-date.
8>ClCompile:
8> All outputs are up-to-date.
8>ManifestResourceCompile:
8> All outputs are up-to-date.
9> All outputs are up-to-date.
9>LINK : fatal error LNK1104: cannot open file '..\bin\RelWithDebInfo\common.lib'
9>
9>Build FAILED.
9>
9>Time Elapsed 00:00:00.26
3> Touching "shared_memory.dir\RelWithDebInfo\shared_memory.uns uccessfulbuild".
3>CustomBuild:
3> All outputs are up-to-date.
3>ClCompile:
3> All outputs are up-to-date.
3>ManifestResourceCompile:
3> All outputs are up-to-date.
3>LINK : fatal error LNK1104: cannot open file '..\bin\RelWithDebInfo\common.lib'
3>
3>Build FAILED.
3>
3>Time Elapsed 00:00:00.38
11>------ Build started: Project: zone, Configuration: RelWithDebInfo x64 ------
10> Touching "ucs.dir\RelWithDebInfo\ucs.unsuccessfulbuild".
10>CustomBuild:
10> All outputs are up-to-date.
10>ClCompile:
10> All outputs are up-to-date.
10>ManifestResourceCompile:
10> All outputs are up-to-date.
10>LINK : fatal error LNK1104: cannot open file '..\bin\RelWithDebInfo\common.lib'
10>
10>Build FAILED.
10>
10>Time Elapsed 00:00:00.27
4> Touching "queryserv.dir\RelWithDebInfo\queryserv.unsuccessfu lbuild".
4>CustomBuild:
4> All outputs are up-to-date.
4>ClCompile:
4> All outputs are up-to-date.
4>ManifestResourceCompile:
4> All outputs are up-to-date.
4>LINK : fatal error LNK1104: cannot open file '..\bin\RelWithDebInfo\common.lib'
4>
8>LINK : fatal error LNK1104: cannot open file '..\..\bin\RelWithDebInfo\common.lib'
4>Build FAILED.
4>
4>Time Elapsed 00:00:00.26
8>
8>Build FAILED.
8>
8>Time Elapsed 00:00:00.34
7> Touching "import_client_files.dir\RelWithDebInfo\import_clie nt_files.unsuccessfulbuild".
7>CustomBuild:
7> All outputs are up-to-date.
7>ClCompile:
7> All outputs are up-to-date.
7>ManifestResourceCompile:
7> All outputs are up-to-date.
7>LINK : fatal error LNK1104: cannot open file '..\..\bin\RelWithDebInfo\common.lib'
7>
11>Build started 9/22/2014 4:13:50 PM.
7>Build FAILED.
7>
7>Time Elapsed 00:00:00.22
5> Touching "world.dir\RelWithDebInfo\world.unsuccessfulbuild".
5>CustomBuild:
5> All outputs are up-to-date.
5>ClCompile:
5> All outputs are up-to-date.
5>ManifestResourceCompile:
5> All outputs are up-to-date.
5>LINK : fatal error LNK1104: cannot open file '..\bin\RelWithDebInfo\common.lib'
5>
5>Build FAILED.
5>
5>Time Elapsed 00:00:00.31
6> Touching "loginserver.dir\RelWithDebInfo\loginserver.unsucce ssfulbuild".
6>CustomBuild:
6> All outputs are up-to-date.
6>ClCompile:
6> All outputs are up-to-date.
6>ManifestResourceCompile:
6> All outputs are up-to-date.
6>LINK : fatal error LNK1104: cannot open file '..\bin\RelWithDebInfo\common.lib'
6>
6>Build FAILED.
6>
6>Time Elapsed 00:00:00.32
11>InitializeBuildStatus:
11> Touching "zone.dir\RelWithDebInfo\zone.unsuccessfulbuild".
11>CustomBuild:
11> All outputs are up-to-date.
11>ClCompile:
11> All outputs are up-to-date.
11>ManifestResourceCompile:
11> All outputs are up-to-date.
11>LINK : fatal error LNK1104: cannot open file '..\bin\RelWithDebInfo\common.lib'
11>
11>Build FAILED.
11>
11>Time Elapsed 00:00:00.32
12>------ Build started: Project: ALL_BUILD, Configuration: RelWithDebInfo x64 ------
12>Build started 9/22/2014 4:13:50 PM.
12>InitializeBuildStatus:
12> Creating "x64\RelWithDebInfo\ALL_BUILD\ALL_BUILD.unsuccessfu lbuild" because "AlwaysCreate" was specified.
12>CustomBuild:
12> Build all projects
12>FinalizeBuildStatus:
12> Deleting file "x64\RelWithDebInfo\ALL_BUILD\ALL_BUILD.unsuccessfu lbuild".
12> Touching "x64\RelWithDebInfo\ALL_BUILD\ALL_BUILD.lastbuildst ate".
12>
12>Build succeeded.
12>
12>Time Elapsed 00:00:00.08
13>------ Skipped Build: Project: INSTALL, Configuration: RelWithDebInfo x64 ------
13>Project not selected to build for this solution configuration
========== Build: 2 succeeded, 10 failed, 1 up-to-date, 1 skipped ==========

jdoran
09-22-2014, 07:25 PM
Code tags please!

What compiler are you using? Is the code bring in <math> or <cmath>?

gibroni
09-22-2014, 07:49 PM
Using VS 2010 professional and no clue what u mean by math or cmath.

Was compiling and Working fine until yesterdays comits.

jdoran
09-22-2014, 08:09 PM
You might want to upgrade to a newer version of VS, the express editions are free. I work on Unix, but occasionally build things on Windows.

I'm looking at the missing isnan in the std namespace. This is one of the things which compilers don't always agree on. std::isnan is only supported in C++11, which is newer than your 2010 compiler.

The <cmath> vs <math> issue assumes you have a C++11 compiler.