- 06 Mar 2013 01:05:42 pm
- Last edited by Lionel Debroux on 02 Oct 2021 01:41:01 am; edited 1 time in total
Addendum to what fortytwo wrote: before using https://github.com/debrouxl/tilp_and_gfm/blob/master/tilp/trunk/build/scripts/install_tilp.sh , uninstall all libti* and tilp packages you downloaded from the USC, and install the build dependencies (listed inside the script).
[quote=Jonimus]Lionel, another issue we need to fix before the next windows release is the default file location when built with mingw. When MSVC was the official release compiler this wasn't an issue but now it is built with mingw we shouldn't special case it and default to g_get_home_dir() like we do for other OS's. The relevant code is in tilp_paths.c at line 93. This one has annoyed me for a while and tifreak8x also recently ran into it so I took the time to track it down.[/quote]
I do trust you and tifreak about the fact that there's an issue... but would you be so kind as to explain me how it manifests ?
The new code in tilp_config.c does no longer attempt to write the config to Program Files, so the issue you're pointing shouldn't exist ?
A good suggestion, but clearly TILP II 1.18 material.
OK, thanks for the update on that task. Too bad the API is so slow...
The Git trees created a while ago should do the job (through not as well as the new repo organization), even if at the time of this writing, I haven't pushed the latest SVN commits to the Git tree (I haven't automated the process).
It would be slightly easier for me, but compiling TilEm and TIEmu would therefore require checking out gfm+tilp as well, which is not necessarily what Benjamin & Thibault (for TilEm) and myself (assuming I'm spending some time to give a little love to the unmaintainable pile of patched forks, event loop mixup and fragile build system that TIEmu is) want.
That could work, though the current build scripts do the job and would require little in the way of modifications. IOW, the task of making a unified autoconf setup to stick several autoconf folders together might conceivably be delayed a bit.
`autoreconf -i -f` is usually good enough as an autogen.sh.
EDIT in 2021: updated the link to the *nix install script.
[quote=Jonimus]Lionel, another issue we need to fix before the next windows release is the default file location when built with mingw. When MSVC was the official release compiler this wasn't an issue but now it is built with mingw we shouldn't special case it and default to g_get_home_dir() like we do for other OS's. The relevant code is in tilp_paths.c at line 93. This one has annoyed me for a while and tifreak8x also recently ran into it so I took the time to track it down.[/quote]
I do trust you and tifreak about the fact that there's an issue... but would you be so kind as to explain me how it manifests ?

Quote:
I also think we should remove the checks for the old config file in program files and just inform people that old configs will be ignored in the new version. This should solve the issue of someone running as admin once and writing the config in program files and if they try to do it again failing. It might annoy a few XP users and people on Vista/7 who have UAC disabled but for security and future compatibility it needs to be done.
The new code in tilp_config.c does no longer attempt to write the config to Program Files, so the issue you're pointing shouldn't exist ?
Quote:
We also need to look at making libusb-1.0 based libticables builds on windows possible because it currently appears that due to a change in the driver signing requirements may make libusb-win32's libusb0.sys not an option on Windows 8 machines. While 1.0 doesn't work with the filter driver the latest git does work with our current libusb0.sys standard driver as well as WinUSB which is installed by default or available via Windows Update on all machines running Vista or newer. (XP is a separate download but available at least)
A good suggestion, but clearly TILP II 1.18 material.
Quote:
As I've mentioned on IRC I have also gotten Proof Of Concept driverless Blacklink / $4link support on windows working but it is far too slow to be usable atm. It works, slowly, with my TI-86 at least, but the faster calcs such as the TI84+SE seem to give up faster than I can toggle the lines with my current code. I have some ideas to speed it up namely only switching the lines I need rather than switching all of them all the time. Espcially since via the Windows Comm API, namely EscapeCommFunction, can only switch one of the out lines at a time so its currently two outputs per write rather than one. Inlining my helper function would also perhaps help but I have a feeling the API call is the biggest slowdown. I already had to remove the delay in order to not have it timeout every time.
OK, thanks for the update on that task. Too bad the API is so slow...
Quote:
Having a git tree to work off of would be grand we really need to get that setup, svn just doesn't really cut it for this sort of thing and the branching/merging is horrid.
The Git trees created a while ago should do the job (through not as well as the new repo organization), even if at the time of this writing, I haven't pushed the latest SVN commits to the Git tree (I haven't automated the process).
Quote:
Finally on the subject of moving to git. Since tilp is basically the main consumer of libti* moving to a single large git tree maybe wouldn't be the worst.
It would be slightly easier for me, but compiling TilEm and TIEmu would therefore require checking out gfm+tilp as well, which is not necessarily what Benjamin & Thibault (for TilEm) and myself (assuming I'm spending some time to give a little love to the unmaintainable pile of patched forks, event loop mixup and fragile build system that TIEmu is) want.
Quote:
Two, one for the libs and one for the GUI would also be a an option, either way a unified autoconfig setup would and should be integrated if we make that move.
That could work, though the current build scripts do the job and would require little in the way of modifications. IOW, the task of making a unified autoconf setup to stick several autoconf folders together might conceivably be delayed a bit.
Quote:
But we really need to remove configure and other autoconf generated files from the VCS tree. To facilitate easy testing something like mesa's autogen.sh would be an easy way to facilitate this.
`autoreconf -i -f` is usually good enough as an autogen.sh.
EDIT in 2021: updated the link to the *nix install script.