Note that there are some explanatory texts on larger screens.

plurals
  1. POError LNK1120 and LNK 2019 while changing the datatypes from float to double
    primarykey
    data
    text
    <p>In the code it is compiling when i use float datatypes then when changing the float to double in typedef there are above linking errors. </p> <pre><code>Error 12 fatal error LNK1120: 11 unresolved externals C:\work\eb_adasis_rc_toolbox\build\test1\Debug\executable_prj.exe Error 2 error LNK2019: unresolved external symbol "public: virtual bool __thiscall ElementApproximator::Clothoid::GetPointListForDisplay(class std::vector&lt;class ElementApproximator::Point,class std::allocator&lt;class ElementApproximator::Point&gt; &gt; &amp;,class std::vector&lt;double,class std::allocator&lt;double&gt; &gt; &amp;)const " (?GetPointListForDisplay@Clothoid@ElementApproximator@@UBE_NAAV?$vector@VPoint@ElementApproximator@@V?$allocator@VPoint@ElementApproximator@@@std@@@std@@AAV?$vector@NV?$allocator@N@std@@@4@@Z) referenced in function _main executable_prj.obj Error 1 error LNK2019: unresolved external symbol "public: bool __thiscall ElementApproximator::Point::GetTmcXY(double &amp;,double &amp;)const " (?GetTmcXY@Point@ElementApproximator@@QBE_NAAN0@Z) referenced in function _main executable_prj.obj Error 3 error LNK2019: unresolved external symbol "public: bool __thiscall ElementApproximator::Clothoid::Init(class ElementApproximator::Point const &amp;,double,double,double,double)" (?Init@Clothoid@ElementApproximator@@QAE_NABVPoint@2@NNNN@Z) referenced in function _main executable_prj.obj Error 4 error LNK2019: unresolved external symbol "public: __thiscall ElementApproximator::Point::Point(double,double)" (??0Point@ElementApproximator@@QAE@NN@Z) referenced in function _main executable_prj.obj Error 11 error LNK2001: unresolved external symbol "public: virtual void __thiscall ElementApproximator::Element::Translate(double,double)" (?Translate@Element@ElementApproximator@@UAEXNN@Z) executable_prj.obj Error 10 error LNK2001: unresolved external symbol "public: virtual void __thiscall ElementApproximator::Element::Rotate(double)" (?Rotate@Element@ElementApproximator@@UAEXN@Z) executable_prj.obj Error 9 error LNK2001: unresolved external symbol "public: virtual void __thiscall ElementApproximator::Clothoid::Translate(double,double)" (?Translate@Clothoid@ElementApproximator@@UAEXNN@Z) executable_prj.obj Error 8 error LNK2001: unresolved external symbol "public: virtual void __thiscall ElementApproximator::Clothoid::Rotate(double)" (?Rotate@Clothoid@ElementApproximator@@UAEXN@Z) executable_prj.obj Error 6 error LNK2001: unresolved external symbol "public: virtual bool __thiscall ElementApproximator::Clothoid::GetTangentGridBearingAtDeltaLength(double,double &amp;)const " (?GetTangentGridBearingAtDeltaLength@Clothoid@ElementApproximator@@UBE_NNAAN@Z) executable_prj.obj Error 7 error LNK2001: unresolved external symbol "public: virtual bool __thiscall ElementApproximator::Clothoid::GetPointAtDeltaLength(double,class ElementApproximator::Point &amp;)const " (?GetPointAtDeltaLength@Clothoid@ElementApproximator@@UBE_NNAAVPoint@2@@Z) executable_prj.obj Error 5 error LNK2001: unresolved external symbol "public: virtual bool __thiscall ElementApproximator::Clothoid::GetCurvatureAtDeltaLength(double,double &amp;)const " (?GetCurvatureAtDeltaLength@Clothoid@ElementApproximator@@UBE_NNAAN@Z) executable_prj.obj </code></pre> <p>I already saw other posts regarding this error but was unable resolve it using the workarounds mentioned in the answers. Thanking you</p> <p>Regards, Mrinal</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload