mass error compiling in recent updates

Discussion and help for Compilation problems and platform portability.

Moderator: coordinators

Re: mass error compiling in recent updates

Postby bat3a » Mon Jan 23, 2012 11:16 pm

hi

i got these 2 errors on both x86 and x64 compiling from the last week updates:
Code: Select all
Error   31   error LNK2001: unresolved external symbol "public: __cdecl lux::ParallelHashGrid::ParallelHashGrid(class lux::HitPoints *,float)" (??0ParallelHashGrid@lux@@QEAA@PEAVHitPoints@1@M@Z)   hitpoints.obj   pylux3
Error   32   fatal error LNK1120: 1 unresolved externals   z:\Development\luxrender\windows\Projects\luxrender\x64\Release\python3\pylux.pyd   1   pylux3


should i rebuild all the dependencies or is this a bug?
bat3a
 
Posts: 50
Joined: Fri Jul 09, 2010 8:21 am

Re: mass error compiling in recent updates

Postby Lord Crc » Tue Jan 24, 2012 5:28 am

Looks like the project files needs to be updated, sorry about that, I'll get to it today.
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4460
Joined: Sat Nov 17, 2007 2:10 pm

Re: mass error compiling in recent updates

Postby bat3a » Wed Jan 25, 2012 12:19 pm

Code: Select all
I'll get to it today.

thanks.
bat3a
 
Posts: 50
Joined: Fri Jul 09, 2010 8:21 am

Re: mass error compiling in recent updates

Postby Lord Crc » Wed Jan 25, 2012 7:59 pm

Sorry for the delay, try now.
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4460
Joined: Sat Nov 17, 2007 2:10 pm

Re: mass error compiling in recent updates

Postby bat3a » Wed Jan 25, 2012 8:57 pm

hi
i tried to compile but got this, should i rebuild the dependencies :

Code: Select all
Error   47   error LNK2001: unresolved external symbol "public: __cdecl lux::ParallelHashGrid::ParallelHashGrid(class lux::HitPoints *,float)" (??0ParallelHashGrid@lux@@QEAA@PEAVHitPoints@1@M@Z)   hitpoints.obj   pylux3
Error   48   fatal error LNK1120: 1 unresolved externals   z:\Development\luxrender\windows\Projects\luxrender\x64\Release\python3\pylux.pyd   1   pylux3
bat3a
 
Posts: 50
Joined: Fri Jul 09, 2010 8:21 am

Re: mass error compiling in recent updates

Postby Lord Crc » Thu Jan 26, 2012 5:44 am

You did pull and update? Try rebuilding liblux. The "missing" file should be there, under liblux\renderers\sppm\parallelhashgrid.cpp

I've updated the vs2010 branch in case you're using it instead.
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4460
Joined: Sat Nov 17, 2007 2:10 pm

Re: mass error compiling in recent updates

Postby bat3a » Thu Jan 26, 2012 6:33 pm

no man, although liblux builds without error i still got the same error!

i'll try after update.
bat3a
 
Posts: 50
Joined: Fri Jul 09, 2010 8:21 am

Re: mass error compiling in recent updates

Postby bat3a » Thu Jan 26, 2012 6:44 pm

ok i tested after the update and it compiles thanks.
bat3a
 
Posts: 50
Joined: Fri Jul 09, 2010 8:21 am

Re: mass error compiling in recent updates

Postby bat3a » Mon Apr 16, 2012 4:12 pm

hi, i tried to build with today's update and i get an error:

Code: Select all
1>------ Build started: Project: liblux, Configuration: Release x64 ------
1>Compiling...
1>vegas.cpp
1>tilepx.cpp
1>lowdiscrepancypx.cpp
1>linear.cpp
1>hilbertpx.cpp
1>schlickbsdf.cpp
1>layeredbsdf.cpp
1>bxdf.cpp
1>volume.cpp
1>transport.cpp
1>scene.cpp
1>sampling.cpp
1>renderinghints.cpp
1>renderfarm.cpp
1>photonmap.cpp
1>imagereader.cpp
1>film.cpp
1>..\..\..\lux\core\imagereader.cpp(206) : error C2039: 'string' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'
1>        with
1>        [
1>            _Elem=char,
1>            _Traits=std::char_traits<char>,
1>            _Ax=std::allocator<char>
1>        ]
1>contribution.cpp
1>context.cpp
1>camera.cpp
1>homogeneous.cpp
1>z:\development\luxrender\deps\x64\freeimage3141\freeimage\source\libtiff\tif_config.h(156) : warning C4005: 'HAVE_STDLIB_H' : macro redefinition
1>        z:\development\luxrender\deps\x64\freeimage3141\freeimage\source\libjpeg\jconfig.h(12) : see previous definition of 'HAVE_STDLIB_H'
1>clearvolume.cpp
1>harlequin.cpp
1>checkerboard.cpp
1>random.cpp
1>metrosampler.cpp
1>lowdiscrepancy.cpp
1>erpt.cpp
1>sppmstatistics.cpp
1>samplerstatistics.cpp
1>hybridsamplerstatistics.cpp
1>photonsampler.cpp
1>parallelhashgrid.cpp
1>lookupaccel.cpp
1>kdtree.cpp
1>hybridhashgrid.cpp
1>hitpoints.cpp
1>hashgrid.cpp
1>sppmrenderer.cpp
1>samplerrenderer.cpp
1>hybridsamplerrenderer.cpp
1>hybridrenderer.cpp
1>sun.cpp
1>spot.cpp
1>sky.cpp
1>projection.cpp
1>pointlight.cpp
1>infinitesample.cpp
1>infinite.cpp
1>distant.cpp
1>area.cpp
1>sppm.cpp
1>single.cpp
1>path.cpp
1>multi.cpp
1>igi.cpp
1>exphotonmap.cpp
1>emission.cpp
1>distributedpath.cpp
1>directlighting.cpp
1>bidirectional.cpp
1>realistic.cpp
1>perspective.cpp
1>orthographic.cpp
1>environment.cpp
1>fleximage.cpp
1>Build log was saved at "file://z:\Development\luxrender\windows\Projects\luxrender\BuildTemp\liblux\x64\Release\BuildLog.htm"
1>liblux - 1 error(s), 1 warning(s)
2>------ Build started: Project: pylux3, Configuration: Release x64 ------
2>Linking...
2>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-1_43.lib'
2>Build log was saved at "file://z:\Development\luxrender\windows\Projects\luxrender\BuildTemp\pylux3\x64\Release\BuildLog.htm"
2>pylux3 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 2 up-to-date, 0 skipped ==========


that is for the x64 and the x86 too, is this a bug?
bat3a
 
Posts: 50
Joined: Fri Jul 09, 2010 8:21 am

Re: mass error compiling in recent updates

Postby Lord Crc » Mon Apr 16, 2012 4:25 pm

We've updated to boost 1.47, seems your environment variables still point to 1.43? Have you updated the project files correctly?

edit: also the lib dir for boost has been changed from "stage\boost\lib" to just "stage\lib"
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4460
Joined: Sat Nov 17, 2007 2:10 pm

PreviousNext

Return to Compilation & Portability

Who is online

Users browsing this forum: No registered users and 2 guests