flykickbird / libyuv

Automatically exported from code.google.com/p/libyuv
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

clangcl 64 bit build broken on windows #440

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

c:\src\libyuv3\trunk>ninja -C out\Release_x64 libyuv_unittest
ninja: Entering directory `out\Release_x64'
[1/1] LINK_EMBED libyuv_unittest.exe
FAILED: C:\python_27_amd64\files\python.exe gyp-win-tool link-with-manifests 
environment.x64 True libyuv_unittest.exe "C:\python_27_amd64\files\python.exe 
gyp-w
in-tool link-wrapper environment.x64 False link.exe /nologo 
/OUT:libyuv_unittest.exe @libyuv_unittest.exe.rsp" 1 mt.exe rc.exe 
"obj\libyuv_unittest.libyuv_unitt
est.exe.intermediate.manifest" 
obj\libyuv_unittest.libyuv_unittest.exe.generated.manifest 
..\..\build\win\compatibility.manifest
libyuv_unittest.math_test.obj : error LNK2001: unresolved external symbol 
FixedDiv_X86
libyuv.lib(libyuv.scale_common.obj) : error LNK2001: unresolved external symbol 
FixedDiv_X86
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
FixedDiv_X86
libyuv_unittest.math_test.obj : error LNK2001: unresolved external symbol 
FixedDiv1_X86
libyuv.lib(libyuv.scale_common.obj) : error LNK2001: unresolved external symbol 
FixedDiv1_X86
libyuv.lib(libyuv.compare.obj) : error LNK2001: unresolved external symbol 
HashDjb2_SSE41
libyuv.lib(libyuv.compare.obj) : error LNK2001: unresolved external symbol 
SumSquareError_SSE2
libyuv.lib(libyuv.rotate_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBRowDownEven_SSE2
libyuv.lib(libyuv.scale_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBRowDownEven_SSE2
libyuv.lib(libyuv.scale_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBFilterCols_SSSE3
libyuv.lib(libyuv.scale_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBCols_SSE2
libyuv.lib(libyuv.scale_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBColsUp2_SSE2
libyuv.lib(libyuv.scale_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBRowDown2Linear_SSE2
libyuv.lib(libyuv.scale_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBRowDown2Box_SSE2
libyuv.lib(libyuv.scale_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBRowDown2_SSE2
libyuv.lib(libyuv.scale_argb.obj) : error LNK2001: unresolved external symbol 
ScaleARGBRowDownEvenBox_SSE2
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleFilterCols_SSSE3
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown34_0_Box_SSSE3
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown34_0_Box_SSSE3
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown34_SSSE3
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown34_SSSE3
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown34_1_Box_SSSE3
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown34_1_Box_SSSE3
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleAddRows_SSE2
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleAddRows_SSE2
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown2Linear_SSE2
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown2Linear_SSE2
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown2Box_SSE2
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown2Box_SSE2
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown2_SSE2
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown2_SSE2
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown38_SSSE3
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown38_SSSE3
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown38_3_Box_SSSE3
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown38_3_Box_SSSE3
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown38_2_Box_SSSE3
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown38_2_Box_SSSE3
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown4Box_SSE2
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown4Box_SSE2
libyuv.lib(libyuv.scale.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown4_SSE2
libyuv.lib(libyuv.scale_any.obj) : error LNK2001: unresolved external symbol 
ScaleRowDown4_SSE2
libyuv_unittest.exe : fatal error LNK1120: 25 unresolved externals
Final: Total time = 0.172s
Traceback (most recent call last):
  File "gyp-win-tool", line 313, in <module>
    sys.exit(main(sys.argv[1:]))
  File "gyp-win-tool", line 29, in main
    exit_code = executor.Dispatch(args)
  File "gyp-win-tool", line 71, in Dispatch
    return getattr(self, method)(*args[1:])
  File "gyp-win-tool", line 169, in ExecLinkWithManifests
    subprocess.check_call(ldcmd + add_to_ld)
  File "C:\python_27_amd64\files\lib\subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'C:\python_27_amd64\files\python.exe 
gyp-win-tool link-wrapper environment.x64 False link.exe /nologo 
/OUT:libyuv_unittes
t.exe @libyuv_unittest.exe.rsp libyuv_unittest.exe.manifest.res' returned 
non-zero exit status 1120
ninja: build stopped: subcommand failed.

Original issue reported on code.google.com by fbarch...@chromium.org on 14 May 2015 at 4:47

GoogleCodeExporter commented 9 years ago

Original comment by fbarch...@chromium.org on 15 May 2015 at 1:01

GoogleCodeExporter commented 9 years ago
this change is confusing chromium users.  suggest finding a better solution.

Original comment by fbarch...@chromium.org on 9 Jun 2015 at 1:38

GoogleCodeExporter commented 9 years ago
posix files renamed to gcc so they will be included in all builds.

Original comment by fbarch...@chromium.org on 10 Jun 2015 at 9:49