Re: Problems with compiling source (runcmake, autobuild)

Sebastian Andersson <[email protected]> Tue, 17 Jan 2012 14:29:43 +0100
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
--===============1660692708455278665==
Content-Type: multipart/alternative;
	boundary="_c096910a-1413-4090-832e-8587bbbceee7_"

--_c096910a-1413-4090-832e-8587bbbceee7_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable


After tons of tweeking I think I finally got it to work=2C and currently on=
ly get small errors (which might be easier to solve).

For anyone that get similar errors in the future=2C I solved it by further =
doing small changes in the utils.sh and vc8.sh files:

#@vc8.sh
#error: "build/vc8.sh: line 149: warning: here-document at line 149 delimit=
ed by end-of-file (wanted `EOP')"
#I rewrote the assign at that line to:
local BIN_FILE=3D`echo '$VCPROJ=3D\`cat $ARGV[2]\`=3B

    $Project =3D $ARGV[0]=3B

    $Config =3D $ARGV[1]=3B

    $VCPROJ =3D~ m/Name=3D"$Config".*?Name=3D"VCLinkerTool".*?OutputFile=3D=
"(.*?)"/sm=3B

    print $1=3B

    exit' |  perl - "$1" "$2\\|$3" $VCPROJ_FILE`


#@utils.sh
#line 42=2C changed to ( "$s2" to '$s2') :
    if [ `expr substr '$s2' 1 1` =3D=3D "/" ]=3B then

#in function vc90_get_targetpaths()=2C removed everything 64bit related=2C =
since I could not get that to work earlier
#in function vc90_build()=2C changed to use VCExpress.exe instead of devenv=
=2C and added VCExpress.exe to the path=2C (in my case: C:\Program Files (x=
86)\Microsoft Visual Studio 9.0\Common7\IDE)

And I think that was it.
-----------------------------
Now while calling autobuild I go thorough the steps and get stuck at the bu=
ilding of solutions stage=2C where I get the following errors (which may or=
 may not be "easier" to solve):

Utils project
1>------ Build started: Project: Utils=2C Configuration: Debug Win32 ------
1>Generating bison_getdate.cpp
1>Det g=E5r inte att hitta s=F6kv=E4gen.//Can not find path.
1>Project : error PRJ0019: A tool returned an error code from "Generating b=
ison_getdate.cpp"
1>Build log was saved at "file://c:\TortoiseCVS\build\vc9Win32\Utils\Utils.=
dir\Debug\BuildLog.htm"
1>Utils - 1 error(s)=2C 0 warning(s)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Build: 0 succeeded=2C 1 failed=2C 1 up-to-da=
te=2C 0 skipped =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

cvstree project

1>------ Build started: Project: cvstree=2C Configuration: Debug Win32 ----=
--
1>Generating bison_parser.cpp
1>Det g=E5r inte att hitta s=F6kv=E4gen.//Can not find path.
1>Project : error PRJ0019: A tool returned an error code from "Generating b=
ison_parser.cpp"
1>Build log was saved at "file://c:\TortoiseCVS\build\vc9Win32\cvstree\cvst=
ree.dir\Debug\BuildLog.htm"
1>cvstree - 1 error(s)=2C 0 warning(s)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Build: 0 succeeded=2C 1 failed=2C 1 up-to-da=
te=2C 0 skipped =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Also=2C the whole TortoiseAct project build:
4>Linking...
4>LINK : fatal error LNK1104: cannot open file '..\Utils\Debug\Utils.lib'

I do not understand what is wrong in this case=2C any tips would be warmly =
welcome!

Thanks!

Best regards=2C
Sebastian

 		 	   		  =

--_c096910a-1413-4090-832e-8587bbbceee7_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<style><!--
.hmmessage P
{
margin:0px=3B
padding:0px
}
body.hmmessage
{
font-size: 10pt=3B
font-family:Tahoma
}
--></style></head>
<body class=3D'hmmessage'><div dir=3D'ltr'>
After tons of tweeking I think I finally got it to work=2C and currently on=
ly get small errors (which might be easier to solve).<br><br>For anyone tha=
t get similar errors in the future=2C I solved it by further doing small ch=
anges in the utils.sh and vc8.sh files:<br><br>#@vc8.sh<br>#error: "build/v=
c8.sh: line 149: warning: here-document at line 149 delimited by end-of-fil=
e (wanted `EOP')"<br>#I rewrote the assign at that line to:<br>local BIN_FI=
LE=3D`echo '$VCPROJ=3D\`cat $ARGV[2]\`=3B<br>
&nbsp=3B&nbsp=3B&nbsp=3B $Project =3D $ARGV[0]=3B<br>
&nbsp=3B&nbsp=3B&nbsp=3B $Config =3D $ARGV[1]=3B<br>
&nbsp=3B&nbsp=3B&nbsp=3B $VCPROJ =3D~ m/Name=3D"$Config".*?Name=3D"VCLinker=
Tool".*?OutputFile=3D"(.*?)"/sm=3B<br>
&nbsp=3B&nbsp=3B&nbsp=3B print $1=3B<br>
&nbsp=3B&nbsp=3B&nbsp=3B exit' |&nbsp=3B perl - "$1" "$2\\|$3" $VCPROJ_FILE=
`<br><br><br>#@utils.sh<br>#line 42=2C changed to ( "$s2" to '$s2') :<br>&n=
bsp=3B&nbsp=3B&nbsp=3B if [ `expr substr '$s2' 1 1` =3D=3D "/" ]=3B then<br=
><br>#in function vc90_get_targetpaths()=2C removed everything 64bit relate=
d=2C since I could not get that to work earlier<br>#in function vc90_build(=
)=2C changed to use VCExpress.exe instead of devenv=2C and added VCExpress.=
exe to the path=2C (in my case: C:\Program Files (x86)\Microsoft Visual Stu=
dio 9.0\Common7\IDE)<br><br>And I think that was it.<br>-------------------=
----------<br>Now while calling autobuild I go thorough the steps and get s=
tuck at the building of solutions stage=2C where I get the following errors=
 (which may or may not be "easier" to solve):<br><br>Utils project<br>1&gt=
=3B------ Build started: Project: Utils=2C Configuration: Debug Win32 -----=
-<br>1&gt=3BGenerating bison_getdate.cpp<br>1&gt=3BDet g=E5r inte att hitta=
 s=F6kv=E4gen.//Can not find path.<br>1&gt=3BProject : error PRJ0019: A too=
l returned an error code from "Generating bison_getdate.cpp"<br>1&gt=3BBuil=
d log was saved at "file://c:\TortoiseCVS\build\vc9Win32\Utils\Utils.dir\De=
bug\BuildLog.htm"<br>1&gt=3BUtils - 1 error(s)=2C 0 warning(s)<br>=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D Build: 0 succeeded=2C 1 failed=2C 1 up-to-date=2C 0 s=
kipped =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br><br>cvstree project<br><br>1&gt=3B=
------ Build started: Project: cvstree=2C Configuration: Debug Win32 ------=
<br>1&gt=3BGenerating bison_parser.cpp<br>1&gt=3BDet g=E5r inte att hitta s=
=F6kv=E4gen.//Can not find path.<br>1&gt=3BProject : error PRJ0019: A tool =
returned an error code from "Generating bison_parser.cpp"<br>1&gt=3BBuild l=
og was saved at "file://c:\TortoiseCVS\build\vc9Win32\cvstree\cvstree.dir\D=
ebug\BuildLog.htm"<br>1&gt=3Bcvstree - 1 error(s)=2C 0 warning(s)<br>=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D Build: 0 succeeded=2C 1 failed=2C 1 up-to-date=2C =
0 skipped =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br><br>Also=2C the whole TortoiseA=
ct project build:<br>4&gt=3BLinking...<br>4&gt=3BLINK : fatal error LNK1104=
: cannot open file '..\Utils\Debug\Utils.lib'<br><br>I do not understand wh=
at is wrong in this case=2C any tips would be warmly welcome!<br><br>Thanks=
!<br><br>Best regards=2C<br>Sebastian<br><br> 		 	   		  </div></body>
</html>=

--_c096910a-1413-4090-832e-8587bbbceee7_--


--===============1660692708455278665==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
--===============1660692708455278665==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
tortoisecvs-users mailing list
tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users

--===============1660692708455278665==--