์๋ ํ์ธ์ @quarnster ,
Windows ํฌํธ ์์
์ ์ํํ๊ฒ ์ต๋๋ค.
๋๋ ๊ทธ๊ฒ์ ๊ฝค ๋นจ๋ฆฌ ๋๋ด์ผ ํ๋ค.
mingw64 ๋ฐ go lang๊ณผ์ ์ฐ๊ฒฐ ์ค๋ฅ๋ฅผ ๋ฐ๊ฒฌํ์ผ๋ฉฐ pygo ๋ฐ ๊ธฐํ c ๋ฐ์ธ๋ฉ๋ ์ข ์์ ๋ง์ง๋ง ์ฐ๊ฒฐ ์ค๋ฅ๋ฅผ ํด๊ฒฐํ๊ธฐ ์ํด ๊ณง mingw64-crt์ ํจ์น๋ฅผ ํธ์ํด์ผ ํฉ๋๋ค.
์ด ๋ฌธ์ ์ ๋ํด $30์ ๊ณต๊ฐ ํ์๊ธ ์ด ์์ต๋๋ค. Bountysource ์์ ํ์๊ธ์ ์ถ๊ฐํ์ญ์์ค.
์์ฐ ์ ๋ง ํ์์ ์ ๋๋ค.
martell [email protected] ์๋ฆฌ๋ธ:
์๋ ํ์ธ์ @quarnster ,
Windows ํฌํธ ์์ ์ ์ํํ๊ฒ ์ต๋๋ค.
๋๋ ๊ทธ๊ฒ์ ๊ฝค ๋นจ๋ฆฌ ๋๋ด์ผ ํ๋ค.mingw64 ๋ฐ go lang ๋ฐ ํจ์น์ ์ฐ๊ฒฐ ์ค๋ฅ๋ฅผ ๋ฐ๊ฒฌํ์ต๋๋ค.
๋ง์ง๋ง ์ฐ๊ฒฐ์ ํด๊ฒฐํ๋ ค๋ฉด ๊ณง mingw64-crt์ ํธ์ํด์ผ ํฉ๋๋ค.
pygo ๋ฐ ๊ธฐํ c ๋ฐ์ธ๋ฉ์ ์ค๋ฅ๊ฐ ๋ค๋ฆ ๋๋ค.์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ GitHub์์ ํ์ธํ์ธ์.
https://github.com/limetext/lime/issues/228
๊ฐ์ฌํฉ๋๋ค!
"C:\msys64\mingw32\pkg\tool\windows_386\8l.exe" -o "C:\msys64\tmp\go-build836004963\lime\3rdparty\libs\gopy_test\gopy.test.exe" -L "C :\msys64\tmp\go-build836004963\lime\3rdparty\libs\gopy_test" -L "C:\msys64\tmp\go-build836004963" "C:\msys64\tmp\go-build836004963\lime\3rdparty gopy_test\main.a"
$WORK\lime\3rdparty\libs\gopy_test\gopy.test.exe
ํต๊ณผํ๋ค
์ข์ ๋ผ์/3rdparty/libs/gopy 2.592s
ํ๋ฅญํ ์ฑ๊ณต :)
์, ๊ต์ฅํด!
gopy ํ์ ๋ฌด์์ํฉ๋๊น? cmake๊ฐ ์ถ๊ฐ๋์ด ๊ฐ์ด๋๊ฐ ์ผ๋ง ์ ์ ๋ณ๊ฒฝ๋์์ต๋๋ค.
๋๋ ๋ํ qt5 ๋ฐ์ธ๋ฉ์ ๊ตฌ์ถํ์ต๋๋ค :)
๋๋ ์ด๋ฏธ gcc์ onig ๋น๋๋ฅผ ๊ฐ์ง๊ณ ์์ผ๋ฉฐ ๋ถ๋ช ํ .a libs๊ฐ ์๋ python3.3
ํธ์ง: ๊ด์ฐฎ์ต๋๋ค. cmakelists์ ๋จ๊ณ๋ฅผ ์๋์ผ๋ก ๋ฐ๋ฅด๊ฒ ์ต๋๋ค. :)
python ๋น๋๋ฅผ ์ฌํํ๋ ๋ฐฉ๋ฒ์ ์๋ ค์ฃผ๋ฉด ์ข์ ๊ฒ์ ๋๋ค.
msys2์ pacman์ ์ฌ์ฉํ๊ณ ์์ต๋๋ค. mingw-w64-x86_64-python3์ ์ด๋ฅผ ์ํ ํจํค์ง์
๋๋ค.
์ฐ๋ฆฌ๋ ์ผ๋ฐ์ ์ผ๋ก OFTC์ irc์ ์์ต๋๋ค. #msys2๋ ๋งค์ผ ์๋ก์ด ํจํค์ง๋ฅผ ์ถ๊ฐํ์ต๋๋ค. :)
์ฌ๊ธฐ์์ ํฝ์
ํ ์ ์์ต๋๋ค.
http://sourceforge.net/projects/msys2/
์ต๊ทผ์ go ์์ฒด๋ฅผ ์ถ๊ฐํ์ง๋ง ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ๊ณ ์์ต๋๋ค.
๋ผ์์ด ์๋ฃ๋๋ฉด ํจํค์ง๋ก ์ถ๊ฐํ๊ณ PKGBUILD ์คํฌ๋ฆฝํธ๋ก ๋น๋ํ์ฌ ;)
python ๋ฐ onig๋ https://github.com/martell/MINGW-packages ์ ์์ด์ผ ํฉ๋๋ค.
๋๋ ๋ํ msys2์ ์์ต๋๋ค. ์ด์ ๊ฐ์ง๊ณ ๋์์ต๋๋ค. ์ ์ python ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ด๋ป๊ฒ ์์ฑํ์ต๋๊น? 32๋นํธ ๋๋ 64๋นํธ ํด์ฒด์ธ์ ์ฌ์ฉํ์ จ์ต๋๊น?
์ธ๊ธ๋ crt ์์ ์ฌํญ์ด ์ด๋ฏธ ์จ๋ผ์ธ์ ์์ต๋๊น?
https://github.com/martell/MINGW-packages
Python PKGBUILD๊ฐ ์ด ์ ์ฅ์์ ์์ต๋๋ค.
์, Alexey๋ ์์ผ๋ก ๊ทธ๊ฒ์ ์ ์ฉํ์ต๋๋ค. ๋์ mingwandroid๊ฐ mingw64์ ๋ํ go์ CFLAG ์ ๋ฌ์ ์์ ํ๋ ค๊ณ ํฉ๋๋ค.
๊ทธ ํ์ ๊ฐ๋ ๊ฒ์ด ์ข์ ๊ฒ์
๋๋ค :) ... ์ํ๋ฉด
crt๋ฅผ ์ ๋ฐ์ดํธํ๋ ค๋ฉด "pacman -Syu"๋ง ์์ผ๋ฉด ๋ฉ๋๋ค.
๊ทธ๋ฌ๋ python3์ ๊ธฐ๋ณธ์ ์ผ๋ก ๊ณต์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก ๋น๋๋์ง ์์ต๋๊น? mingw(w64 ์๋)์์๋ pexport๋ฅผ ์ฌ์ฉํ์ต๋๋ค. ์ด๋ป๊ฒ ์ฒ๋ฆฌํ์ต๋๊น? CFLAGS์ ๋ํ ์ค๋ช ์ผ๋ก ์ณ์ง ์์ ๊ฒ์?
Python3์ mingw64๋ก ์ปดํ์ผ๋๋ฏ๋ก ๋ด๋ณด๋ด๊ธฐ๋ฅผ ์ํํ ํ์๊ฐ ์์ต๋๋ค.
๊ฒฐ๊ณผ์ ์ผ๋ก ๊ธฐ๋ณธ์ ์ผ๋ก libpython3.3m.a๋ฅผ ์ป์ต๋๋ค.
https://github.com/martell/MINGW-packages/tree/master/mingw-w64-python3
์ฐ๋ฆฌ๋ ๋น์ฃผ์ผ ์คํ๋์ค๋ฅผ ์๋ฌด ์ฉ๋๋ก ์ฌ์ฉํ์ง ์์ต๋๋ค. ๋ํ ์ด๋ค ๋ผ์ด๋ธ๋ฌ๋ฆฌ์ Visual Studio ๋น๋์๋ ์์กดํ์ง ์์ต๋๋ค.
pexports์ ํด๋นํ๋ ๊ฒ์ gendef์
๋๋ค. ์ฐ๋ฆฌ๋ ์ฌ๊ธฐ์ ํ์ํ์ง ์์ต๋๋ค.
http://sourceforge.net/apps/trac/mingw-w64/wiki/gendef
์, mingw64๋ก termbox ํ๋ก ํธ์๋๋ฅผ ์ฑ๊ณต์ ์ผ๋ก ๊ตฌ์ถํ์ต๋๋ค.
debug.log์ ์ด ๋ฉ์์ง์ ํจ๊ป ์ ์์ ์ผ๋ก ๋ซํ๋๋ค.
[2014/01/25 00:47:11 GMT] EROR (main.main:607) ํธ๋ค์ด ์๋ชป๋์์ต๋๋ค.
๋ฐ์ธ๋ฉ์ ์ค์ ํ ํ qml ๋น๋์์ ์ด ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
ํ๋์ ํ๋ก์ ํธ์์ ๋ ๊ฐ์ ๋ฐ์ธ๋ฉ์ด ๋ฌธ์ ๋ฅผ ์ผ๊ธฐํด์ผ ํฉ๋๋ค.
๋ผ์/ํ๋ก ํธ์๋/qml
C:\msys64\tmp\go-build680373563/lime/3rdparty/libs/gopy/lib.a(_all.o): ์ค๋ณต ๊ธฐํธ ์ฐธ์กฐ: github.com/niemeyer/qml(.text) ๋ฐ ์ํ/3rdparty ๋ชจ๋์์ mingw_onexit /libs/gopy/lib(.text)
https://www.dropbox.com/s/2ibydge1x8k9s1w/lime.7z
๋๋ termbox, html์ ์ฑ๊ณต์ ์ผ๋ก ๊ตฌ์ถํ์ผ๋ฉฐ qml์ด ๋งํฌํ์ง ์๊ธฐ ๋๋ฌธ์ qt5 main.go์ ๋ค์ ๋จ์ด์ก์ต๋๋ค.
Termbox๋ ์ง๊ธ๊น์ง ์ต๊ณ ๋ก ๋ณด์
๋๋ค.
๋ชจ๋ ํ๋ฌ๊ทธ์ธ์ ๋ก๋ํ ๋ค์ ์ถฉ๋ํฉ๋๋ค./
๊ทธ๋๋ ๋ฉ์ง ๋ก๊ทธ ํ์ผ ;)
build/bin์์ exe๋ฅผ ์ฐพ๊ณ ํด๋ ๊ตฌ์กฐ์ ๊ด๋ จ๋๋ฏ๋ก ์ด๋ํ์ง ๋ง์ญ์์ค.
@martell : mintty ๋์ Windows ๋ช ๋ น ํ๋กฌํํธ์์ termbox ํ๋ก ํธ์๋๋ฅผ ์คํํด ๋ณด์ จ์ต๋๊น?
@EdVanDance
์, Windows cmd.prompt์์ termbox๋ฅผ ์คํํ๊ณ ์์ต๋๋ค.
์กฐ๊ธ ๋ ๋
ธ๋ ฅํ๋ฉด ์ด ๋ฌธ์ ๋ฅผ ํด๊ฒฐํ ์ ์์ ๊ฒ ๊ฐ์ต๋๋ค.
๋ํ ํด๋น ๊ธฐ๋ฅ์ด ์๊ธฐ ๋๋ฌธ์ Windows์์ setcolormode 256์ ์ ๊ฑฐํด์ผ ํฉ๋๋ค.
@martell ์คํํ ์ ์์ต๋๋ค. i686 python3์ ์ค์นํ์ต๋๋ค(์ ๋ x86_64์ ์์ต๋๋ค). cmd๋ฅผ ์ด์์ต๋๋ค.
set PYTHONHOME=...\msys64\mingw32\lib\python3.3
termbox.exe
๊ทธ๋ฆฌ๊ณ ๋๋ ์ป๋๋ค:
Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
๋ด๊ฐ python dll์ ํฌํจํ๊ธฐ ๋๋ฌธ์ PYTHONHOME์ ์ค์ ํ ํ์๊ฐ ์์ต๋๋ค.
๊ทธ๊ฒ ์์ด ๋๋ฅผ ์ํด ์๋ํฉ๋๋ค.
์ด์ ๋ด๊ฐ ํ๋ ธ์ ์๋ ์์ง๋ง ์ด์จ๋ ๊ทธ๋ ๊ฒํ์ง ์์์ต๋๋ค.
ํจ์น๋ mingw64-crt์ ๋ณํฉ๋์์ผ๋ฉฐ Alexey๋ ๊ณง ์ ๋ฐ์ดํธ๋ฅผ ํ ๊ฒ์ ๋๋ค ;)
PYTHONPATH๋ฅผ ์ค์ ํ์ง ์์ผ๋ฉด. ๋๋ ์ป๋ค:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: Py_Initialize: unable to load the file system codec
ImportError: No module named 'encodings'
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
msys ๋ด์์ ๋ช
๋ น ํ๋กฌํํธ๋ฅผ ์์ํฉ๋๊น? Win+R
๋ฅผ ํตํด ์ง์ ์์ํ์ต๋๋ค.
์๋์. ๋น์ ์ฒ๋ผ ์ง์ cmd๋ก ์ด๋ํ์ต๋๋ค. PYTHONHOME์ ๋ด ์์คํ
์ ์ ์๋์ด ์์ง ์์ต๋๋ค.
์ด์ ์ Windows ์ค์น ํ๋ก๊ทธ๋จ์ ์ฌ์ฉํ์ฌ ์์คํ
์ python์ ์ค์นํ๋ค๊ณ ์๊ฐํฉ๋๋ค.
์ด์ฉ๋ฉด ๊ทธ๊ฒ์ด ๋ด cmd ์ฐฝ์ด ๋ถํํ์ง ์๋ ์ด์ ์
๋๊น?
์ด๊ฒ์ ํน์ ์ง์ ์์ ์ถฉ๋ํ๋ ์ด์ ๋ฅผ ์ค๋ช ํ ์๋ ์์ต๋๋ค. ์๋ง๋ ์๋ชป๋ Python ํ์ผ์ ์ฌ์ฉํ๊ณ ์์ ์ ์์ต๋๋ค.
mingw python3 ๋๋ msys2 python3์ ์ค์นํ์ต๋๊น?
ํ ๊ทธ ์ด์ ๊ฐ ๋ ์ ์์ต๋๋ค. ๊ทธ๋ฌ๋ PYTHONPATH๋ฅผ ์ค์ ํ ํ ์ ๋ถํํ๋์ง ์ดํด๊ฐ ๋์ง ์์ต๋๋ค.
๋ถ๋ช
ํ ์ธ์ฝ๋ฉ ๋ชจ๋์ด ์์ต๋๋ค.
์ ๊ฒ ์ด์.
๊ทธ๋ฅ:
set PYTHONHOME=...\msys64\mingw32
lib\python3.3
์์ด .
์ข์ ;) ๊ทธ๋ฆฌ๊ณ ๋น์ ์ ์ถ๋ ฅ์?
ํ์ผ ๋ด์ฉ์ ํ์ํ์ง๋ง ํค ๋๋ฆ์ ๋ฐ์ํ์ง ์์ต๋๋ค. ๊ทธ๋ฆฌ๊ณ 256์ ๋ชจ๋์ ๋ํด ๋ถํํฉ๋๋ค.
๋ด๊ฐ ์
๋ก๋ํ zip์๋ ์์ค์์ ๋น๋ํ๋ ค๋ ๊ฒฝ์ฐ ์ฐธ์กฐํ ์ ์๋ ๋ชจ๋ cgo.go ํ์ผ์ด ์์ต๋๋ค.)
๋๋ ๋ํ ๋น์ ์ด ํ์๋ก ํ on and go์ ๋ํ ๋์ mingw-packages repo์ ํจํค์ง๋ฅผ ๊ฐ์ง๊ณ ์์ต๋๋ค.
๋ถ์ฌ๋ฃ๊ธฐ ํด์ฃผ์ธ์ :)
๋๋ ์ฌ๊ธฐ๊น์ง
[2014/01/25 04:08:33 GMT] [INFO](lime/backend/sublime.sublime_Console:87) Python sez: ํ๋ฌ๊ทธ์ธ Vintageous.jump_list_cmds ๋ก๋ ์ค
[2014/01/25 04:08:33 GMT] [FNST](main.%28 tbfe%29.renderthread:375) ๋ ๋๋ง[2014/01/25 04:08:33 GMT] [FNST](lime/backend.%28 commandHandler%29.Register:169) vi_add_to_jump_list๋ฅผ ๋ฑ๋กํ๊ณ ์ถ์ต๋๋ค.
[2014/01/25 04:08:33 GMT] [FNST](lime/backend.%28 commandHandler%29.Register:194) ์ฑ๊ณต์ ์ผ๋ก ๋ฑ๋ก๋ ๋ช
๋ น vi_add_to_jump_list[2014/01/25 04:08:33 GMT] [INFO](lime/backend/sublime.sublime_Console:87) Python sez: ํ๋ฌ๊ทธ์ธ Vintageous.motion_cmds ๋ก๋ ์ค[2014/01/25 04:08:33 GMT] [FNST](main.%28 tbfe%29.renderthread:375) ๋ ๋๋ง
[2014/01/25 04:08:33 GMT] [FNST](lime/backend.%28*commandHandler%29.Register:169) ๋น๊ฐ์ญ ํ
์คํธ๋ฅผ ๋ฑ๋กํ๊ณ ์ถ์ต๋๋ค
๋์ผ:
http://pastebin.com/G2yNjmdp
์ข์, Alexey๊ฐ ๋ด go ํจํค์ง์ ๊ณต์ ํจํค์ง๋ฅผ ๋ณํฉํ๋๋ก ๋
ธ๋ ฅํ๊ฒ ์ต๋๋ค.
๊ทธ๋ ๊ฒ ํ๋ฉด ๋ชจ๋๊ฐ ๊ฐ์ ํ์ด์ง์ ์์ ์ ์์ต๋๋ค.
๋ค์์ cmakelists.txt์์ ๋ฆฌ๋ฒ์ค ์์ง๋์ด๋ง๋ ์ฒ์๋ถํฐ ๋๊น์ง ๋น๋ํ๋ ๊ฐ์ด๋์
๋๋ค. ;)
์ ๋ง ๊ฐ์ฌํฉ๋๋ค. ํ์คํ ๋์์ด ๋ง์ด ๋ฉ๋๋ค. 64๋นํธ ๋น๋๋ ํด๋ณด์ จ๋์?
๋๋ํ์ง ์์์ง๋ง ๋์ผํด์ผํฉ๋๋ค.
ํ์ฌ ๋น๋ํ ์คํฌ๋ฆฝํธ๋ฅผ ์ ํํ ์ ์๋ ์คํฌ๋ฆฝํธ๋ฅผ ์์ฑ ์ค์
๋๋ค :D
์ข์. sourceforge์์ msys2์ msys64 ๊ธฐ๋ณธ ๋ค์ด๋ก๋์ ์ฐจ์ด์ ์ ๋ง์ํด ์ฃผ์๊ฒ ์ต๋๊น?
์ ๋ MSYS2์์ Martell ๋ฐ Alexey Pavlov์ ํจ๊ป ์ผํฉ๋๋ค. "์๋ ํ์ธ์"๋ผ๊ณ ์ธ์ฌํ ๊ฑฐ๋ผ๊ณ ์๊ฐํ๋ค.
์ด๋ฌํ ์ธ๋ถ ์ฌํญ ์ค ์ผ๋ถ๋ Martell์ด ์ด๋ฏธ ์ธ๊ธํ์ง๋ง ๋ชจ๋ ํฉ์น ์๋ ์์ต๋๋ค.
msys64๋ WIP ์ด๋ฆ์ด์๊ณ ์ง๊ธ์ MSYS2์ผ ๋ฟ์ ๋๋ค.
์ ์ผํ ๋ฌธ์(๋๋ถ๋ถ์ Arch Linux์ pacman/makepkg ํญ๋ชฉ ์ ์ธ)๋ ๋ค์ ์์น์ ์์ต๋๋ค.
http://sourceforge.net/p/msys2/wiki/MSYS2%20installation/
msys, mingw32 ๋ฐ mingw64์ 3๊ฐ์ ํจํค์ง ์ ์ฅ์๊ฐ ์์ต๋๋ค.
์ ์ฅ์ ์์ค๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
msys: https://github.com/Alexpux/MSYS2-packages
mingw32+mingw64: https://github.com/Alexpux/MINGW-packages
์ ๋ MinGW-w64 Python ํจํค์ง์ ํจ์น(๋ถํํ๋ ๋๋ฌด ๋ง์)๋ฅผ ๊ณต๋ ๊ด๋ฆฌํ๋ฏ๋ก ๊ถ๊ธํ ์ ์ด ์์ผ๋ฉด ์ธ์ ๋ ์ง ์ง๋ฌธํ๊ณ Martell์ด ๋งํ๋ฏ์ด ์ฑํ ์ ํ๊ณ ์ถ๋ค๋ฉด OFTC์ #msys2์ ๋ค๋ฅด์ญ์์ค.
๋ต์ฅ์ ๋๋ฆฌ์ง ๋ชปํด ์ฃ์กํฉ๋๋ค. Github๋ ๋์๊ฒ ์๋ฆผ์ ์ฃผ์ง ์์์ต๋๋ค :/
Ray๋ฅผ ํด๊ฒฐํด ์ฃผ์
์ ๊ฐ์ฌํฉ๋๋ค.
๋น์ ์ ๋๋ณด๋ค msys2์ mingw64์ ๋ํด ๋ ๋ง์ด ์๊ณ ์์ผ๋ฏ๋ก ์ค๋ช
ํ๋ ๊ฒ์ด ์ข์ต๋๋ค :)
์ ๊ฒ ์ด. ๊ณ ๋ง์์.
์ ์๊ฒ msys2๋ ๊ฐ์ฅ ๊ฐ์น ์๋ ํ๋ก์ ํธ ์ค ํ๋์
๋๋ค. ํนํ ํฉ๋งจ์ด ์๋๊ฒ ์ต๊ณ ์
๋๋ค.
์ข์ ๋ง์ ๊ฐ์ฌํฉ๋๋ค. ์ฐ๋ฆฌ์ ํจ๊ปํ๊ณ ํจํค์ง๋ฅผ ์ถ๊ฐํ๊ณ ์ฅ์ ์ ๊ณต์ ํ์ญ์์ค ;-)
์๋๋ฐด๋์ค, ์๋
ํ์ธ์!
MSYS2์๋ 32๋นํธ์ 64๋นํธ ๋ฒ์ ์ด ์์ต๋๋ค. ๊ทธ๋ ๊ธฐ ๋๋ฌธ์ ๋ค์ด๋ก๋ํ ์์นด์ด๋ธ์๋ ๋ ๊ฐ์ง ์ ํ์ด ์์ต๋๋ค.
ํ์ธ. ๋ฐ๋ผ์ msys2๋ ์๋ง๋ 32๋นํธ์ด๊ณ msys64๋ 64๋นํธ์ ๋๋ค. :์๋ค:
ํธ์ง: ์ ๊ฒฝ์ฐ์ง ๋ง์ธ์. 32๋นํธ์ 64๋นํธ์ฉ์ผ๋ก ๋ณ๋์ ๋๋ ํ ๋ฆฌ๊ฐ ์์ต๋๋ค. ์ต๊ทผ ํจํค์ง๋ ๋ชจ๋ msys2๋ก ์ด๋ฆ์ด ์ง์ ๋ฉ๋๋ค.
32๋นํธ(i686) ๋ฐ 64๋นํธ(x86_64)์ ๋ํ ์ ๋ฏธ์ฌ.
๋ค์์ 32๋นํธ MSYS2์
๋๋ค.
http://sourceforge.net/projects/msys2/files/Base/i686/
๊ทธ๋ฆฌ๊ณ ์ฌ๊ธฐ 64๋นํธ:
http://sourceforge.net/projects/msys2/files/Base/x86_64/
๋ค, ๋ฐฉ๊ธ ๊นจ๋ฌ์์ต๋๋ค. ๋ค์์๋ ๋ค๋ฅธ ๋ฐฉ๋ฒ์ด ์๋ ๊ธ์ ์ฐ๊ธฐ ์ ์ ์ดํด๋ด์ผ ํฉ๋๋ค. ์ค๋ง์ผ:
๋๋ C:\msys64๋ฅผ ๊ณ ์ํ๋ ๊ฒฝํฅ์ด ์๊ณ mingw32์ mingw64 ํจํค์ง๋ฅผ ๋ชจ๋ ๊ฐ์ง๊ณ ์์ต๋๋ค.
C:\msys64\mingw32 ๋ฐ C:\msys64\mingw64; ํฉ๋งจ์ด ์ฒ๋ฆฌํฉ๋๋ค.
๊ทธ๋๋ ๊ฑฑ์ ํ์ง ๋ง์ญ์์ค.
2014๋ 1์ 28์ผ ํ์์ผ ์คํ 4:30 EdVanDance [email protected] ์์ฑ:
๋ค, ๋ฐฉ๊ธ ๊นจ๋ฌ์์ต๋๋ค. ๋ค์์๋ ๊ธ์ ์ฐ๊ธฐ ์ ์ ํ ๋ฒ ๋ด์ผ๊ฒ ๋ค.
๋ฐ๋๋ก [image: :smile:]์ด ์ด๋ฉ์ผ์ ์ง์ ๋ต์ฅํ๊ฑฐ๋ Gi tHubhttps://github.com/limetext/lime/issues/228#issuecomment -33495293์์ ํ์ธํ์ธ์.
.
์ด์ ์์ค๊ฐ x86/x64 linux/darwin์์ go get
๊ฐ๋ฅํ๋ฏ๋ก ์ฌ๊ธฐ์๋ ๋ณ๊ฒฝ์ด ํ์ํ ์ ์๋ค๊ณ ๊ฐ์ ํฉ๋๋ค.
์์ง ์ค์น๋์ง ์์๊ฑฐ๋ ๋ค๋ฅธ ๊ฒ์ด ์ค์น๋์ง ์์ ์ Windows ์์คํ ์ ๋ชจ๋ ๊ฒ์ ์ค์นํ๋ ๋ฐ ํ์ํ ๋จ๊ณ์ ๋ํ ์๋ด๋ ๋๋ต์ ์ธ ๊ฐ์๊ฐ ์์ต๋๊น?
https://github.com/limetext/lime/wiki/Building-on-Windows ๋ ํ์คํ ์๋ก๊ณ ์นจ/์ฌ์์ฑ์ด ํ์ํฉ๋๋ค...
๊ณง ์ฒ๋ฆฌํ๊ฒ ์ต๋๋ค.
์๋ํ๋ Lime์ Python ๊ธฐ๋ฅ์ด ํ์ํฉ๋๊น? ๋๋ frontend/html๊ณผ frontend/termbox ๋ชจ๋์์ gopy & sublime(๊ทธ๋ฆฌ๊ณ ๊ทธ๊ฒ์ ์์กดํ๋ ์ธ ์ค)์ import๋ฅผ ์ฃผ์ ์ฒ๋ฆฌํ๋ ค๊ณ ์๋ํ๊ณ rubex์ import๋ฅผ import (rubex "regexp")
๋ก ๋์ฒดํ์ต๋๋ค. html๊ณผ termbox๋ ๋ชจ๋ Windows์์ ๋น๋๋๊ณ ์คํ๋์ง๋ง ์ด์ํ๊ฒ๋ ์ฌ์ฉํ ์ ์๋ ๋ฐฉ์์ผ๋ก ์คํ๋ฉ๋๋ค.
์ด๋ค ์์ด๋์ด? :)
termbox์ ๋ํด ๋ชจ๋ ๋น๋์ ํจ๊ป ์์ฑ๋๋ ๋ก๊ทธ ํ์ผ์์ ์ ๋ณด๋ฅผ ์ป์ ์ ์์ผ๋ฉฐ ์ผ๋ถ vim ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ ๋นํฐ์ง ํ๋ฌ๊ทธ์ธ์ด ์์ผ๋ฏ๋ก ๋จผ์ i
๋ฅผ ๋๋ฅธ ๋ค์ ์
๋ ฅ์ ์์ํด์ผ ํฉ๋๋ค.
@zoli msys๊ฐ mingw python์ gopy and go 1.3.1์์ ์์ ํ 3.4๋ก ์ ๋ฐ์ดํธํ๊ธฐ ๋๋ฌธ์ ํ๋์ ๋น๋ํ ์ ์์์ต๋๋ค.
์ด์ python3.4 ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋์์ผ๋ฏ๋ก msys2 ๋ฐ mingw-64๋ฅผ ์ฌ์ฉํ์ฌ ์ํ ํ ์คํธ๋ฅผ ์์ฑํ๋ ค๊ณ ํฉ๋๋ค.
์ฌ๊ธฐ ๋ด ํ์ฌ ์ค๋ฅ๊ฐ ์์ต๋๋ค
$ go get github.com/limetext/lime/frontend/termbox # github.com/limetext/gopy/lib
..\..\..\mingw64\src\github.com\limetext\gopy\lib\utils.c: In function 'cinit':
..\..\..\mingw64\src\github.com\limetext\gopy\lib\utils.c:503:11: error: 'sigaltstack' undeclared (first use in this function)
stub(&sigaltstack);
^
..\..\..\mingw64\src\github.com\limetext\gopy\lib\utils.c:503:11: note: each undeclared identifier is reported only once for each function it appears in
..\..\..\mingw64\src\github.com\limetext\gopy\lib\utils.c:504:11: error: 'signal' undeclared (first use in this function)
stub(&signal);
^
..\..\..\mingw64\src\github.com\limetext\gopy\lib\utils.c:505:11: error: 'sigaction' undeclared (first use in this function)
stub(&sigaction);
์ด ์ปค๋ฐ์ด Windows์์ gopy๋ฅผ ๊นจ๋ ๊ฒ ๊ฐ์ต๋๋ค.
https://github.com/limetext/gopy/commit/8b1545fdde22aad006ba8596dd7e9ad80ff0dec7
์ด ๋ฌธ์ ๋ฅผ ๋ท๋ฐ์นจํ๊ณ ์ถ์ผ์ ๊ฐ์? ํ์๊ธ์ ๊ฑธ๊ณ ! ์ฐ๋ฆฌ๋ Bountysource ๋ฅผ ํตํด ํ์๊ธ์ ๋ฐ์ต๋๋ค.
๋ด๊ฐ ์ฃผ์์ ๋ฌ๋ฉด์ด ์ค๋ฅ๊ฐ ๋ฐ์ํฉ๋๋ค.
github.com/limetext/gopy/lib(.text): undefined: github.com/limetext/gopy/lib(/4292)
github.com/limetext/gopy/lib(.text): undefined: github.com/limetext/gopy/lib(/6573)
github.com/limetext/gopy/lib(.text): undefined: github.com/limetext/gopy/lib(/6545)
github.com/limetext/gopy/lib(.text): undefined: github.com/limetext/gopy/lib(/6513)
too many errors
@quarnster ์์ด๋์ด๊ฐ ์์ต๋๊น?
๋ค์์ Windows์ msys2์์ ๋ผ์ํ
์คํธ๋ฅผ ๋น๋ํ๊ธฐ ์ํ ๋น๋ ๊ฐ์ด๋์
๋๋ค.
https://gist.github.com/martell/8588075
go 1.3.3 ํจํค์ง๊ฐ ๋ด์ผ ์๋ฒ์ ๋์ฐฉํ ์์ ์ ๋๋ค :)
cinit
๋ Windows์ ๊ด๋ จ์ด ์์ผ๋ฏ๋ก ifdef-edํด์ผ ํฉ๋๋ค. ์ฐ๊ฒฐ ์ค๋ฅ์ ๊ด๋ จํ์ฌ python lib๋ฅผ ์ฌ๋ฐ๋ฅด๊ฒ ์ฐพ์ ์ ์์ต๋๊น?
์, ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ฌ๋ฐ๋ฅด๊ฒ ์ฐพ์ต๋๋ค.
pkg-config๋ /mingw64/include/python3 ํฌํจ ๋๋ ํ ๋ฆฌ๋ฅผ ์ถ๊ฐํฉ๋๋ค.
๋ฐ๋ผ์ lib๋ ์ฌ๋ฐ๋ฅด๊ฒ ์ถ๊ฐํ ๊ฒ์ผ๋ก ๊ธฐ๋ํฉ๋๋ค.
์ค๋ฅ ๋ฉ์์ง๋๋ณ๋ก ๋์์ด๋์ง ์์ต๋๋ค :(
์ฐ๋ฆฌ๋ ๋ฏธ์ง์ ์์ญ์ ์์ผ๋ฏ๋ก ๊ฐ์ ๋ก -lpython3์ ์๋ํฉ๋๋ค.
๊ณง ๋ค์ ๊ฒ์
์ฌ๊ธฐ ๋ด ๊ฒฐ๊ณผ๊ฐ ์์ต๋๋ค.
pkg-config๋ onig๊ฐ ์ค์น๋์ด ์๊ฑฐ๋ ์ค์น๋์ง ์์ ์ ๊ท์์ ๋ํ ํ
์คํธ๊ฐ ์๊ธฐ ๋๋ฌธ์ lib๋ฅผ ์ฌ๋ฐ๋ฅด๊ฒ ์ฐพ๊ณ ์์ต๋๋ค.
์์ด:
$ go test github.com/limetext/rubex
testmain
github.com/limetext/rubex(.text): undefined: onig_free
github.com/limetext/rubex(.text): undefined: onig_number_of_captures
github.com/limetext/rubex(.text): undefined: onig_number_of_names
github.com/limetext/rubex(.text): undefined: onig_region_free
github.com/limetext/rubex(.text): undefined: github.com/limetext/rubex(/63)
github.com/limetext/rubex(.text): undefined: onig_region_new
github.com/limetext/rubex(.text): undefined: github.com/limetext/rubex(/30)
github.com/limetext/rubex(.text): undefined: onig_new
github.com/limetext/rubex(.text): undefined: onig_error_code_to_str
github.com/limetext/rubex(.text): undefined: onig_search
github.com/limetext/rubex(.text): undefined: onig_error_code_to_str
github.com/limetext/rubex(.text): undefined: onig_match
github.com/limetext/rubex(.text): undefined: onig_name_to_backref_number
github.com/limetext/rubex(.text): undefined: onig_foreach_name
FAIL github.com/limetext/rubex [build failed]
์ ํจ๊ป:
$ go test github.com/limetext/rubex
testmain
github.com/limetext/rubex(.text): undefined: github.com/limetext/rubex(/63)
github.com/limetext/rubex(.text): undefined: github.com/limetext/rubex(/30)
FAIL github.com/limetext/rubex [build failed]
ํธ์ง: Windows์์ 32๋นํธ๋ก ์ด๋ํ๋ฉด ๋ ์๋ฏธ ์๋ ์ค๋ฅ๊ฐ ์ธ์๋๋ ๊ฒ ๊ฐ์ต๋๋ค.
$ go get github.com/limetext/lime/frontend/termbox
github.com/limetext/lime/frontend/termbox
github.com/limetext/gopy/lib(.text): undefined: _get_output_format
github.com/limetext/gopy/lib(.text): undefined: ___lc_codepage_func
github.com/limetext/gopy/lib(.text): undefined: ___lc_codepage_func
github.com/limetext/gopy/lib(.text): undefined: ___lc_codepage_func
github.com/limetext/gopy/lib(.text): undefined: ___lc_codepage_func
github.com/limetext/gopy/lib(.text): undefined: ___lc_codepage_func
์ด ๋งํฌ ์ค๋ฅ๋ฅผ ํด๊ฒฐํ๋ ค๋ฉด Visual Studio ๋ฐํ์์ ๋ํด ์ฐ๊ฒฐํด์ผ ํฉ๋๋ค. ๋ถํํ๋ mingw-w64 ์์ฉ ํ๋ก๊ทธ๋จ์ ์ฑ๊ฐ์ v110 ๋๋ v110๊ณผ ๊ฐ์ C++ ๋ฐํ์๋ ์ ํํด์ผ ํฉ๋๋ค.
์ด์ ์ค์ ๋ก ๋น๋ํ ์ ์์ต๋๋ค.
๋ฐ๋ผ๊ฑด๋ ๋๋ ๊ณง exe๋ฅผ ๊ฐ๊ฒ ๋ ๊ฒ์
๋๋ค.
ํธ์ง: ๋๋ termbox๋ฅผ ๋ง๋ค ์ ์์ง๋ง
qml ํ๋ฐํธ ์๋๋ ๋์๊ฒ ์ด๊ฒ์ ์ ๊ณตํฉ๋๋ค
1์ 25์ผ์ ์์ ๊ฐ์ ์ค๋ฅ๊ฐ ํ์๋ฉ๋๋ค.
$ ๋น๋ ์ด๋
github.com/limetext/lime/frontend/qml
C:/msys64/mingw32/pkg/windows_386/gopkg.in/qml.v1.a(_all.o): ์ค๋ณต ๊ธฐํธ ์ฐธ์กฐ: github.com/limetext/gopy/lib(.text) ๋ฐ gopkg.in ๋ชจ๋์์ mingw_onexit /qml%2ev1(.text)
๋ด ํ ๋ฐ์ค ์ถ๋ ฅ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
๋ช ๋ฌ ์ ๋ณด๋ค ์กฐ๊ธ ๋์์ง ๊ฒ ๊ฐ์ง๋ง ์ฌ์ ํ ์ถฉ๋ํฉ๋๋ค.
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*WindowEvent).Call:94) OnNewWindow(2)
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnNew(4)
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnActivated(4)
[2014/10/19 11:32:41 BST] [EROR] (main.setColorMode:614) Unable to use 256 color mode: SetColorMode not implemented on Windows
[2014/10/19 11:32:41 BST] [EROR] (github.com/limetext/lime/backend/packages.funcยท001:98) Error on walking: GetFileAttributesEx ../../3rdparty/bundles/User: The system cannot find the file specified.
[2014/10/19 11:32:41 BST] [EROR] (github.com/limetext/lime/backend/packages.ScanPackets:110) Can't walk: GetFileAttributesEx ../../3rdparty/bundles/User: The system cannot find the file specified.
[2014/10/19 11:32:41 BST] [INFO] (github.com/limetext/lime/backend.(*Editor).loadKeyBinding:183) Loaded ..\..\packages\Default\Default (OSX).sublime-keymap
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*Editor).Watch:414) Watch(&{0x12760400})
[2014/10/19 11:32:41 BST] [INFO] (github.com/limetext/lime/backend.(*Editor).loadKeyBinding:183) Loaded ..\..\packages\Default\Default.sublime-keymap
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*Editor).Watch:414) Watch(&{0x12760420})
[2014/10/19 11:32:41 BST] [INFO] (github.com/limetext/lime/backend.(*Editor).loadKeyBinding:183) Loaded ..\..\packages\Default\Default (OSX).sublime-keymap
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*Editor).Watch:414) Watch(&{0x127ce180})
[2014/10/19 11:32:41 BST] [INFO] (github.com/limetext/lime/backend.(*Editor).loadKeyBinding:183) Loaded ..\..\packages\Default\Default.sublime-keymap
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*Editor).Watch:414) Watch(&{0x127ce1a0})
[2014/10/19 11:32:41 BST] [INFO] (github.com/limetext/lime/backend.(*Editor).loadSetting:199) Loaded ../../packages/Default/Preferences.sublime-settings
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*Editor).Watch:414) Watch(&{0x127e83b0})
[2014/10/19 11:32:41 BST] [INFO] (github.com/limetext/lime/backend.(*Editor).loadSetting:199) Loaded ../../packages/Default/Preferences (Windows).sublime-settings
[2014/10/19 11:32:41 BST] [FNST] (github.com/limetext/lime/backend.(*Editor).Watch:414) Watch(&{0x127d2270})
[2014/10/19 11:32:41 BST] [EROR] (github.com/limetext/lime/backend/packages.(*Packet).Get:47) Couldn't read file: open ../../3rdparty/bundles/User/Preferences.sublime-settings: The system cannot find the path specified.
[2014/10/19 11:32:41 BST] [EROR] (github.com/limetext/lime/backend.(*Editor).loadSetting:197) 1,1: Unexpected EOF, 0-0: "JSON" - Data: ""
[2014/10/19 11:32:41 BST] [FNST] (main.(*tbfe).renderthread:437) Rendering
[2014/10/19 11:32:41 BST] [FNST] (main.(*tbfe).renderthread:437) Rendering
[2014/10/19 11:32:41 BST] [FNST] (main.(*tbfe).renderthread:437) Rendering
์ ํ์ จ์ด์! ์ถฉ๋์ ๋ํ ์ญ์ถ์ ์ ๋ฌด์์ ๋๊น?
"./termbox main.go"๋ก ์์ํ๋ฉด ์ด ํ์ผ์ด ์ฌ๋ฐ๋ฅด๊ฒ ํ์๋ฉ๋๊น?
gopy import + ํธ์ถ์ ์ฃผ์ ์ฒ๋ฆฌํ๋ฉด ์ฌ์ ํ ์ถฉ๋ํฉ๋๊น? ๊ทธ๋ ์ง ์์ ๊ฒฝ์ฐ ํ์ค Go mingw ๋ฌธ์ ์ค ํ๋์ผ ์ ์์ต๋๋ค.
@quarnster : ๋๋ ๋ฐฑ ํธ๋ ์ด์ค์ ๋ํด ์ ํ ๋ชจ๋ฅธ๋ค :(
๋๋ ์ถฉ๋ถํ ์ ์ดํดํ์ง ๋ชปํฉ๋๋ค.
์ด๋ป๊ฒ ๋๋ฒ๊น
ํฉ๋๊น?
๋๋ ์ฌ๊ธฐ์ ๋ก๊ทธ๊ฐ ์์ง๋ง ์ถ๋ ฅ์ ๋ณผ ์ ์์ต๋๋ค.
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*WindowEvent).Call:94) OnNewWindow(2)
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnNew(4)
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnActivated(4)
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnModified(4)
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnSelectionModified(4)
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnLoad(4)
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*Editor).Watch:414) Watch(C:\msys64\mingw32\src\github.com\limetext\lime\frontend\termbox\main.go (4))
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnDeactivated(4)
[2014/10/19 15:26:09 BST] [FNST] (github.com/limetext/lime/backend.(*ViewEvent).Call:60) OnActivated(4)
๋๋ gopy imports๋ฅผ ์ ๊ฑฐํ๊ณ ๋ณผ ๊ฒ์ ๋๋ค.
@martell , Backtrace๋ ํฐ๋ฏธ๋์ ์ ์์ ์ผ๋ก ๋คํ๋์ด์ผ ํฉ๋๋ค. ๋จ, ์ด ๊ฒฝ์ฐ ํฐ๋ฏธ๋์ ํ์ด์ฌํนํ์ฌ ์ผ๋ถ UI๋ฅผ ๋ ๋๋งํ์ฌ ์๋ํ์ง ์์ต๋๋ค. ;)
์ด ํจ์น๋ฅผ ์๋ํ๊ณ ๋ก๊ทธ์ ์ ์ฉํ ์ ๋ณด๊ฐ ์๋์ง ํ์ธํ์ญ์์ค.
diff --git a/frontend/termbox/main.go b/frontend/termbox/main.go
index 4ff2426..bdecd51 100644
--- a/frontend/termbox/main.go
+++ b/frontend/termbox/main.go
@@ -711,7 +711,9 @@ func main() {
termbox.Close()
log4go.Debug(util.Prof)
if err := recover(); err != nil {
- log4go.Crash(err)
+ log4go.Debug(err)
+ log4go.Debug("%s", string(debug.Stack()))
+ time.Sleep(time.Second) // TODO: see issue #260
}
}()
์ด ์ค๋ ๋๋ฅผ ์ํ ์ ๋ฐ์ดํธ๋ก ์๋ก์ด ๋ฌธ์ ๋ก ์ฌ์ค์ ํ ์ ์์ต๋๊น?
@techtonik ๋ซ์ ํ์๊ฐ ์์ต๋๋ค :)
์ฐ๋ฆฌ๊ฐ ๊ฐ์ง๊ณ ์๋ ํจํค์ง๋ฅผ ์
๋ฐ์ดํธํ๊ณ ๋ช ๊ฐ์ง ํจ์น๋ฅผ ์ํํ์ฌ ํ์ฌ ์ด ์ํฉ์ ๋ํด ํ์ธํ๊ฒ ์ต๋๋ค.
์ข์, ํ์ฌ ์ฐ๋ฆฌ๋ ์ฌ์ ํ go ์ธ์ด ์์ฒด์ ์ผ๋ถ๊ฐ Windows์์ ์ ๋๋ก ์๋ํ์ง ์๋ ๊ฐ์ ๋จ๊ณ์ ์๋ ๊ฒ ๊ฐ์ต๋๋ค.
์ด์ ๋ํ 2๊ฐ์ง ๊ฐ๋ฅํ ์๋ฃจ์
์ ํ์ ์ค์
๋๋ค.
๋ ๋ค ํ
์คํธํ๋ ๋ฐ ์ฝ๊ฐ์ ์๊ฐ์ด ํ์ํฉ๋๋ค.
๋๋ ์ฝ ์ผ์ฃผ์ผ ํ์ ์
๋ฐ์ดํธ๋ก ๋์์ฌ ๊ฒ์ด๋ค
์ผ์ฃผ์ผ์ด ์ง๋ฌ์ต๋๋ค. ์ด ๋ฌธ์ ๋ ์งง์ ์์ฝ์ผ๋ก ๋ค์ ํ์ํด์ผ ํฉ๋๋ค. ์ค์ ์ํ๊ณผ ์์ ์๊ฐ์ ๋ชจ๋ ์ ํ์ ๊ฐ์ํ ๋ ํ์ฌ๋ก์๋ ์ด์ ๋ํ ์กฐ์น๋ฅผ ์ทจํ๋ ๊ฒ์ด ๋ถ๊ฐ๋ฅํฉ๋๋ค.
martell, go ์ธ์ด์ ์ด๋ ๋ถ๋ถ์ด Windows์์ ์ ๋๋ก ์๋ํ์ง ์์ต๋๊น? ๋ํ ์ธ์ด ์์ฒด๊ฐ ์๋ go ๊ตฌํ์ ์๋ฏธํ๋ค๊ณ ์๊ฐํฉ๋๊น?
์๋ ! ์๋์ฐ ํฌํ ์ ๋ํ ์์์? ์ง์ ์ด ์์ต๋๊น?
์์ ์ ์ด๋ค ๋ฌธ์ ๊ฐ ์์๋์ง ์ ํ ๋ชจ๋ฅด์ง๋ง Lime-QML์ Windows์์ ์ ๋น๋๋๊ณ ์คํ๋ฉ๋๋ค. ๋ด ์ง์นจ์ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. https://github.com/ricochet1k/lime-qml/wiki/Building-on-Windows-using-MSYS2
์ฐ๋๋ 2017๋
์ด๊ณ ์์ 6์์
๋๋ค. ์ฆ, ๋ฐํ์ด ์์ฑ๋ ํ 1250์ผ์ด ์ง๋ฌ ์ต๋๋ค.
์... ์ฌ๋ณด์ธ์? ๋ง์ง๋ง์ผ๋ก ๋ฏธ๋ฆฌ ์ปดํ์ผ๋ Windows ๋ฐ์ด๋๋ฆฌ๋ฅผ ์ฌ์ฉํด ๋ณผ๊น์?
mingw64 ๋ฐ go lang ๋ฐ ํจ์น์ ์ฐ๊ฒฐ ์ค๋ฅ๋ฅผ ๋ฐ๊ฒฌํ์ต๋๋ค.
๋ง์ง๋ง ์ฐ๊ฒฐ์ ํด๊ฒฐํ๋ ค๋ฉด ๊ณง mingw64-crt์ ํธ์ํด์ผ ํฉ๋๋ค.
pygo ๋ฐ ๊ธฐํ c ๋ฐ์ธ๋ฉ์ ์ค๋ฅ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค.
์ด ํญ๋ชฉ์์ ๋๋ฅผ ๊ตฌ๋ ํด์
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ฐ๋๋ 2017๋ ์ด๊ณ ์์ 6์์ ๋๋ค. ์ฆ, ๋ฐํ์ด ์์ฑ๋ ํ 1250์ผ์ด ์ง๋ฌ ์ต๋๋ค.
์... ์ฌ๋ณด์ธ์? ๋ง์ง๋ง์ผ๋ก ๋ฏธ๋ฆฌ ์ปดํ์ผ๋ Windows ๋ฐ์ด๋๋ฆฌ๋ฅผ ์ฌ์ฉํด ๋ณผ๊น์?