Search found 248 matches

by 4aiman
Thu Jul 13, 2017 7:12 am
Forum: Support and Development
Topic: Building love for SliTaz -help needed
Replies: 11
Views: 2544

Re: Building love for SliTaz -help needed

Or, you could have passed full path to gcc in configure flags, or in config file. That said, having foreign compiler as default indicates that your installation is botched. You may want to try again, more carefully. Ah.... No offense, but do you even have a copy of slitaz installed? All I did was ....
by 4aiman
Wed Jul 12, 2017 10:52 pm
Forum: Support and Development
Topic: Building love for SliTaz -help needed
Replies: 11
Views: 2544

Re: Building love for SliTaz -help needed

I've removed mingw (although I'll need it later for a different project) and tried again.
Automagic and configure went just fine.
Here's make output: click (Warning! VERY huge.)
Now it uses g++ O_o
by 4aiman
Wed Jul 12, 2017 8:25 pm
Forum: Support and Development
Topic: Building love for SliTaz -help needed
Replies: 11
Views: 2544

Re: Building love for SliTaz -help needed

raidho36 wrote:
Wed Jul 12, 2017 7:54 pm
readme info
Sorry, but I'm able to read readmes. What you've mentioned is exactly what I've done. All goes well up until make stumbles upon enet.

Edit: I *do* have mingw installed, could it be mingw is being "chosen" to build love?
by 4aiman
Wed Jul 12, 2017 7:10 pm
Forum: Support and Development
Topic: Building love for SliTaz -help needed
Replies: 11
Views: 2544

Building love for SliTaz -help needed

Since I have found no ready-to-use package and debian packages require newer core libs (like libc) I started my struggles to build love2d for SliTaz rolling. Note: I'm using a 0.9.2 codebase. The first step was to build DevIL. Done that (w/o libsquash). Then there were several dependency-related iss...
by 4aiman
Wed Jul 12, 2017 8:52 am
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 32153

Re: sock.lua - A simple networking library for LÖVE

A thread is "killed" when it returns; that should be enough. Except when an error occurs in a thread. Then it (a thread) seems to not exit at all. I can do thread:getError() as many times as I want till the rest of the lifespan of the main app that has created that thread in the first place. You ca...
by 4aiman
Tue Jul 11, 2017 10:17 pm
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 32153

Re: sock.lua - A simple networking library for LÖVE

I believe that, once you've yielded the coroutine... I'm using love.thread rather than coroutines. Actually, there's no way to kill a server too - no server:stop() or any other equivalent. Not sure nilling will do the job and underlying eNet will acknowledge the fact that the nilled server is no mo...
by 4aiman
Tue Jul 11, 2017 5:57 pm
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 32153

Re: sock.lua - A simple networking library for LÖVE

Nuthen224, zorg, thanks!
I've been able to offload all the gimme-those-files stuff to a separate thread.
Threads appeared not as bad as those seemed to be.
If only I could kill one... but that's for a different thread ;)
by 4aiman
Mon Jul 10, 2017 2:25 pm
Forum: Support and Development
Topic: [Solved] How to kill thread on any error?
Replies: 10
Views: 6163

[Solved] How to kill thread on any error?

So, I've started a thread, put a call of inexistent function and caught a error from that thread in the main app.
The problem is thread doesn't stop on error, but continue to throw errors.

Is there a way to reliably stop server if anything throws error within it?
by 4aiman
Sun Jul 09, 2017 11:06 pm
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 32153

Re: sock.lua - A simple networking library for LÖVE

Thanks, zorg! So, theoretically, if instead of sending from love.update I will create a new thread and somehow manage to maintain communication with a client... Gotta try :) Sorry for digressing, but is it "normal practice" to create a new server in a new thread, tell client to connect there to get ...
by 4aiman
Sun Jul 09, 2017 10:35 am
Forum: Libraries and Tools
Topic: sock.lua - A simple networking library for LÖVE
Replies: 80
Views: 32153

Re: sock.lua - A simple networking library for LÖVE

Could anyone tell me how to un-freeze the app while it is sending a file? Some info on how I'm doing that first, the symptoms after that. (see at the bottom of the post, please) What I'm doing is letting a client to download some files from the server. The logic is like this (S-Server, C-client): C ...