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

Error building clang-7 branch #110

Open
vladimmi opened this issue Apr 14, 2019 · 0 comments
Open

Error building clang-7 branch #110

vladimmi opened this issue Apr 14, 2019 · 0 comments

Comments

@vladimmi
Copy link

I've tried to build Calypso from source on Windows, branch clang-7 seems to be most active. But it fails at linking stage:

[150/210] Generating bin/ldc2.exe
FAILED: bin/ldc2.exe
CMakeFiles\ldc2.exe-f606174.bat ab20fc539e1058d6
ldc.lib(llvmhelpers.cpp.obj) : error LNK2019: unresolved external symbol "public: bool __cdecl Type::equals(class RootObject *)const " (?equals@Type@@QEBA_NPEAVRootObject@@@Z) referenced in function "class llvm::Constant * __cdecl DtoConstExpInit(struct Loc &,class Type *,class Expression *)" (?DtoConstExpInit@@YAPEAVConstant@llvm@@AEAULoc@@PEAVType@@PEAVExpression@@@Z)
ldc.lib(pragma.cpp.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl Type::equals(class RootObject *)const " (?equals@Type@@QEBA_NPEAVRootObject@@@Z)
ldc.lib(toir.cpp.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl Type::equals(class RootObject *)const " (?equals@Type@@QEBA_NPEAVRootObject@@@Z)
ldc.lib(tocall.cpp.obj) : error LNK2001: unresolved external symbol "public: bool __cdecl Type::equals(class RootObject *)const " (?equals@Type@@QEBA_NPEAVRootObject@@@Z)
ldc.lib(cpptypes.cpp.obj) : error LNK2001: unresolved external symbol "public: virtual void __cdecl Import::load(struct Scope *)" (?load@Import@@UEAAXPEAUScope@@@Z)
ldc.lib(cppimport.cpp.obj) : error LNK2001: unresolved external symbol "public: virtual void __cdecl Import::load(struct Scope *)" (?load@Import@@UEAAXPEAUScope@@@Z)
D:\Workspace\d\calypso\calypso_build\bin\ldc2.exe : fatal error LNK1120: 2 unresolved externals
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

No branches or pull requests

1 participant