Log in

View Full Version : Compile Lagarith with Visual Studio 2015?


zerowalker
23rd March 2016, 00:58
Is it possible?

I have tried myself but i get linking issues with either Convert.obj or huffyuv_a.obj.

And sadly testing random stuff on the internet hasn't proven useful;P

Groucho2004
23rd March 2016, 01:11
Is it possible?

I have tried myself but i get linking issues with either Convert.obj or huffyuv_a.obj.

And sadly testing random stuff on the internet hasn't proven useful;P
You have to create .obj files for the .asm sources first. By the looks of it, with the Microsoft Macro Assembler.

Out of curiosity - For what purpose do you want to compile it with VS2015?

zerowalker
23rd March 2016, 01:21
You have to create .obj files for the .asm sources first. By the looks of it, with the Microsoft Macro Assembler.

Out of curiosity - For what purpose do you want to compile it with VS2015?

As i use that i would like it to work with it, instead of using older versions, or perhaps i am missing something?

And also, isn't the newer compiler better than the antique one used in VC 6.0?

Not that good at this so i might be completely off.

Will try look into the Assembler thingy, never heard of that before.

Groucho2004
23rd March 2016, 01:28
And also, isn't the newer compiler better than the antique one used in VC 6.0?
What makes you think that it's built with VC6? Because of the old VC6 project files in the source directory?

I just checked the PE headers, the 32 bit version is built with VS2010, the 64 bit version with VS2008.

zerowalker
23rd March 2016, 01:30
What makes you think that it's built with VC6? Because of the old VC6 project files in the source directory?

I just checked the PE headers, the 32 bit version is built with VS2010, the 64 bit version with VS2008.

Yes cause of those, i see i was clearly mistaken though.
Still would like to get it working on VS2015 though.

I am able to compile to get the huffyuv_a.obj, but it still says it can't open the input file for some reason?

EDIT: Well if i add the "Release" folder as a library dependency i think it finds the file, but i get tons of errors:(

EDIT 2: Somehow got it working, used Default Library in Linking and had to change SAFESEH to No, or something like that, no clue if that breaks something or not xd.

zerowalker
24th March 2016, 23:24
Any idea if there would be possible to make it convert to Rec.709 instead of Rec.601?
Hoping for some copy paste code that exists and can be reused, but i am skeptical it would be so easy;P

raffriff42
25th March 2016, 21:50
Better not to let it convert at all. Maintain YUV in and YUV out. If this is done, the codec (or any other digital processing chain eg, VirtualDub) can't (and usually doesn't need to) tell the difference between 601 and 709.

And if you get "tons of errors," Google the first one, fix it and try again. Often one error will cause a cascade of other errors, so you won't have to repeat this process hundreds of times, but only a dozen or two.