-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build rticommunity/telegraf on Windows #1
Comments
I just updated the dependency config file with the latest of Go connector. Can you please try it out and see if it helps? Thanks! |
@kyoungho that seemed to help, but I'm getting a different error now:
This seems relevant |
Here is the verbose output of
|
Can you try to build it with Go 1.14 or build a vanilla Telegraf? I am trying to understand this issue is caused by DDS plugins or not. I do not have a Windows machine so I cannot reproduce it on my end. |
The build went through successfully using 1.14.9, but I can only test its proper operation with Influx tomorrow. I will update this page once I do that. Thank you for the quick support @kyoungho, I appreciate it! |
I'm not too familiar with Go or CGo, but if you could supply instructions on how to add the |
Sounds good. Thanks your update! |
Description:
I am unable to compile rticonnextdds-connector-go on Windows (as part of the rticommunity/telegraf installation) due to missing symbols in the supplied
telegraf\vendor\github.com\rticommunity\rticonnextdds-connector-go\rticonnextdds-connector\lib\x64Win64VS2013\rtiddsconnector.dll
. Specifically, the missing symbols areRTI_Connector_get_boolean_from_infos
andRTI_Connector_get_json_from_infos
, which are declared inrticonnextdds-connector-go\include
How to reproduce:
I first cloned the
rticommunity/telegraf
repo, according to these instructions:I then ran
This is the command executed by
make
with the addition of the verbose output flag:-x
.The output is as follows:
The linker is unable to find symbols
RTI_Connector_get_boolean_from_infos
andRTI_Connector_get_json_from_infos
.To confirm, I ran
which supplied the following output
As you can see, the two symbols are indeed missing.
The symbols are also missing in the 32-bit dll found at
telegraf\vendor\github.com\rticommunity\rticonnextdds-connector-go\rticonnextdds-connector\lib\i86Win32VS2010
The symbols ARE present in the dlls in the master branch of rticommunity/rticonnextdds-connector so I suspect this is an issue in the versioning of the dependency downloader.
System information:
Operating system: Windows, MinGW
Platform (e.g. x64Linux2.6gcc4.4.5):
Output of
gcc -v
is as follows:Go version:
The text was updated successfully, but these errors were encountered: