[impdev] compiling imprudence with Visual Studio 2010

David Seikel onefang at gmail.com
Tue Jun 4 19:25:59 PDT 2013


On Wed, 5 Jun 2013 02:49:54 +0200 Aragorn Arda <aragornarda at gmail.com>
wrote:

> sorry I took a while to answer, I was only able to get back to this
> now. ok I just tried once more and here are the steps I took and the
> output I got:
> 
> 1) open visual studio 2010, open Tools -> Visual Studio Command Prompt
> 
> 2) cd C:\Users\[my username]\imprudence\linden\indra
> 
> 3) python develop.py -G vc100 --unattended configure
>  -DUSE_PRECOMPILED_HEADERS:BOOL=ON -DLL_TESTS=OFF -DPACKAGE:BOOL=ON
> 
> -> cmake warning: manually specified variables were not used by the
> project: DL_TESTS USE_PRECOMPILED_HEADERS

You don't need these variables, and they are getting ignored anyway.

> -- Build files have been written...
> 
> 4) build-vc100\Imprudence.sln
> 
> 5) entry Release, Win32;
> 
> imprudence-bin -> set as startup project;
> 
> imprudence-bin -> properties -> configuration properties -> debugging,
> change working directory to $(Project)/../../../newview -> OK
> 
> 6) Build solution.
> 
> 
> Results of the build are attached.

llmaterialtable.obj : warning LNK4006: "class LLUUID const
LL_DEFAULT_STONE_UUID" (?LL_DEFAULT_STONE_UUID@@3VLLUUID@@B) already
defined in material_codes.obj; second definition ignored
llmaterialtable.obj : warning LNK4006: "class LLUUID const
LL_DEFAULT_LIGHT_UUID" (?LL_DEFAULT_LIGHT_UUID@@3VLLUUID@@B) already
defined in material_codes.obj; second definition ignored
llmaterialtable.obj : warning LNK4006: "class LLUUID const
LL_DEFAULT_METAL_UUID" (?LL_DEFAULT_METAL_UUID@@3VLLUUID@@B) already
defined in material_codes.obj; second definition ignored
llmaterialtable.obj : warning LNK4006: "class LLUUID const
LL_DEFAULT_WOOD_UUID" (?LL_DEFAULT_WOOD_UUID@@3VLLUUID@@B) already
defined in material_codes.obj; second definition ignored
llmaterialtable.obj : warning LNK4006: "class LLUUID const
LL_DEFAULT_GLASS_UUID" (?LL_DEFAULT_GLASS_UUID@@3VLLUUID@@B) already
defined in material_codes.obj; second definition ignored
llmaterialtable.obj : warning LNK4006: "class LLUUID const
LL_DEFAULT_PLASTIC_UUID" (?LL_DEFAULT_PLASTIC_UUID@@3VLLUUID@@B)
already defined in material_codes.obj; second definition ignored
llmaterialtable.obj : warning LNK4006: "class LLUUID const
LL_DEFAULT_RUBBER_UUID" (?LL_DEFAULT_RUBBER_UUID@@3VLLUUID@@B) already
defined in material_codes.obj; second definition ignored
llmaterialtable.obj : warning LNK4006: "class LLUUID const
LL_DEFAULT_FLESH_UUID" (?LL_DEFAULT_FLESH_UUID@@3VLLUUID@@B) already
defined in material_codes.obj; second definition ignored

Hmm, thought I fixed that.  Are you using the latest from the "next"
branch?

  Option: version = ['1', '4', '0', '3-beta-2']

Nope, that's not the latest.  It should be ['1', '4', '0', '3-exp-1']

Most of the rest seem to be three problems, though solving those might
uncover more.  One is the iterator one Nicky mentioned a fix for.  The
other looks like VS 2010 changed the definitions for some of the
international text types.  Also looks like some boost library issue,
but there's always issues with boost.  I'd sort out the other problems
first, then see if the boost errors are still there.


> 
> 2013/5/31 David Seikel <onefang at gmail.com>
> 
> > On Thu, 30 May 2013 15:58:44 -0700 (PDT) Nicky Perian
> > <nickyperian at yahoo.com> wrote:
> >
> > > In theory if you have the imprudence repository you should be
> > > able to build by replacing singularity.sln with imprudence.sln. I
> > > have been on kokua and have not built imprudence and a very long
> > > time. Send a build log and Ill try to help.
> > >
> > >
> > >
> > > >________________________________
> > > > From: Aragorn Arda <aragornarda at gmail.com>
> > > >To: Nicky Perian <nickyperian at yahoo.com>
> > > >Sent: Thursday, May 30, 2013 5:02 PM
> > > >Subject: compiling imprudence with Visual Studio 2010
> > > >
> > > >
> > > >
> > > >Hey Nicky, is your
> > > >page http://wiki.kokuaviewer.org/wiki/User:Nicky_Perian still
> > > >valid? Is it still possible to compile imprudence viewer like
> > > >this in Visual Studio 2010? Do I have to use your repository?
> > > >I'm not having much success compiling it, I'm getting
> > > >unsuccessfull builds. Is it possible to compile with FMODeX
> > > >instead of FMOD? I had no trouble at all compiling the
> > > >Singularity viewer with VS2010 following these instructions:
> > > >http://www.singularityviewer.org/kb/build-windows, and those use
> > > >FMODeX...
> >
> > What are the errors you are getting Aragorn?
> >
> > I use https://github.com/onefang/ImpyReleaseBuilder a script I made
> > to create Imprudence releases completely automatically.  It's a
> > Linux script that uses virtual machines and feeds them commands via
> > serial parts or ssh.  You can see the Windows build commands I feed
> > to XP starting at line 84 (Cygwin commands).  That might help you,
> > though my setup uses VS2008, but it should detect VS2010
> > automatically.
> >
> > Lines 104 to 108 are the important ones.  The PATH and export lines
> > will need to be adjusted to suit, they are hard coded for my setup.
> > I'm still working on autodetecting those.
> >
> > --
> > A big old stinking pile of genius that no one wants
> > coz there are too many silver coated monkeys in the world.
> >


-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.imprudenceviewer.org/pipermail/impdev-imprudenceviewer.org/attachments/20130605/b7422028/attachment-0002.pgp>


More information about the ImpDev mailing list