Page 1 of 1

build afanasy...........

Posted: Fri Aug 24, 2018 7:59 am
by wangziheng0426
i have found win_build_msvc.cmd . change the qt dir to "C:\Qt\Qt5.11.1\5.11.1\msvc2017_64" then i run this script .it tells me could Not find PostgreSQL(missing:PostgreSQL_LIBRARY)(found version "10.5")
do i need to install an older version of PostgreSQL?
the end lines shows:
--Qt version 5.11.1
--configuring done
--generating done
--build files have benn written to:e://dev_j/cgru/cgru/afanasy/src/project.cmake

is this success?
but.....i still do not understand what to do next ......please do help me

Re: build afanasy...........

Posted: Fri Aug 24, 2018 9:28 am
by timurhai
You can build Afanasy even w/o any PostgreSQL.
SQL needed for server to store statistics only.

win_build_msvc.cmd runs CMake to generate afanasy.sln for Visual Studio.
After successful generation you should open this file in a Visual Studio and build solution.

Why are you building Afanasy for Windows? You can always download Windows binaries of the latest release.

Re: build afanasy...........

Posted: Wed Aug 29, 2018 12:29 pm
by wangziheng0426
thanks for reply
i will try .

i use to work with windows and deadline .
but i fell deadline has too many things i do not need .then i have an idea that make a render farm myself.
i searched many open source render farm soft ware ,afanasy is the best one .
so i want to know how afanasy works.
Thank you for your sharing ur code~~ :D