On Wed, Mar 1, 2017 at 8:13 AM, Chun Zhang <czha...@gmail.com> wrote:
> Just wondering, is there any chance that I didn't place some file in the
> correct place? The directory tree is as follows,
> ├── bin
> ├── example
> │   └── COLOR_test
> │       ├── COLOR_test.cpp
> │       └── SessionKey.hpp
> ├── include
> │   └── COLOR.h
> ├── lib
> │   ├── libboost_filesystem.a
> │   ├── libCOLOR.a
> │   └── libxml2.a
> ├── libcolor
> ├── libcolor.go
> ├── libcolor.swigcxx
> ├── README
>
> When I issue `go build -x`, go and swig insists to generate another
> libcolor.go file in the tmp $WORK directory, thus none of the directives
> defined in above libcolor.go file is picked up.

It's possible that there is a bug such that it won't work to have both
x.swigcxx and x.go in the same package.  Maybe you should rename
libcolor.go.

Ian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to