Bforartists: AVCodecContext::me_method is not defined

Created on 2 Sep 2018  路  6Comments  路  Source: Bforartists/Bforartists

Describe the bug

I wanna build bforartists, but I couldnt find any build process description for Windows. So I just followed common sense. Im using these libs, downloaded via:

svn export https://svn.blender.org/svnroot/bf-blender/trunk/lib/win64_vc14/

Then I generated the solution with cmake-gui for VS2017 64bit

Screenshots, Example Files

bforartistsbug

Desktop (please complete the following information):

Windows 10

Additional context

current head https://github.com/Bforartists/Bforartists/commit/0aa1ea2c159f4a5960bd26b5ace6ed1139a5628d

0 - task 1- Fixed

All 6 comments

https://www.bforartists.de/wiki/building

This will have some info. We have documented the process with VS2013 and soon once we finesse the VS2017 work flow update these docs.

You may have a couple of libs or dependencies missing.

Thanks for the report.

Hm, interesting. The error messages could point to everything. Isn't the first error that a lib cannot be loaded? Maybe your svn is corrupted or has downloaded incomplete. The lib repository is pretty big.

The vc14 libs are correct for VS 2017. I have just today compiled a branch with the newest lib versions with VS 2017 under Windows 7. So it's not the libs and not VS from what i can say.

My guess is that you miss some things that you need to install at your PC first. For example, you need both Python versions, 2.7 and 3.6 (should also work with 3.7). Just curious, does Cmake run fine and error free?

Draise already pointed to the Bforartists tutorial. It's made for Bforartists 1 and VS 2013. But should work similar with VS 2017. You could also look for a Blender tutorial. Everything works pretty similar.

Just to be sure, switching to master, and compiling it at the moment ...

ARGH!

Okay, i can reproduce the problem. But we cannot fix it. The cause is the new Blender libs. It seems that one of it is not longer compatible with our old Bforartists version 1 in the master. FFmpeg i guess.

This is a bad situation for us. The master should always compile. But we are dependant of the Blender libs. And they prepare everything for Blender 2.8 now. Well, it was to foresee that Blender 2.8 comes sooner or later to Bforartists too. But i didn't think of that way, and not so quick ^^

I could upload the old vs 2013 libs. Blender has already deleted them from their svn. I have them still around. But this chapter is closed. And i am not really happy to reopen it. And the libs are huge.

Hm, in Git you could go back to a previous commit. But i have no idea if this is even possible with the svn repository. That would be a possible solution too. The previous versions works, i have compiled the master last week with the previous vs14 libs.

Let me sleep a night over this, and then let's decide what to do. We could for example merge our sync blender branch into the master. This one compiles fine, but has already a few Blender 2.8 flaws. Blender did quite a few modifications at the master, which still is 2,79 line. See this bug here: https://github.com/Bforartists/Bforartists/issues/250

You could try to compile the sync_blender_master branch instead of the master.

I have now merged the sync_blender_master branch into our master. That's the branch where we merge the newest Blender code regularly in our code.

This ends the old Bforartists 1.0.0 line. Everything from now on is Bforartists 2 preparation and development.

Checked, and compiled with blender_full.cmake settings and cuda at Windows 7 64 bit with VS 17 and the newest libs, and it compiles and the binary works without visible errors.

Warning! Don't compile with Jack. Jack is not longer available . Blender devs have removed it. But the blender_full.cmake in the build_files/cmake/config folder still lists it as on required.

And you can ignore the warning about Cuda in Cmake. I have compiled it with the newest Cuda version 9.2, which throws an error in the cmake configuration. 9.0 is the latest official supported version. It compiles fine though, and Cuda works in Bforartists.

Issue should be resolved now by this merge. Closing.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ReinerBforartists picture ReinerBforartists  路  4Comments

ReinerBforartists picture ReinerBforartists  路  6Comments

iyadahmed picture iyadahmed  路  6Comments

iyadahmed picture iyadahmed  路  7Comments

ReinerBforartists picture ReinerBforartists  路  5Comments