Hello, Axel,
I like your concept and I am applying it. But I believe that the code in
your blog post is broken. In various places you call
head, r.URL.String = SplitPath(r.URL.String)
But r.URL.String is a function, not a property. This code doesn't compile.
I think perhaps maybe you meant
On Fri, Jun 23, 2017 at 2:52 PM, wrote:
> go version go1.7.4 linux/amd64
>
>
> The link you're referring to is an issue with the LANG env variable; mine is
> set to LANG=en_US.UTF-8 which the OP mentioned go build succeeds with
Is it possible that you are using a different version of gcc and g++
go version go1.7.4 linux/amd64
The link you're referring to is an issue with the LANG env variable; mine
is set to LANG=en_US.UTF-8 which the OP mentioned go build succeeds with
On Friday, June 23, 2017 at 2:43:11 PM UTC-7, Ian Lance Taylor wrote:
>
> On Fri, Jun 23, 2017 at 2:09 PM, >
> wr
On Fri, Jun 23, 2017 at 2:09 PM, wrote:
>
> Hi, I'm trying to wrap a c++ library with swig to be called by Go.
>
> I've gotten "go build" to run up to the point to where I get the error:
> g++-4.8: error: unrecognized command line option '-no-pie'
>
> The library I'm using is only supported up to
On Fri, Jun 23, 2017 at 11:27 AM, wrote:
>
> I'm using go version 1.7.4 on linux/amd64 and trying to run go build on a
> .swigcxx file. I also have a .go file that has the package name and string:
> import "C"
> package mdm
>
>
> import "C"
>
>
>
> My .swigcxx file is trying to include a library
Don't forget the linker flags ...
#cgo LDFLAGS: -L -l
--
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 option
Got past that error now :) was missing a space between multiple -I
On Friday, June 23, 2017 at 2:08:59 PM UTC-7, Sebastien Binet wrote:
>
>
>
> On Fri, Jun 23, 2017 at 10:53 PM, >
> wrote:
>
>> Thanks. My .go file contains just the following:
>>
>> package mypackage
>> // #cgo CXXFLAGS: -I/usr/fo
Hi, I'm trying to wrap a c++ library with swig to be called by Go.
I've gotten "go build" to run up to the point to where I get the error:
g++-4.8: error: unrecognized command line option '-no-pie'
The library I'm using is only supported up to g++ 4.8. Is there any way
around this command?
--
On Fri, Jun 23, 2017 at 10:53 PM, wrote:
> Thanks. My .go file contains just the following:
>
> package mypackage
> // #cgo CXXFLAGS: -I/usr/folder/subfolder
> import "C"
>
> and when I do "go build" or "go build -x" I get an error that the #include
> library i'm using is not found. has anyone ru
Thanks. My .go file contains just the following:
package mypackage
// #cgo CXXFLAGS: -I/usr/folder/subfolder
import "C"
and when I do "go build" or "go build -x" I get an error that the #include
library i'm using is not found. has anyone run into this before?
On Friday, June 23, 2017 at 1:39:2
On Fri, Jun 23, 2017 at 10:28 PM, wrote:
> Could someone elaborate how the CXXFLAGS will look in the .go file?
>
> Is it like
> // #cgo CXXFLAGS: -I/
>
>
>
yes.
more precisely:
// #cgo CXXFLAGS: -I/path/to/some/folder
import "C"
with no blank like between the comment with the preprocessor-like
Could someone elaborate how the CXXFLAGS will look in the .go file?
Is it like
// #cgo CXXFLAGS: -I/
On Thursday, April 13, 2017 at 4:35:54 PM UTC-7, larry104 wrote:
>
>
>>
>> CXXFLAGS
>>
>> See https://golang.org/cmd/cgo .
>>
>> Ian
>>
>
> Cool - that works now like a charm - so much simpl
Stable Version : gopkg.in/resty.v0
Edge Version : github.com/go-resty/resty
godoc : https://godoc.org/github.com/go-resty/resty
*Changelog:*
- Added Retry timeouts shortcuts to default resty client PR #73 @bak1an
- Do not set `X-User-Agent` in the request PR #77 @Robbilie
Hi,
I'm using go version 1.7.4 on linux/amd64 and trying to run go build on a
.swigcxx file. I also have a .go file that has the package name and string:
import "C"
package mdm
import "C"
My .swigcxx file is trying to include a library and methods from this
library:
%module mdm
${
#include
As a Midsummer greeting from the Northern Hemisphere to all fellow
golang-nutters,
here's a text about a somewhat unusual case of functional programming in Go:
https://github.com/yourbasic/func
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group
15 matches
Mail list logo