Bug 30827 - Build iTALC for Windows
Build iTALC for Windows
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: iTALC
UCS@school 3.1
Other Linux
: P5 normal (vote)
: UCS@school 3.1 R2
Assigned To: Sönke Schwardt-Krummrich
Jascha Geerds
: interim-1
: 30307 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-20 11:04 CET by Sönke Schwardt-Krummrich
Modified: 2013-06-07 21:38 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Release Goal
Max CVSS v3 score:


Attachments
Fix for missing symbols in windows build (2.30 KB, patch)
2013-04-16 22:04 CEST, Sönke Schwardt-Krummrich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2013-03-20 11:04:58 CET
The current build of iTALC for Windows hosted on sourceforge.net is not installable on every architecture. We should try to build iTALC for Windows from scratch.
Comment 1 Florian Best univentionstaff 2013-03-27 09:43:39 CET
*** Bug 30307 has been marked as a duplicate of this bug. ***
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-04-05 15:02:42 CEST
iTALC has been build from source (git c4599ded10ad4d9fd3f5e03f3f433a01fa2a6370) under ubuntu 12.04 with the cross compiler of Tobias Doerffel.
This seems to work as expected under Win7 but on Windows XP the iTALC service does not get registered nor started:

Der Prozedureinsprungpunkt "_vswprintf" wurde in der DLL "msvcrt.dll" nicht gefunden.

Possible solution:
http://sourceforge.net/apps/trac/mingw-w64/wiki/_vswprintf%20missing
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2013-04-05 15:06:20 CEST
(In reply to comment #2)
> Possible solution:
> http://sourceforge.net/apps/trac/mingw-w64/wiki/_vswprintf%20missing

Addendum: 
the problem has been noticed with Win XP SP3 32bit and Win XP SP1 64 bit

Windows 7 32bit and Windows 7 64bit didn't show that error message upon calling:

c:\programme\italc\ica.exe -registerservice
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2013-04-16 22:04:36 CEST
Created attachment 5175 [details]
Fix for missing symbols in windows build

The attached patch fixes the build flags for windows builds.
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2013-04-19 12:09:47 CEST
(In reply to comment #4)
> Created an attachment (id=5175) [details]
> Fix for missing symbols in windows build
> 
> The attached patch fixes the build flags for windows builds.

The patch has been merged by Tobias Doerffel into the italc git repository:
---[cut]---
commit 0ff238c96346daf68d4000868d560afd51719375
Author: Tobias Doerffel <tobias.doerffel@gmail.com>
Date:   Thu Apr 18 22:35:44 2013 +0200

    ICA, IMA, IMC: use MinGW ANSI stdio support on Win32
    
    According to http://sourceforge.net/apps/trac/mingw-w64/wiki/_vswprintf%20missing
    calls to vswprintf are implemented as calls to _vswprintf() which
    is not implemented in various older versions of msvcrt.dll and thus iTALC
    does not work on these Windows installations.
    
    Thanks to Sönke Schwardt-Krummrich for pointing out this issue.
---[cut]---
Comment 6 Sönke Schwardt-Krummrich univentionstaff 2013-05-05 20:21:22 CEST
(In reply to comment #2)
> iTALC has been build from source (git c4599ded10ad4d9fd3f5e03f3f433a01fa2a6370)
Hint: the video mode is broken in newer versions! (state of today!)

Installation and video mode successfully tested on:
- Win XP 32bit
- Win 7 Professional 64bit
Comment 7 Sönke Schwardt-Krummrich univentionstaff 2013-05-13 11:02:51 CEST
> Installation and video mode successfully tested on:
> - Win XP 32bit
> - Win 7 Professional 64bit

- Win XP 64bit
- Win 7 Pro 32bit
- Win 8 32bit
- Win 8 64bit

→ RESOLVED
Comment 8 Jascha Geerds univentionstaff 2013-05-28 13:19:22 CEST
Bug: OK
Changelog: OK

Verified!
Comment 9 Jascha Geerds univentionstaff 2013-05-28 14:06:37 CEST
I have tested the following cases:

- Installation
- Video/Demo mode
- Screen (un)lock
- Input devices (un)lock
- Shutdown
- Reboot
- Log off

Specific to the UMC module:
- Switch room
- Take over a room
- Session timeout

Cases where it is possible to select multiple machines for the abovementioned actions have been tested too. Looks solid!

Systems:
- Windows XP 32-Bit
- Windows XP 64-Bit
- Windows 7 32-Bit
- Windows 7 64-Bit
- Windows 8 32-Bit
- Windows 8 64-Bit
Comment 10 Sönke Schwardt-Krummrich univentionstaff 2013-06-07 21:38:51 CEST
UCS@school 3.1 R2 has been released:
http://download.univention.de/doc/release-notes-ucsschool-3.1-rev2.pdf

If this error occurs again, please use "Clone This Bug".