Dependencies: Sockpp fails to build on Cygwin. #67
Labels
No Label
Bug
Build Problems
Discussion
Distribution
Enhancement
Far Future
Fix Later
TODO
WONTFIX
Workflow
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BodgeMaster/FOSS-VG#67
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
When digging into why, I found that sockpp thinks it is being built against Windows libs when building against Cygwin. However, patching that out only reveals more problems as Cygwin itself appears to be missing a bunch of things sockpp expects to be there.
This is not a problem now but it will be for when we actually want to ship something.
There are three ways to handle this:
Ignore it.
While being the easiest, this will ultimately lead to fewer users. Windows users tend to not be the most technical ppl so they will probably not want to deal with WSL or similar where we could just provide a more traditional installer that ships Cygwin as part of the distribution instead. Also ppl don’t want to go through a bunch of manual setup to try out software.
Fix Sockpp.
Unknown amount of work. We might be able to upstream this. Seems like a good option if it’s not too much work.
Build it against Windows.
If it works, relatively little work. Assuming this works, we could just build sockpp against the Windows API and use the resulting DLLs in the project. This will, however, most likely require actual Windows development tools which will make the build process more complex.
I Can Offer a Windows Development box, and when we distribute it we will have to distribute our main exe built. I use evlipse for my dev enviroment. Plugin list needed (eclipse ones)
If possible, we can try and build a compatible compiler into our foss-VG launcher.
I have a Windows box, that’s not a problem.
(Otherwise, I wouldn’t know this doesn’t work lol)
Edit: Typo
Option 2 was chosen, Sockpp is getting patched on the fly while setting up the project.
Unfortunately, the produced cygdll doesn’t work.
Sockpp is getting removed from the project.