KalebDark / angleproject

Automatically exported from code.google.com/p/angleproject
Other
0 stars 0 forks source link

libEGL doesn't compile from prepared vs2013 project #820

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. checkout 6b0cf99612c571ad3e47e31fc44c2b21399038e3
2. try to build libEGL using vs2013 project from git repository
3. get unresolved externals for Error constructors.

What is the expected output? What do you see instead?

I expect compiled libEGL and what I see instead:

1>------ Build started: Project: libEGL, Configuration: Release x64 ------
1>     Creating library E:\sdk\angle\projects\src\Release_x64\lib\libEGL.lib 
and object E:\sdk\angle\projects\src\Release_x64\lib\libEGL.exp
1>Display.obj : error LNK2019: unresolved external symbol "public: __cdecl 
egl::Error::Error(int)" (??0Error@egl@@QEAA@H@Z) referenced in function 
"public: class egl::Error __cdecl egl::Display::createContext(void *,int,class 
gl::Context const *,bool,bool,void * *)" 
(?createContext@Display@egl@@QEAA?AVError@2@PEAXHPEBVContext@gl@@_N2PEAPEAX@Z)
1>Surface.obj : error LNK2001: unresolved external symbol "public: __cdecl 
egl::Error::Error(int)" (??0Error@egl@@QEAA@H@Z)
1>libEGL.obj : error LNK2001: unresolved external symbol "public: __cdecl 
egl::Error::Error(int)" (??0Error@egl@@QEAA@H@Z)
1>Display.obj : error LNK2019: unresolved external symbol "public: __cdecl 
egl::Error::Error(class egl::Error const &)" (??0Error@egl@@QEAA@AEBV01@@Z) 
referenced in function "public: class egl::Error __cdecl 
egl::Display::createContext(void *,int,class gl::Context const *,bool,bool,void 
* *)" 
(?createContext@Display@egl@@QEAA?AVError@2@PEAXHPEBVContext@gl@@_N2PEAPEAX@Z)
1>Surface.obj : error LNK2001: unresolved external symbol "public: __cdecl 
egl::Error::Error(class egl::Error const &)" (??0Error@egl@@QEAA@AEBV01@@Z)
1>Surface.obj : error LNK2019: unresolved external symbol "public: __cdecl 
egl::Error::Error(int,char const *,...)" (??0Error@egl@@QEAA@HPEBDZZ) 
referenced in function "public: class egl::Error __cdecl 
egl::Surface::resetSwapChain(void)" 
(?resetSwapChain@Surface@egl@@QEAA?AVError@2@XZ)
1>E:\sdk\angle\projects\src\Release_x64\libEGL.dll : fatal error LNK1120: 3 
unresolved externals
========== Build: 0 succeeded, 1 failed, 10 up-to-date, 0 skipped ==========

Original issue reported on code.google.com by ivan.zin...@gmail.com on 3 Nov 2014 at 9:57

GoogleCodeExporter commented 9 years ago
Sorry about that, fix will be up shortly.

Original comment by geofflang@chromium.org on 3 Nov 2014 at 10:09

GoogleCodeExporter commented 9 years ago
Fixed as of 45b474d880af9d077eb0209fe060c138b84f6154

Original comment by geofflang@chromium.org on 3 Nov 2014 at 10:10