Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add placeholder for simSwapTexture in Unity for compilation #2479

Closed
wants to merge 1 commit into from

Conversation

rajat2004
Copy link
Contributor

WIP for now, even though it compiles, starting Unity project gives errors
Even though the branch name says Windows, only works for Linux currently, still fails in Windows with linking error

WorldSimApi.obj : error LNK2001: unresolved external symbol "public: virtual class std::unique_ptr<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >,struct std::default_delete<class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > > > __cdecl WorldSimApi::swapTextures(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,int,int,int)" (?swapTextures@WorldSimApi@@UEAA?AV?$unique_ptr@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@U?$default_delete@V?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@@2@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@HHH@Z) [C:\Users\travis\build\rajat2004\AirSim\Unity\AirLibWrapper\AirsimWrapper\AirsimWrapper.vcxproj]

C:\Users\travis\build\rajat2004\AirSim\Unity\AirLibWrapper\x64\Release\AirsimWrapper.dll : fatal error LNK1120: 1 unresolved externals [C:\Users\travis\build\rajat2004\AirSim\Unity\AirLibWrapper\AirsimWrapper\AirsimWrapper.vcxproj]

Caught while looking at #2356

@rajat2004
Copy link
Contributor Author

Superseded by #2514

@rajat2004 rajat2004 closed this Apr 2, 2020
@rajat2004 rajat2004 deleted the win-unity-swaptext branch April 2, 2020 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant