Re: Link Error - using MS VS 2022 Community
Athozus <[email protected]> Tue, 21 Mar 2023 10:33:23 +0100
| Newsgroups | gmane.games.torcs.devel |
|---|---|
| Message-ID | <CAAvRrcHgXoj=MAuyAKuRuDjUsYAA-g0J3eMZ4F0Gj-N+cdNhig@mail.gmail.com> |
--===============2702173527436397227== Content-Type: multipart/alternative; boundary="00000000000042c5ce05f765b710" --00000000000042c5ce05f765b710 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi ! Good to see that this maillist is finally active :D For my own, ~6 months I tried to compile Torcs 1.3.8 on Windows 10, I had problems due to this story of VS Code 2008 or something else. Finally I just installed an exe if I remember correctly. Personally, as I use GNU/Linux, it's not really a problem for me, but I understand that it would be disturbing for some people. So, I think, first, you should try an exe if there is really one in the attachments, but I'm not totally sure. Then, maybe you could upgrade/downgrade some libraries ? Maybe that webpage could help you https://www.microsoft.com/fr-fr/download/details.aspx?id=3D13276. Btw, chec= k if you're in the `r1-3-1` branch, this one has the latest Torcs code (4 years ago but anyway o_O), and the README.me has a lot of informations, for example details for all installations and well to-do list. Maybe you can ask Bernhard, project leader, but it seems to be hard to be in contact with him, one day he told me that he has lot of messages so he could skip somes, but then no more mails. Hope you will reach him for your own ;) Hope this helps, and get your feedback soon =3D) Good day, Athozus. Le mar. 21 mars 2023 =C3=A0 07:01, Stuart McCann <[email protected]= > a =C3=A9crit : > Hi All, > > I am trying to build Torcs 1.3.8 test code drop. I'm using MS VS 2022 > Community and running Windows 11. I've traced the problem down to buildin= g > the 'robottools' package. I'm unable to build robottools.dll. The error I= 'm > getting from robottools.log is: > > ****** > rttelem.cpp > rttrack.cpp > C:\torcs-1.3.8-test1\src\libs\robottools\rttrack.cpp(275,5): warning > C4305: '-=3D': truncation from 'double' to 'tdble' > C:\torcs-1.3.8-test1\src\libs\robottools\rttrack.cpp(275,5): warning > C4305: '+=3D': truncation from 'double' to 'tdble' > C:\torcs-1.3.8-test1\src\libs\robottools\rttrack.cpp(297,5): warning > C4305: '-=3D': truncation from 'double' to 'tdble' > C:\torcs-1.3.8-test1\src\libs\robottools\rttrack.cpp(297,5): warning > C4305: '+=3D': truncation from 'double' to 'tdble' > Generating Code... > Creating library .\Debug/robottools.lib and object > .\Debug/robottools.exp > *ul_vs2008_32.lib*(ulError.obj) : error LNK2019: unresolved external > symbol ___iob_func referenced in function "void __cdecl ulSetError(enum > ulSeverity,char const *,...)" (?ulSetError@@YAXW4ulSeverity@@PBDZZ) > *ul_vs2008_32.lib*(ulError.obj) : error LNK2019: unresolved external > symbol _vsprintf referenced in function "void __cdecl ulSetError(enum > ulSeverity,char const *,...)" (?ulSetError@@YAXW4ulSeverity@@PBDZZ) > .\Debug\robottools.dll : fatal error LNK1120: 2 unresolved externals > ***** > > The error code is referencing *ul_vs2008_32.lib* so it seems that VS 2022 > needs to have some VS 2008 software installed to build. VS 2008 is out of > support now. > > Has anyone encountered this error before? If so, then how did you resolve > it? > > Kind Regards, > Stuart > > P.S.: I'm new to this codebase and MS Visual Studio so please be patient > with me. Thanks in advance. > _______________________________________________ > Torcs-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/torcs-devel > --00000000000042c5ce05f765b710 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div><div>Hi !<br><br></div>Good to see that this mai= llist is finally active :D<br><br></div>For my own, ~6 months I tried to co= mpile Torcs 1.3.8 on Windows 10, I had problems due to this story of VS Cod= e 2008 or something else. Finally I just installed an exe if I remember cor= rectly.<br><br></div><div>Personally, as I use GNU/Linux, it's not real= ly a problem for me, but I understand that it would be disturbing for some = people.</div><div><br></div><div>So, I think, first, you should try an exe = if there is really one in the attachments, but I'm not totally sure. Th= en, maybe you could upgrade/downgrade some libraries ? Maybe that webpage c= ould help you <a href=3D"https://www.microsoft.com/fr-fr/download/details.a= spx?id=3D13276">https://www.microsoft.com/fr-fr/download/details.aspx?id=3D= 13276</a>. Btw, check if you're in the `r1-3-1` branch, this one has th= e latest Torcs code (4 years ago but anyway o_O), and the README.me has a l= ot of informations, for example details for all installations and well to-d= o list.<br><br></div><div>Maybe you can ask Bernhard, project leader, but i= t seems to be hard to be in contact with him, one day he told me that he ha= s lot of messages so he could skip somes, but then no more mails. Hope you = will reach him for your own ;)<br></div><div><br></div><div>Hope this helps= , and get your feedback soon =3D)</div><div><br></div><div>Good day,</div><= div><br></div><div>Athozus.<br></div></div><br><div class=3D"gmail_quote"><= div dir=3D"ltr" class=3D"gmail_attr">Le=C2=A0mar. 21 mars 2023 =C3=A0=C2=A0= 07:01, Stuart McCann <<a href=3D"mailto:[email protected]">smcca= [email protected]</a>> a =C3=A9crit=C2=A0:<br></div><blockquote class= =3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg= b(204,204,204);padding-left:1ex"><div dir=3D"ltr">Hi All,<div><br></div><di= v>I am trying to build Torcs 1.3.8 test code drop. I'm using MS VS 2022= Community and running Windows 11. I've traced the problem down to buil= ding the 'robottools' package. I'm unable to build robottools.d= ll. The error I'm getting from robottools.log is:</div><div><br></div><= div>******</div><div>=C2=A0 rttelem.cpp<br>=C2=A0 rttrack.cpp<br>C:\torcs-1= .3.8-test1\src\libs\robottools\rttrack.cpp(275,5): warning C4305: '-=3D= ': truncation from 'double' to 'tdble'<br>C:\torcs-1.3.= 8-test1\src\libs\robottools\rttrack.cpp(275,5): warning C4305: '+=3D= 9;: truncation from 'double' to 'tdble'<br>C:\torcs-1.3.8-t= est1\src\libs\robottools\rttrack.cpp(297,5): warning C4305: '-=3D':= truncation from 'double' to 'tdble'<br>C:\torcs-1.3.8-test= 1\src\libs\robottools\rttrack.cpp(297,5): warning C4305: '+=3D': tr= uncation from 'double' to 'tdble'<br>=C2=A0 Generating Code= ...<br>=C2=A0 =C2=A0 =C2=A0Creating library .\Debug/robottools.lib and obje= ct .\Debug/robottools.exp<br><b>ul_vs2008_32.lib</b>(ulError.obj) : error L= NK2019: unresolved external symbol ___iob_func referenced in function "= ;void __cdecl ulSetError(enum ulSeverity,char const *,...)" (?ulSetErr= or@@YAXW4ulSeverity@@PBDZZ)<br><b>ul_vs2008_32.lib</b>(ulError.obj) : error= LNK2019: unresolved external symbol _vsprintf referenced in function "= ;void __cdecl ulSetError(enum ulSeverity,char const *,...)" (?ulSetErr= or@@YAXW4ulSeverity@@PBDZZ)<br>.\Debug\robottools.dll : fatal error LNK1120= : 2 unresolved externals<br></div><div>*****</div><div><br></div><div>The e= rror code is referencing=C2=A0<b>ul_vs2008_32.lib</b> so it seems that VS 2= 022 needs to have some VS 2008 software installed to=C2=A0build. VS 2008 is= out of support now.=C2=A0=C2=A0</div><div><br></div><div>Has anyone encoun= tered=C2=A0this error before? If so, then how did you resolve it?</div><div= ><br></div><div>Kind Regards,</div><div>Stuart</div><div><br></div><div>P.S= .: I'm new to this codebase and MS Visual Studio so please be patient w= ith me.=C2=A0 Thanks in advance.</div></div> _______________________________________________<br> Torcs-devel mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Torc= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/torcs-devel" rel=3D= "noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo= /torcs-devel</a><br> </blockquote></div> --00000000000042c5ce05f765b710-- --===============2702173527436397227== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============2702173527436397227== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Torcs-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/torcs-devel --===============2702173527436397227==--