ue4plugins / UEGeoCoordinates

Provide tools for users to express Coordinates in different Geographic Coordinates Reference Systems
MIT License
136 stars 43 forks source link

Unresolved External Symbols #1

Open JMRichmond opened 4 years ago

JMRichmond commented 4 years ago

I'm trying to use your geo coordinate system and every time I build I get errors about the "CxxFrameHandler4" and "GSHandler_EH$" are missing. I believe this is caused by me using VS 2017 and I need VS 2019. Did you use VS 2019 to create this? I am using unreal 4.26 and the latest versions of vc++ redistributable. Only thing that is outdated is my visual studio.

AlbanBERGERET-Epic commented 3 years ago

Yes, we used VS2019 to build it. I don't know if it's related to that, I never saw this issue...

arash-sh commented 3 years ago

I have the same problem. Have tried it both with 4.25 and 4.26. @JMRichmond did you try building it with VS2019?

AlbanBERGERET-Epic commented 3 years ago

I was thinking about something I fixed in the past. What if you comment this line in GeographicCoordinates.h ?

SIMULATIONMODULE_API const FGeographicCoordinates FGeographicCoordinates::ZeroCoordinates(0.0, 0.0, 0.0);

arash-sh commented 3 years ago

Thanks, but the problem still remains. I may be able to install VS2019 later, but not currently.

mithulp123 commented 3 years ago

I'm also receiving the same issue while building with UE 4.26 and VS2017. Has anyone had any luck building w/ this configuration?

AlbanBERGERET-Epic commented 3 years ago

I used VS2019 to build the plugin, but above all used VS2019 to build the PROJ libs that are in Source\ThirdParty\Proj\lib. You might try to build PROJ with VS2017 using the process described there : https://proj.org/install.html#building-on-windows-with-vcpkg-and-visual-studio-2017-or-2019