[sldev] lscript_compile error

Marine Kelley marinekelley at gmail.com
Sun Apr 6 12:56:20 PDT 2008


hi, in order to run the viewer as standalone (ie not from VC2005 but by
clicking the executable itself) you need to copy :
- app_settings folder
- characters folder
- fonts folder
- skins folder
- fmod.dll
- featuretable.txt
- gpu_table.txt
in your ReleaseForDownload or ReleaseNoOpt folder and you're all set.

Marine

2008/4/6, Ajinkya Kale <kaleajinkya at gmail.com>:
>
> I did copy fmod.dll to the ReleaseNoOpt and ReleaseForDownload
> directories . It gives me the following error message box :
>
> ERROR: LLAlertDialogue::parseAlerts:Problem reading UI Alerts file:
> alerts.xml
>
>
> On Sun, Apr 6, 2008 at 12:33 PM, Evan Wong <evan.wong at ieee.org> wrote:
> > fmod.dll was copied for me automatically into the newview\ReleaseNoOpt
> > directory when I built it on Visual Studio with ReleaseNoOpt
> configuration.
> > If it didn't for you, try copying it into the newview\ReleaseNoOpt
> > directory.
> >
> > Regards,
> > Evan
> >
> >
> >
> > On Mon, Apr 7, 2008 at 3:30 AM, Ajinkya Kale <kaleajinkya at gmail.com>
> wrote:
> > > Do I need the fmod.dll in the newview\ReleaseNoOpt or
> > > newview\ReleaseForDownload Directories too ?
> > >
> > >
> > >
> > >
> > > On Sun, Apr 6, 2008 at 12:25 PM, Ajinkya Kale <kaleajinkya at gmail.com>
> > wrote:
> > > > I have already copied fmod.dll to the newview directory.
>
> > > >
> > > >
> > > >
> > > >  On Sun, Apr 6, 2008 at 12:22 PM, Evan Wong <evan.wong at ieee.org>
> wrote:
> > > >  > Hi Ajinkya,
> > > >  >
> > > >  > You probably need fmod copied to the directory. Refer to
> > > >  >
> >
> https://wiki.secondlife.com/wiki/Compiling_the_viewer_%28MSVS2005%29#Fmod
> > > >  >
> > > >  > Regards,
> > > >  > Evan
> > > >  >
> > > >  >
> > > >  >
> > > >  > On Mon, Apr 7, 2008 at 3:13 AM, Ajinkya Kale <
> kaleajinkya at gmail.com>
> > wrote:
> > > >  > >
> > > >  > >
> > > >  > >
> > > >  > > Finally finally finally.....The viewer was built successfully
> !!
> > The
> > > >  > > "Converting files for MSVS2005" link (
> > > >  > >
> > https://wiki.secondlife.com/wiki/Converting_project_files_for_MSVS2005
> > > >  > > ) helped. Phew !!
> > > >  > >
> > > >  > > But when I try to run the newview.exe it gives me an error
> prompt :
> > > >  > >
> > > >  > > " This application has failed to start because fmod.dll was not
> > found.
> > > >  > > Re-installing the application may fix this problem. "
> > > >  > >
> > > >  > > Any suggestions ?
> > > >  > >
> > > >  > >
> > > >  > >
> > > >  > >
> > > >  > >
> > > >  > >
> > > >  > >
> > > >  > > On Sun, Apr 6, 2008 at 5:02 AM, Ajinkya Kale
> > <kaleajinkya at gmail.com>
> > > >  > wrote:
> > > >  > > > I didnt understand which cache and relog are you talking of ?
> Can
> > you
> > > >  > > >  clarify a bit more ?
> > > >  > > >
> > > >  > > >  Thanks.
> > > >  > > >
> > > >  > > >
> > > >  > > >
> > > >  > > >  On Sun, Apr 6, 2008 at 4:09 AM, Marine Kelley
> > <marinekelley at gmail.com>
> > > >  > wrote:
> > > >  > > >  > Perhaps you have put C:\Cygwin\bin before the VC bin
> > directory...
> > > >  > which
> > > >  > > >  > means VC tries to link using the cygwin link.exe instead
> of
> > its own.
> > > >  > Try to
> > > >  > > >  > change the order of the paths in your Path variable in VC.
> > > >  > > >  >
> > > >  > > >  > Hope this helps
> > > >  > > >  >
> > > >  > > >  >
> > > >  > > >  >
> > > >  > > >  > 2008/4/6, Ajinkya Kale <kaleajinkya at gmail.com>:
> > > >  > > >  > > Ok. So now what i did is I added C:\cygwin\bin to the
> VC++
> > > >  > > >  > > Directories\Executable Files\   list. And I rebuilt the
> > > >  > > >  > > lscript_compile and lscript_compile_fb_vc8 projects.
> They
> > were
> > > >  > built
> > > >  > > >  > > successfully without any errors.
> > > >  > > >  > >
> > > >  > > >  > > But now when i try to Build newview I get the following
> > error :
> > > >  > > >  > >
> > > >  > > >  > >
> > > >  > > >  > > 1>------ Build started: Project: newview, Configuration:
> > > >  > > >  > > ReleaseForDownload Win32 ------
> > > >  > > >  > > 1>Executing pre-build batch file
> > > >  > > >  > > 1>PREBUILD SUCCESSFUL
> > > >  > > >  > > 1>Linking...
> > > >  > > >  > >
> > > >  > > >  > > 1>link: extra operand `/ERRORREPORT:PROMPT'
> > > >  > > >  > > 1>Try `link --help' for more information.
> > > >  > > >  > > 1>Project : error PRJ0002 : Error result 1 returned from
> > > >  > > >  > > 'C:\cygwin\bin\link.exe'.
> > > >  > > >  > >
> > > >  > > >  > > 1>Build log was saved at "file://h:\SL Open source
> > > >  > > >  > >
> > > >  > > >  > >
> > > >  > > >  >
> > > >  >
> >
> codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\newview\ReleaseForDownload\BuildLog.htm"
> > > >  > > >  > > 1>newview - 1 error(s), 0 warning(s)
> > > >  > > >  > > ========== Build: 0 succeeded, 1 failed, 21 up-to-date,
> 0
> > skipped
> > > >  > > >  > ==========
> > > >  > > >  > >
> > > >  > > >  > >
> > > >  > > >  > >
> > > >  > > >  > > Waiting for your suggestions.
> > > >  > > >  > >
> > > >  > > >  > >
> > > >  > > >  > > On Sun, Apr 6, 2008 at 3:57 AM, Marine Kelley
> > > >  > <marinekelley at gmail.com>
> > > >  > > >  > wrote:
> > > >  > > >  > > > It seems your bison.exe and mv.exe files are not in
> any of
> > the
> > > >  > paths
> > > >  > > >  > you've
> > > >  > > >  > > > provided to VC.
> > > >  > > >  > > >
> > > >  > > >  > > >
> > > >  > > >  > > >
> > > >  > > >  > > > 2008/4/6, Ajinkya Kale <kaleajinkya at gmail.com>:
> > > >  > > >  > > > > When I try to recompile lscript_compile and
> > > >  > lscript_compile_fb_vc8 I
> > > >  > > >  > > > > get the following errors :
> > > >  > > >  > > > >
> > > >  > > >  > > > > 1>------ Rebuild All started: Project:
> > lscript_compile_fb_vc8,
> > > >  > > >  > > > > Configuration: Release Win32 ------
> > > >  > > >  > > > > 1>Deleting intermediate and output files for project
> > > >  > > >  > > > > 'lscript_compile_fb_vc8', configuration
> 'Release|Win32'
> > > >  > > >  > > > > 2>------ Rebuild All started: Project:
> lscript_library,
> > > >  > Configuration:
> > > >  > > >  > > > > Release Win32 ------
> > > >  > > >  > > > > 2>Deleting intermediate and output files for project
> > > >  > > >  > > > > 'lscript_library', configuration 'Release|Win32'
> > > >  > > >  > > > > 1>Building ytab.cpp
> > > >  > > >  > > > > 2>Compiling...
> > > >  > > >  > > > > 2>lscript_library.cpp
> > > >  > > >  > > > > 1>'bison.exe' is not recognized as an internal or
> > external
> > > >  > command,
> > > >  > > >  > > > > 1>operable program or batch file.
> > > >  > > >  > > > > 1>'mv.exe' is not recognized as an internal or
> external
> > > >  > command,
> > > >  > > >  > > > > 1>operable program or batch file.
> > > >  > > >  > > > > 1>Project : error PRJ0019: A tool returned an error
> code
> > from
> > > >  > > >  > > > > "Building ytab.cpp"
> > > >  > > >  > > > > 2>lscript_export.cpp
> > > >  > > >  > > > > 2>lscript_alloc.cpp
> > > >  > > >  > > > > 2>Generating Code...
> > > >  > > >  > > > >
> > > >  > > >  > > > > 1>Build log was saved at "file://h:\SL Open source
> > > >  > > >  > > > >
> > > >  > > >  > > > >
> > > >  > > >  > > >
> > > >  > > >  >
> > > >  >
> >
> codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\lscript\lscript_compile\Release_fb\BuildLog.htm"
> > > >  > > >  > > > > 1>lscript_compile_fb_vc8 - 1 error(s), 0 warning(s)
> > > >  > > >  > > > > 2>Creating library...
> > > >  > > >  > > > >
> > > >  > > >  > > > > 2>Build log was saved at "file://h:\SL Open source
> > > >  > > >  > > > >
> > > >  > > >  > > > >
> > > >  > > >  > > >
> > > >  > > >  >
> > > >  >
> >
> codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\lscript\lscript_library\Release\BuildLog.htm"
> > > >  > > >  > > > > 2>lscript_library - 0 error(s), 0 warning(s)
> > > >  > > >  > > > > 3>------ Rebuild All started: Project:
> lscript_compile,
> > > >  > Configuration:
> > > >  > > >  > > > > Release Win32 ------
> > > >  > > >  > > > > 3>Deleting intermediate and output files for project
> > > >  > > >  > > > > 'lscript_compile', configuration 'Release|Win32'
> > > >  > > >  > > > > 3>Compiling...
> > > >  > > >  > > > > 3>lscript_typecheck.cpp
> > > >  > > >  > > > > 3>lscript_tree.cpp
> > > >  > > >  > > > > 3>lscript_scope.cpp
> > > >  > > >  > > > > 3>lscript_resource.cpp
> > > >  > > >  > > > > 3>lscript_heap.cpp
> > > >  > > >  > > > > 3>lscript_error.cpp
> > > >  > > >  > > > > 3>lscript_bytecode.cpp
> > > >  > > >  > > > > 3>lscript_alloc.cpp
> > > >  > > >  > > > > 3>Generating Code...
> > > >  > > >  > > > > 3>Creating library...
> > > >  > > >  > > > >
> > > >  > > >  > > > > 3>Build log was saved at "file://h:\SL Open source
> > > >  > > >  > > > >
> > > >  > > >  > > > >
> > > >  > > >  > > >
> > > >  > > >  >
> > > >  >
> >
> codes\slviewer-src-Branch_1-19-0-Viewer-r80803\linden\indra\lscript\lscript_compile\Release\BuildLog.htm"
> > > >  > > >  > > > > 3>lscript_compile - 0 error(s), 0 warning(s)
> > > >  > > >  > > > > ========== Rebuild All: 2 succeeded, 1 failed, 0
> skipped
> > > >  > ==========
> > > >  > > >  > > > >
> > > >  > > >  > > > > I have also separated the commanline in the
> properties
> > of
> > > >  > indra.y.
> > > >  > > >  > > > > Still no success :(
> > > >  > > >  > > > >
> > > >  > > >  > > > > Waiting for your suggestions.
> > > >  > > >  > > > >
> > > >  > > >  > > > >
> > > >  > > >  > > > > On Sun, Apr 6, 2008 at 3:25 AM, Marine Kelley
> > > >  > <marinekelley at gmail.com>
> > > >  > > >  > > > wrote:
> > > >  > > >  > > > > > Hi, I'm not sure but when I get link error from
> obj
> > files I
> > > >  > am sure
> > > >  > > >  > I
> > > >  > > >  > > > have
> > > >  > > >  > > > > > already compile, I rebuild the projects they are
> > issued from
> > > >  > (or at
> > > >  > > >  > > > least I
> > > >  > > >  > > > > > recompile their cpp files). Most of the time it is
> due
> > to a
> > > >  > VC
> > > >  > > >  > problem,
> > > >  > > >  > > > > > corrupting obj files.
> > > >  > > >  > > > > >
> > > >  > > >  > > > > > Marine
> > > >  > > >  > > > > >
> > > >  > > >  > > > > > 2008/4/6, Ajinkya Kale <kaleajinkya at gmail.com>:
> > > >  > > >  > > > > > > Hi,
> > > >  > > >  > > > > > >
> > > >  > > >  > > > > > > Can anyone please suggest me any work around for
> the
> > > >  > > >  > > > > > > llcompilequeue.obj and llpreviewscript.obj
> errors ?
> > I am
> > > >  > not able
> > > >  > > >  > to
> > > >  > > >  > > > > > > compile the viewer due to these errors.
> > > >  > > >  > > > > > >
> > > >  > > >  > > > > >
> > > >  > > >  > > > > >
> > > >  > > >  > > > >
> > > >  > > >  > > > >
> > > >  > > >  > > > >
> > > >  > > >  > > > >
> > > >  > > >  > > > > --
> > > >  > > >  > > > > Ciao,
> > > >  > > >  > > > >
> > > >  > > >  > > > > Ajinkya
> > > >  > > >  > > > >
> > > >  > > >  > > >
> > > >  > > >  > > >
> > > >  > > >  > >
> > > >  > > >  > >
> > > >  > > >  > >
> > > >  > > >  > >
> > > >  > > >  > > --
> > > >  > > >  > > Ciao,
> > > >  > > >  > >
> > > >  > > >  > > Ajinkya
> > > >  > > >  > >
> > > >  > > >  >
> > > >  > > >  >
> > > >  > > >
> > > >  > > >
> > > >  > > >
> > > >  > > >  --
> > > >  > > >  Ciao,
> > > >  > > >  Ajinkya
> > > >  > > >
> > > >  > >
> > > >  > >
> > > >  > >
> > > >  > > --
> > > >  > > Ciao,
> > > >  > > Ajinkya
> > > >  > > _______________________________________________
> > > >  > > Click here to unsubscribe or manage your list subscription:
> > > >  > >
> > > >  > > /index.html
> > > >  > >
> > > >  >
> > > >  >
> > > >  > _______________________________________________
> > > >  >  Click here to unsubscribe or manage your list subscription:
> > > >  >  /index.html
> > > >  >
> > > >  >
> > > >
> > > >
> > > >
> > > >  --
> > > >  Ciao,
> > > >  Ajinkya
> > > >
> > >
> > >
> > >
> > > --
> > > Ciao,
> > > Ajinkya
> > >
> >
> >
>
>
>
> --
> Ciao,
> Ajinkya
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20080406/7c8cec93/attachment-0001.htm


More information about the SLDev mailing list