kim42083 / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

Compilability and yasm under Visual Studio 2010 #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The sources are not compilable under VS2010.

The problem is in yasm.exe, I suppose, which is v1.2 on my Win7 x64 laptop. 
Even if command line has "-I ..\src" parameter it still unable to find a file 
in this "src" directory when an "%include" yasm instruction is used.

Copying .asm files around is a workaround to get everything compiled.

Here is the mentioned command line output example:

D:\Projects\vpx-vp8-debug-src-x86_64-win64mt-vs9-v1.0.0\build>yasm -Xvc -f x64 
-g cv8 -I .;..\src -o x64\Debug\vpx\emms.obj -rnasm -pnasm   
..\src\vpx_ports\emms.asm
vsyasm: FATAL: unable to open include file `vpx_ports/x86_abi_support.asm'

Original issue reported on code.google.com by Kore.Sar on 1 Feb 2012 at 5:44

GoogleCodeExporter commented 9 years ago

Original comment by iss...@webmproject.org on 1 Feb 2012 at 5:50

GoogleCodeExporter commented 9 years ago
Currently configure does not generated project files for vs2010. This is a 
known issue when upgrading the vs9 files.
Remove all instances of 'Separator=";"' from build/x86-msvs/yasm.xml, which is 
generated by the upgrade, and the build should complete successfully.

Original comment by jz...@google.com on 2 Feb 2012 at 6:48

GoogleCodeExporter commented 9 years ago

Original comment by paulwilk...@google.com on 2 Feb 2012 at 4:26

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 8 Mar 2012 at 12:26

GoogleCodeExporter commented 9 years ago
There is an even quicker workaround: You can edit the vpx project properties 
and modify the Configuration Properties, Include Paths, such that you list:
. -I ..\src
In this way, it will find all the proper files (it worked fine for me).

-Ioannis Katsavounidis

Original comment by ioannisk...@gmail.com on 21 Mar 2012 at 12:27

GoogleCodeExporter commented 9 years ago
Ioannis, as I previously mentioned in the issue, it didn't worked for me due to 
bug in YASM which ignored all the -I inclusions.

Original comment by Kore.Sar on 21 Mar 2012 at 1:21

GoogleCodeExporter commented 9 years ago
Assembling dct_mmx.asm
1>  vsyasm: FATAL: unable to open include file `vpx_ports/x86_abi_support.asm'

... The same problem

Original comment by qq79402...@gmail.com on 4 Feb 2013 at 7:06

GoogleCodeExporter commented 9 years ago
VS2010/2012 project generation was added in a set of commits, terminating with: 
v1.2.0-2121-gad484fc. This is working under vs2012 for me. If the problem 
persists feel free to reopen.

Original comment by jz...@google.com on 30 May 2013 at 6:06