You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'v get this error:
.....
main(.text): _ZN4gdcm6System18GetLastSystemErrorEv: not defined
main(.text): _ZN4gdcm5Trace14GetDebugStreamEv: not defined
main(.text): undefined: ZN4gdcm25CompositeNetworkFunctions5CEchoEPKctS2_S2
main(.text): undefined: _ZNK4gdcm7DataSet8GetDEEndEv
.....
how to fix this??
The text was updated successfully, but these errors were encountered:
mikioh
changed the title
main(.text):*****: not defined error then link lib in windows
cmd/internal/ld: main(.text):*****: not defined error then link lib in windows
Mar 11, 2015
"main(.text):*****: not defined" error then link lib in windows
i use this config
go version go1.4.2 windows/amd64
GOROOT=c:\go
GOBIN=
GOARCH=amd64
GOOS=windows
GO_ENABLED=1
PATH=C:\mingw64\bin;%GOROOT%\bin;%PATH%;
LITEIDE_GDB=gdb64
LITEIDE_MAKE=mingw32-make
LITEIDE_TERM=%COMSPEC%
LITEIDE_TERMARGS=
LITEIDE_EXEC=%COMSPEC%
LITEIDE_EXECOPT=/C
the i try compile and use this cgo dirrective
// #cgo CPPFLAGS: -I"C:/GDCM/include/gdcm-2.4"
// #cgo LDFLAGS: -L"C:/GDCM/lib" -lgdcmgetopt -lgdcmcharls -lgdcmMSFF -lgdcmMEXD -lsocketxx -lgdcmMSFF -lgdcmjpeg8 -lgdcmjpeg12 -lgdcmjpeg16 -lgdcmopenjpeg -lgdcmDICT -lgdcmIOD -lgdcmexpat -lgdcmDSED -lgdcmCommon -lgdcmzlib -lWs2_32
// #include "gdcmgobr.h"
i'v get this error:
.....
main(.text): _ZN4gdcm6System18GetLastSystemErrorEv: not defined
main(.text): _ZN4gdcm5Trace14GetDebugStreamEv: not defined
main(.text): undefined: ZN4gdcm25CompositeNetworkFunctions5CEchoEPKctS2_S2
main(.text): undefined: _ZNK4gdcm7DataSet8GetDEEndEv
.....
how to fix this??
The text was updated successfully, but these errors were encountered: