Man Python
Man Python
I'm not sure about the sys vars (should be as here https://github.com/kitech/qt.go/issues/43#issuecomment-522253177) and sets CGO_CFLAGS & CGO_LDFLAGS (or do this by set in cmd?). ``` C:\>set CGO_CFLAGS=-ID:/qtenv/include -ID:/qtenv/lib/libffi-3.2.1/include/ C:\>set CGO_LDFLAGS=-LD:/qtenv/lib...
No special changes by this comand ``` C:\>go build -v -x E:\gopath\go\src\github.com\kitech\qt.go\examples\button.go WORK=C:\Users\xxx\AppData\Local\Temp\go-build612429062 github.com/kitech/qt.go/qtrt mkdir -p $WORK\b034\ cd E:\Go\src\github.com\kitech\qt.go\qtrt pkg-config --cflags -- libffi # pkg-config --cflags -- libffi pkg-config: exit...
@kitech I think that in `qtrt` are problems with the .h files eg. `#include "ffi.h"` and other related to .c files Can you compare own repo with the git or...
@kitech I think that I found the problem https://github.com/kitech/qt.go/blob/master/qtrt/c.go Your file ``` package qtrt /* #cgo pkg-config: libffi */ import "C" ``` My sugestion: ``` package qtrt // #cgo pkg-config:...
Now I have error like: ``` Go\src\github.com\kitech\qt.go\qtrt\ffi_invoke.go:10:17: fatal error: ffi.h: No such file or directory compilation terminated. ``` If adding: https://github.com/libffi/libffi/blob/master/include/ffi.h.in ``` Go\src\github.com\kitech\qt.go\qtrt\ffi_invoke.go:10:0: ./ffi.h:52:9: error: macro names must be identifiers...
Regarding the question https://github.com/kitech/qt.go/pull/45#issuecomment-523003224 yeah.. You are right, the path on windows na lnx are diffrent. But this can be wroted on help/instalation md as information Soo.. I still don't...
> I remember this should work. Maybe need use '/' for path seperate. You mind `// #cgo LDFLAGS: -LD:/qtenv_win64/lib/` ? Thats not helping I'm on WinOS, and double \\ not...
@kitech What about the .h files and `ffi_invoke.go` as in post https://github.com/kitech/qt.go/issues/43#issuecomment-522338868 ?
@kitech but is the errors related are unexpected or related with GO or OS like win? Esspecialy the `#ifndef @TARGET@` errors. Do you plan repair something here? Or not coz...
``` x86_64-w64-mingw32/bin/ld.exe: cannot find -ldl collect2.exe: error: ld returned 1 exit status ``` There is many calls for dl eg. dl.go // #cgo LDFLAGS: -ldl` dl_windows.go // #cgo LDFLAGS: -ldl...