Comments (18)
@sagar-patel-sls the instructions for Ubuntu are the same as for any linux solution:
- Make sure that Golang and any other dependencies are installed
- Clone this repository to your Ubuntu Installation
- Run
make
as documented in the README.md file - Run the application
For step 1, you'll need to google that, because it's unique to each distribution as to how you install Golang/OpenGL/etc.
from lds.
@proffalken is right, it'll change among distros and systems. Now, for Ubuntu 18.04 or similar something like this should get your prerequisites ready:
sudo apt install build-essential libgl1 libgl1-mesa-dev libgl1-mesa-glx redis-server
Then download Go's latest version from https://golang.org/dl/ and follow the instructions.
Finally, clone the repo, cd into it and run make
. This should install dependencies using Go modules and compile the program into the gui
executable.
I added this to the readme.
from lds.
@sagar-patel-sls have you deleted the entire directory, re-cloned the repository and tried again?
(Also, please paste the output of the command here as text rather than screenshots as it is far easier to read. You can do this by selecting the text in the terminal window, right-clicking, selecting copy, pasting it here and then format it using the <>
button on the toolbar above)
from lds.
Thanks.
That seems to be a different error to the one you reported above in regard to the undefined variables?
I suspect that you're missing a dependency somewhere, but I don't know enough about GO to be sure.
from lds.
Actually, those are just warnings related to this issue: go-gl/glfw#213.
Those are pulled in by imgui-go, so I have no control over them, but everything runs fine and they may be ignored for the time being.
from lds.
Hi, @sagar-patel-sls. I've just tested this on a fresh install of Linux Mint and added the missing xorg-dev dependency to the Readme building instructions. That should work for Debian, Ubuntu and mostly any Debian based distro as well, so I'll close this issue for now. Feel free to reopen it if you find any other building issue. Thanks for your report!
And thanks @proffalken for all the help!
Cheers!
from lds.
Hi! I don't use Windows and am not familiar with it, but I believe OpenGL ships with it, so you shouldn't have problems with that. Check imgui-go and the underlying library, Dear ImGui, for more instructions or issues related to Windows. You should also have gcc (or whatever is used) as the Go library is just a wrapper to a C one and uses cgo.
As for Redis, maybe follow this or this and see if it works, or use some ready docker image.
After meeting those requirements, it should just be a matter of building. Be sure to have Go 1.11 or 1.12 installed and Go modules support enabled so that's just a matter of running make
. I do know that a colleague of mine was able to run it in his Windows machine before I added Redis, so I don't see why you couldn't.
That said, not only don't I use Windows, I don't even have a running installation of it, so I'll probably won't be able to give any Windows specific support. I'll leave this open though in case you face any problems and somebody else is able to help.
from lds.
Thanks @iegomez
can you give me steps of Ubuntu 18.04 system.
from lds.
Hii @iegomez @proffalken
i follow above step for Ubuntu 18.04 but i still get below screenshot error
Can you please help me?
Thanks
from lds.
Sorry, I had a bad entry at gitignore so a file wasn't pushed. If you pull from master now it should work.
from lds.
@sagar-patel-sls, dit it work?
from lds.
@iegomez i will try master
branch
Thank you
from lds.
I also did a new release fixing the issue. I'll wait for your confirmation on this to close it or take any further action.
from lds.
@iegomez
i also try with master
branch but still i got same error. (OS: Ubuntu 18.04 LTS)
Thank you
from lds.
@sagar-patel-sls You must be missing a library or a step somewhere.
Did you create the conf.toml
file as specified in the README file?
I can confirm that the current master downloads, compiles, and runs perfectly on my laptop, the only difference is that I'm running Arch Linux instead of Ubuntu (which I wouldn't recommend unless you are very familiar with how Linux works!).
Those errors look like strings/variables aren't defined in your configuration file to me...
from lds.
No, those are indeed the functions at lds/keys.go
, the file that was missing before. So it seems as if the pull from master failed, you are compiling your old version or something is getting cached. I also just downloaded the latest release and compiled it without issues, so I'd recommend that you delete everything concerning the package and download release 0.1.1 or clone the repo again.
from lds.
Hii @proffalken @iegomez
i have tried with release 0.1.1
also create conf.toml
file as specified in the README file but i still get error
Thank you
from lds.
@proffalken i have deleted entire directory, re-cloned the master
repository
please find below output of the command
go build -o gui
# github.com/go-gl/glfw/v3.2/glfw
In file included from ../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/c_glfw_linbsd.go:24:0:
../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/glfw/src/linux_joystick.c: In function ‘_glfwInitJoysticksLinux’:
../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/glfw/src/linux_joystick.c:224:42: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 9 [-Wformat-truncation=]
snprintf(path, sizeof(path), "%s/%s", dirname, entry->d_name);
^~~~~~~
In file included from /usr/include/stdio.h:862:0,
from /usr/include/X11/Xcursor/Xcursor.h:26,
from ../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/glfw/src/x11_platform.h:39,
from ../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/glfw/src/internal.h:169,
from ../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/glfw/src/x11_init.c:28,
from ../../go/pkg/mod/github.com/go-gl/[email protected]/v3.2/glfw/c_glfw_linbsd.go:19:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: note: ‘__builtin___snprintf_chk’ output between 12 and 267 bytes into a destination of size 20
return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thank you
from lds.
Related Issues (20)
- Communication through UDP Packet forwarder HOT 8
- Working with several servers machines HOT 7
- device addr is equal to 0 in ABP HOT 2
- tmst parameter type issue with forwarder HOT 1
- GUI crash when scrolling output window HOT 8
- Re-join by UDP gives MAC Payload decrypt error HOT 4
- Port GUI to GIO UI HOT 5
- Use LDS as a Library / inside a script HOT 1
- Ubuntu 18.04 needs libgles2-mesa-dev HOT 1
- client crashes after connection to mqtt HOT 5
- Repo maintenance HOT 3
- floating point fbos not supported HOT 5
- I don't receive the encoded data HOT 4
- Error while running cli HOT 3
- Create an executable for windows HOT 2
- Cannot join device simulator to ChirpStack via OTAA HOT 3
- run make HOT 3
- Docker Env HOT 1
- i need some help for use this simulator. HOT 3
- Several segmentation faults HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lds.