Comments (2)
So I tried to compile it on Windows, using MinGW. However, in order to use de LLVM/Clang .lib file, the makefile must contain use "-llibclang" instead of "-lclang".
Still, I can't build it:
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete>make
gcc -shared -o lib/libcc.dll -g -Wall src/cc_result.c src/cc_resultcache.c src/cc_symbol.c src
/cc_trie.c src/py_bind.c -L"/c/Users/Mario/AppData/Roaming/Sublime Text 3/Packages/Clang-Comple
te/lib" -I"/c/Users/Mario/AppData/Roaming/Sublime Text 3/Packages/Clang-Complete/lib"/include
-llibclang
C:\Users\Mario\AppData\Local\Temp\ccQ2wUAD.o: In function cc_result_new': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_result.c:28: undef ined reference to
clang_codeCompleteAt'
C:\Users\Mario\AppData\Local\Temp\ccQ2wUAD.o: In function cc_result_free': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_result.c:45: undef ined reference to
clang_disposeCodeCompleteResults'
C:\Users\Mario\AppData\Local\Temp\ccQ2wUAD.o: In function cc_result_entryname': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_result.c:52: undef ined reference to
clang_getNumCompletionChunks'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_result.c:53: undef
ined reference to clang_getCompletionAvailability' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_result.c:56: undef ined reference to
clang_getCompletionChunkKind'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_result.c:58: undef
ined reference to clang_getCompletionChunkText' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_result.c:59: undef ined reference to
clang_getCString'
C:\Users\Mario\AppData\Local\Temp\cciweKeg.o: In function cc_symbol_new': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:31: undef ined reference to
clang_createIndex'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:32: undef
ined reference to clang_parseTranslationUnit' C:\Users\Mario\AppData\Local\Temp\cciweKeg.o: In function
cc_symbol_free':
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:47: undef
ined reference to clang_disposeTranslationUnit' C:\Users\Mario\AppData\Local\Temp\cciweKeg.o: In function
cc_symbol_reparse':
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:58: undef
ined reference to clang_reparseTranslationUnit' C:\Users\Mario\AppData\Local\Temp\cciweKeg.o: In function
cc_symbol_diagnostic':
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:64: undef
ined reference to clang_getDiagnosticSetFromTU' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:65: undef ined reference to
clang_getNumDiagnosticsInSet'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:68: undef
ined reference to clang_getDiagnosticInSet' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:69: undef ined reference to
clang_formatDiagnostic'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:70: undef
ined reference to clang_getCString' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:72: undef ined reference to
clang_disposeDiagnosticSet'
C:\Users\Mario\AppData\Local\Temp\cciweKeg.o: In function cc_symbol_def': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:85: undef ined reference to
clang_getFile'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:85: undef
ined reference to clang_getLocation' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:86: undef ined reference to
clang_getCursor'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:87: undef
ined reference to clang_getCursorDefinition' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:88: undef ined reference to
clang_Cursor_isNull'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:89: undef
ined reference to clang_getCursorReferenced' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:90: undef ined reference to
clang_Cursor_isNull'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:93: undef
ined reference to clang_getCursorLocation' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:97: undef ined reference to
clang_getSpellingLocation'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:98: undef
ined reference to clang_getFileName' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/cc_symbol.c:98: undef ined reference to
clang_getCString'
C:\Users\Mario\AppData\Local\Temp\ccUvsvzS.o: In function py_cs_count': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:66: undefin ed reference to
clang_getNumCompletionChunks'
C:\Users\Mario\AppData\Local\Temp\ccUvsvzS.o: In function py_cs_trunk': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:77: undefin ed reference to
clang_getCompletionChunkKind'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:81: undefin
ed reference to clang_getCompletionChunkText' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:82: undefin ed reference to
clang_getCString'
C:\Users\Mario\AppData\Local\Temp\ccUvsvzS.o: In function py_diagnostic_new': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:89: undefin ed reference to
clang_getDiagnosticSetFromTU'
C:\Users\Mario\AppData\Local\Temp\ccUvsvzS.o: In function py_diagnostic_free': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:95: undefin ed reference to
clang_disposeDiagnosticSet'
C:\Users\Mario\AppData\Local\Temp\ccUvsvzS.o: In function py_diagnostic_num': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:101: undefi ned reference to
clang_getNumDiagnosticsInSet'
C:\Users\Mario\AppData\Local\Temp\ccUvsvzS.o: In function py_diagnostic': C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:107: undefi ned reference to
clang_getDiagnosticInSet'
C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:108: undefi
ned reference to clang_formatDiagnostic' C:\Users\Mario\AppData\Roaming\Sublime Text 3\Packages\Clang-Complete/src/py_bind.c:109: undefi ned reference to
clang_getCString'
collect2.exe: error: ld returned 1 exit status
make: *** [cc_lib] Error 1
Which Clang's version should be used?
from clang-complete.
checkout window
branch. libclang.dll
and libcc.dll
binary share lib is included in lib
directory.
because libclang.dll
and libcc.dll
binary file is too large. so, I don't want to download dll
from package controller. I suggest install plugin from clone repo
at window platform.
from clang-complete.
Related Issues (20)
- autocomplete "sizeof" keyword incorrect
- Unable to compile on Windows HOT 1
- Paths relative to the project directory HOT 1
- Windows 7 x86. Plugin doesn't work. ...OSError: [WinError 126] The specified module could not be found...
- Sublime Text built-in completion was "disabled" since Clang-Complete installed.
- Completion list delay
- mac os x 10.11.3配置的问题 HOT 1
- solution to `cannot find -lclang`
- include custom header files not work
- Autocompletion for including headers not working HOT 1
- For Cuda
- Crash plugin host typing too quickly (objective-c) HOT 1
- Clang-Complete reanalyze code only when saving HOT 2
- Can correctly compile for Windows
- Edits to .sublime-project settings require sublime text restart
- #include <fcntl.h>
- Plugin host has exited unecpectedly on Fedora, clang version 3.8
- Editing cc.sublime_settings doesn't cause build errors/warnings to update for a file until the contents of that file are changed.
- Is the a reason for sticking to clang-3.5?
- macOS上没法儿用
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clang-complete.