i updated repositories only.Have you updated the project files correctly
i'll re-download, re-extract the deps and compile again (if Allah wishes) then i'll report, thanks.
Moderator: coordinators
i updated repositories only.Have you updated the project files correctly
1>------ Build started: Project: liblux, Configuration: Release Win32 ------
2>------ Build started: Project: smallluxgpu, Configuration: Release Win32 ------
2>Linking...
1>Compiling...
1>rendererstatistics.cpp
1>sppmstatistics.cpp
1>samplerstatistics.cpp
1>hybridsamplerstatistics.cpp
1>Z:\Development\luxrender\deps\x86\boost_1_47_0\boost/bind/bind.hpp(1709) : error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>'
1> with
1> [
1> Pm=std::basic_string<char,std::char_traits<char>,std::allocator<char>> (lux::RendererStatistics::FormattedLong::* )(void),
1> I=1
1> ]
1> z:\Development\luxrender\lux\core\queryable\queryable.h(339) : see reference to class template instantiation 'boost::_bi::dm_result<Pm,A1>' being compiled
1> with
1> [
1> Pm=std::string (__thiscall lux::RendererStatistics::FormattedLong::* )(void),
1> A1=boost::reference_wrapper<lux::RendererStatistics::FormattedLong>
1> ]
1> z:\Development\luxrender\lux\core\queryable\queryable.h(181) : see reference to function template instantiation 'void lux::Queryable::AddAttrib<lux::QueryableStringAttribute,T,std::string>(T &,const std::string &,const std::string &,D (__thiscall lux::RendererStatistics::FormattedLong::* )(void),void (__thiscall lux::RendererStatistics::FormattedLong::* )(D))' being compiled
1> with
1> [
1> T=lux::RendererStatistics::FormattedLong,
1> D=std::string
1> ]
1> ..\..\..\lux\core\rendererstatistics.cpp(155) : see reference to function template instantiation 'void lux::AddStringAttribute<lux::RendererStatistics::FormattedLong>(T &,const std::string &,const std::string &,std::string (__thiscall lux::RendererStatistics::FormattedLong::* )(void),void (__thiscall lux::RendererStatistics::FormattedLong::* )(std::string))' being compiled
1> with
1> [
1> T=lux::RendererStatistics::FormattedLong
1> ]
1>samplerrenderer.cpp
1>Z:\Development\luxrender\deps\x86\boost_1_47_0\boost/bind/bind.hpp(1709) : error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>'
1> with
1> [
1> Pm=std::basic_string<char,std::char_traits<char>,std::allocator<char>> (lux::HSRStatistics::FormattedLong::* )(void),
1> I=1
1> ]
1> z:\Development\luxrender\lux\core\queryable\queryable.h(339) : see reference to class template instantiation 'boost::_bi::dm_result<Pm,A1>' being compiled
1> with
1> [
1> Pm=std::string (__thiscall lux::HSRStatistics::FormattedLong::* )(void),
1> A1=boost::reference_wrapper<lux::HSRStatistics::FormattedLong>
1> ]
1> z:\Development\luxrender\lux\core\queryable\queryable.h(181) : see reference to function template instantiation 'void lux::Queryable::AddAttrib<lux::QueryableStringAttribute,T,std::string>(T &,const std::string &,const std::string &,D (__thiscall lux::HSRStatistics::FormattedLong::* )(void),void (__thiscall lux::HSRStatistics::FormattedLong::* )(D))' being compiled
1> with
1> [
1> T=lux::HSRStatistics::FormattedLong,
1> D=std::string
1> ]
1> ..\..\..\lux\renderers\statistics\hybridsamplerstatistics.cpp(228) : see reference to function template instantiation 'void lux::AddStringAttribute<lux::HSRStatistics::FormattedLong>(T &,const std::string &,const std::string &,std::string (__thiscall lux::HSRStatistics::FormattedLong::* )(void),void (__thiscall lux::HSRStatistics::FormattedLong::* )(std::string))' being compiled
1> with
1> [
1> T=lux::HSRStatistics::FormattedLong
1> ]
1>Z:\Development\luxrender\deps\x86\boost_1_47_0\boost/bind/bind.hpp(1709) : error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>'
1> with
1> [
1> Pm=std::basic_string<char,std::char_traits<char>,std::allocator<char>> (lux::SRStatistics::FormattedLong::* )(void),
1> I=1
1> ]
1> z:\Development\luxrender\lux\core\queryable\queryable.h(339) : see reference to class template instantiation 'boost::_bi::dm_result<Pm,A1>' being compiled
1> with
1> [
1> Pm=std::string (__thiscall lux::SRStatistics::FormattedLong::* )(void),
1> A1=boost::reference_wrapper<lux::SRStatistics::FormattedLong>
1> ]
1> z:\Development\luxrender\lux\core\queryable\queryable.h(181) : see reference to function template instantiation 'void lux::Queryable::AddAttrib<lux::QueryableStringAttribute,T,std::string>(T &,const std::string &,const std::string &,D (__thiscall lux::SRStatistics::FormattedLong::* )(void),void (__thiscall lux::SRStatistics::FormattedLong::* )(D))' being compiled
1> with
1> [
1> T=lux::SRStatistics::FormattedLong,
1> D=std::string
1> ]
1> ..\..\..\lux\renderers\statistics\samplerstatistics.cpp(213) : see reference to function template instantiation 'void lux::AddStringAttribute<lux::SRStatistics::FormattedLong>(T &,const std::string &,const std::string &,std::string (__thiscall lux::SRStatistics::FormattedLong::* )(void),void (__thiscall lux::SRStatistics::FormattedLong::* )(std::string))' being compiled
1> with
1> [
1> T=lux::SRStatistics::FormattedLong
1> ]
1>hybridsamplerrenderer.cpp
1>bidirectional.cpp
1>Z:\Development\luxrender\deps\x86\boost_1_47_0\boost/bind/bind.hpp(1709) : error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>'
1> with
1> [
1> Pm=std::basic_string<char,std::char_traits<char>,std::allocator<char>> (lux::SPPMRStatistics::FormattedLong::* )(void),
1> I=1
1> ]
1> z:\development\luxrender\lux\core\queryable\queryable.h(339) : see reference to class template instantiation 'boost::_bi::dm_result<Pm,A1>' being compiled
1> with
1> [
1> Pm=std::string (__thiscall lux::SPPMRStatistics::FormattedLong::* )(void),
1> A1=boost::reference_wrapper<lux::SPPMRStatistics::FormattedLong>
1> ]
1> z:\development\luxrender\lux\core\queryable\queryable.h(181) : see reference to function template instantiation 'void lux::Queryable::AddAttrib<lux::QueryableStringAttribute,T,std::string>(T &,const std::string &,const std::string &,D (__thiscall lux::SPPMRStatistics::FormattedLong::* )(void),void (__thiscall lux::SPPMRStatistics::FormattedLong::* )(D))' being compiled
1> with
1> [
1> T=lux::SPPMRStatistics::FormattedLong,
1> D=std::string
1> ]
1> ..\..\..\lux\renderers\statistics\sppmstatistics.cpp(124) : see reference to function template instantiation 'void lux::AddStringAttribute<lux::SPPMRStatistics::FormattedLong>(T &,const std::string &,const std::string &,std::string (__thiscall lux::SPPMRStatistics::FormattedLong::* )(void),void (__thiscall lux::SPPMRStatistics::FormattedLong::* )(std::string))' being compiled
1> with
1> [
1> T=lux::SPPMRStatistics::FormattedLong
1> ]
1>Build log was saved at "file://z:\Development\luxrender\windows\Projects\luxrender\BuildTemp\liblux\SSE2\Release\BuildLog.htm"
1>liblux - 4 error(s), 0 warning(s)
3>------ Build started: Project: pylux3, Configuration: Release Win32 ------
3>Linking...
3>LINK : fatal error LNK1181: cannot open input file 'liblux.lib'
3>Build log was saved at "file://z:\Development\luxrender\windows\Projects\luxrender\BuildTemp\pylux3\SSE2\Release\BuildLog.htm"
3>pylux3 - 1 error(s), 0 warning(s)
2>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-1_47.lib'
2>Build log was saved at "file://z:\Development\luxrender\windows\Projects\luxrays\BuildTemp\smallluxgpu\SSE2\Release\BuildLog.htm"
2>smallluxgpu - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 3 failed, 1 up-to-date, 0 skipped ==========
bat3a wrote:hi again
i re-downloaded the deps and extracted and compiled it OK, i pulled todays rev. then:
x64 compiles ok, but x86 does not compile and i get this error
AddStringAttribute(*this, "passCount", "Number of completed passes", &FL::getPassCount);
AddStringAttribute(*this, "passCount", "Number of completed passes", boost::mem_fn(&FL::getPassCount));

It seems the workaround is to wrap the offending parameter in a boost::mem_fn(), ie
Error 1 fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-1_47.lib' smallluxgpu
Error 2 error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>' Z:\Development\luxrender\deps\x86\boost_1_47_0\boost\bind\bind.hpp 1709
Error 3 error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>' Z:\Development\luxrender\deps\x86\boost_1_47_0\boost\bind\bind.hpp 1709
Error 4 error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>' Z:\Development\luxrender\deps\x86\boost_1_47_0\boost\bind\bind.hpp 1709
Error 5 error C2027: use of undefined type 'boost::_bi::add_cref<Pm,I>' Z:\Development\luxrender\deps\x86\boost_1_47_0\boost\bind\bind.hpp 1709
Error 6 fatal error LNK1181: cannot open input file 'liblux.lib' pylux3
Lord Crc wrote:However I'm curious why this is working for you Omniflux? Did you change any compiler settings?
bat3a wrote:in what file!


1>Compiling...
1>renderfarm.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\utility(44) : error C2512: 'lux::RenderFarm::CompiledFile::CompiledFile' : no appropriate default constructor available
1> C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\utility(43) : while compiling class template member function 'std::pair<_Ty1,_Ty2>::pair(void)'
1> with
1> [
1> _Ty1=std::string,
1> _Ty2=lux::RenderFarm::CompiledFile
1> ]
1> ..\..\..\lux\core\renderfarm.cpp(313) : see reference to class template instantiation 'std::pair<_Ty1,_Ty2>' being compiled
1> with
1> [
1> _Ty1=std::string,
1> _Ty2=lux::RenderFarm::CompiledFile
1> ]
1>Build log was saved at "file://z:\Development\luxrender\windows\Projects\luxrender\BuildTemp\liblux\x64\Release\BuildLog.htm"
1>liblux - 1 error(s), 0 warning(s)bat3a wrote:i pulled today and get this error on x86 and x64:[/code]
bat3a wrote:does building with cuda 4.2 work?

bat3a wrote:does building with cuda 4.2 work?

Return to Compilation & Portability
Users browsing this forum: No registered users and 0 guests