Problem building blender batch app


hi
on win7, 64bit , try build azure batch app blender, based on :
https: /github.com/azure/azure-batch-apps.blender

it tells me install
visual studio (done)
microsoft azure batch apps cloud sdk (done)
python tools visual studio (done)
azure batch apps python client , it's required packages (problem)

when try build solution several warnings , errors (first 2):

warning    1    could not resolve reference. not locate assembly "microsoft.azure.batch.apps.cloud". check make sure assembly exists on disk. if reference required code, may compilation errors.    blender.cloud
error    2    the type or namespace name 'azure' not exist in namespace 'microsoft' (are missing assembly reference?)    c:\users\arnd\desktop\blender.cloud\applicationdefinition.cs    31    17    blender.cloud

the next 20 errors bascially repeat number 2.

i did a 
py -3.4 -m pip install azure-batch-apps
on python installation , worked fine, azure-batch-app should "installed".

i see "azure_batch_apps-0.3.0-py3.4.egg-info" in /lib/site-packages folder of python install.

could me problem?

general remark:
blender-users usually, me, no programmers or informatic-nerds, 3d-artists.
never used visualstudio , other prerequistes update on blender python environement client-addon running.
of way beyond expertise , despise have stuff.

if offer such service should think target audience, using app "batched".

i invested 20h in last 3 days thing running. think should job that, is, provide compiled , working file download , install.

anyway, can provide.

hello,

i apologize late response.

to start with, there pre-compiled zip included github release, don't need build components in vs unless wish alter code. amend readme let people know.

you can find release (blendersample-v0.1.0.zip) under releases tab on github page.

to address actual error - because vs unable find batch apps cloud sdk. can search , install right-clicking project in vs , selecting "manage nuget packages". should prompted allow nuget resolve package reference.

this cloud sdk reference required building assemblies, , not necessary blender addon code.

and finally, regards contents of lib\site-packages, should contain number of subfolders including requests, batchapps, requests-oauthlib, keying (and egg-info package mentioned). important part these packages make blender installation. can done single command, or can copy these folders pythons lib\site-packages blenders lib\site-packages (see example path below).

try running following administrator command line (where path blender need replaced blender installation location):

pip.exe install --target "c:\program files\blender foundation\blender 2.7\2.7\python\lib\site-packages" azure-batch-apps

this command should put dependencies in right place.

please let me know if have further questions, or if can help more :)

regards,

anna



Microsoft Azure  >  Azure Batch



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

Catalog Staging

How to Share webservice object to all user