首先交代一下运行环境和工具版本:
WIN10
MINGW64
ORACLEINSTANCCLIENT_18_3 x64
Jetbrins Goland
编译阶段:
1. exec: "gcc": executable file not found in %PATH%
2. exec: "pkg-config": executable file not found in %PATH%
3. cannot use (**_Ctype_struct_OCIServer)(unsafe.Pointer(&conn.svc))
(type **_Ctype_struct_OCIServer) as type **_Ctype_struct_OCISvcCtx
in argument to func literal
运行阶段:
1. Process finished with exit code -1073741701 (0xC000007B)
2. exit status 3221225595
开始
一、下载ORACLEINSTANCCLIENT 和对应的SDK
下载地址:https://www.oracle.com/technetwork/topics/winx64soft-089540.html
我选用了18.3 x64的版本,能向下兼容,不用担心
注意basic版本和sdk都需要下载下来,一共是两个文件