|
SageTV Github Development Discussion related to SageTV Open Source Development. Use this forum for development topics about the Open Source versions of SageTV, hosted on Github. |
|
Thread Tools | Search this Thread | Display Modes |
#61
|
|||
|
|||
@wnjj: After following your latest instructions, I'm still not able to build any of the windows targets. I get reams of "fatal error C1083: Cannot open include file: 'streams.h': No such file or directory", and "warning C4005: 'vsnprintf': macro redefinition".
Do we also need to make the changes you referred to in http://forums.sagetv.com/forums/show...5&postcount=26 and also change all references from: #include <streams.h> to #include <iostream> I'm really itching to build the native code (including all the .dlls), since I'm trying to dig into a couple of scanning/tuning issues that caused non-network clear-QAM tuners to be unusable in Sage7.
__________________
System #1: Win7-64, I7-920, 8 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HDHR-US (1st gen white) tuners. HD-200. System #2: Win7-64, I7-920, 8 GB mem, 4TB HD. Java 1.8.0_131. Sage v9.1.6.747. ClearQAM: 2x HDHR3-US tuners. HD-200. System #3: Win7-64, I7-920, 12 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HVR2250; Spectrum Cable via HDPVR & USB-UIRT. 3x HD-200. Last edited by JustFred; 09-13-2015 at 08:39 AM. Reason: fix typo |
#62
|
|||
|
|||
Quote:
I also had to remove WS_EX_NOINHERITLAYOUT from TSSplitter.rc. This #ifdef I posted earlier to handle snprintf/vsnprintf, I applied to SDeMuxFilter.h and NativeCore.h. Code:
#if (defined(_MSC_VER) && (_MSC_VER < 1900)) #define snprintf _snprintf #define vsnprintf vsnprintf #endif I haven't yet figured out what it takes to either build natively with DX9 or convert the code to the latest (which is included in the latest Windows SDK). Targetting XP is challenging and there isn't much help online. I'm brand new to DirectX coding so that doesn't help. If you want to build HCWIRBlaster.lib: Code:
Run: dumpbin /exports HCWIRBlaster.dll > HCWIRBlaster.def Open HCWIRBlaster.def in some text editor and edit it to contain only the names of exported functions in form of: EXPORTS function_1_name function_2_name function_3_name ... Then run: lib /def:HCWIRBlaster.def /out:hcwIRBlast.lib /machine:x86 |
#63
|
||||
|
||||
I guest newer sagetv exe wasn't updating the EPG, so had restore the old v7 exe on server side as newer sagetv exe just dosen't take in count for no license check.
|
#64
|
|||
|
|||
Quote:
Did you define the environment variable 'SAGETVUSERKEY'? That's what the launcher exe pushes into the Java environment for V9. |
#65
|
||||
|
||||
If this is going on a working and registered windows v7 install, that shouldn't be needed, as the registration info is already in the windows registry. There might be something else mucking up your EPG data, as I have had no issues with mind upgrading, and I did not set the registration key - just dropped in the JAR's.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#66
|
|||
|
|||
Quote:
In the exe launcher: Code:
char serialKey[256]=""; if (GetEnvironmentVariable("SAGETVUSERKEY", serialKey, 255) <= 0) { strcpy(serialKey, "NOKEY"); } jclass sysCls = env->FindClass("java/lang/System"); jmethodID sysMeth = env->GetStaticMethodID(sysCls, "setProperty", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"); env->CallStaticObjectMethod(sysCls, sysMeth, env->NewStringUTF("USERKEY"), env->NewStringUTF(serialKey)); Code:
public static String getEPGLicenseKey() { return Sage.WINDOWS_OS ? System.getProperty("USERKEY") : IOUtils.getFileAsString(new java.io.File("activkey")); } |
#67
|
||||
|
||||
Y'know, that's possible. I never replaced the launchers on my server.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer) unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers. Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA. Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S Other Clients: Mi Box in Master Bedroom, HD-200 in kids room |
#68
|
||||
|
||||
Quote:
Quote:
So look in sagetv log as I was seeing in log (ERROR Updating EPG Source DISH Tulsa - Tulsa.) |
#69
|
|||
|
|||
Quote:
http://forums.sagetv.com/forums/showthread.php?t=62320 |
#70
|
||||
|
||||
Quote:
As I understand it with Linux "built from source: put your SageTV license key in a file called 'activkey' in the same folder as your SageTV install" this is eazy open a edited paste the my sage key in it and save as activkey with no file extension at emd Now with Windows "built from source: put your SageTV license key in a global environment variable called 'SAGETVUSERKEY'" and there no example of this. Last edited by SHS; 09-21-2015 at 08:24 AM. |
#71
|
|||
|
|||
Quote:
|
#72
|
||||
|
||||
Quote:
Variables = SAGETVUSERKEY Value = 000000-000000-000000-000000-00000-00000-000000-000000-000000-000000 "My Key" Under User or System |
#73
|
|||
|
|||
I'd use system because I think the service mode may use a different account. System means all users have the variable set and not just the one currently logged in.
|
#74
|
||||
|
||||
Thanks
|
#75
|
|||
|
|||
Success! I've been able to migrate the build environment (for Windows native code) from vs2005 to vs2015. It's in the repo now, so this thread has run its course. The new VS2015 thread is here:
http://forums.sagetv.com/forums/show...899#post578899
__________________
System #1: Win7-64, I7-920, 8 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HDHR-US (1st gen white) tuners. HD-200. System #2: Win7-64, I7-920, 8 GB mem, 4TB HD. Java 1.8.0_131. Sage v9.1.6.747. ClearQAM: 2x HDHR3-US tuners. HD-200. System #3: Win7-64, I7-920, 12 GB mem, 4TB HD. Java-64 1.8.0_141. Sage-64 v9.2.1 ATSC: 2x HVR2250; Spectrum Cable via HDPVR & USB-UIRT. 3x HD-200. Last edited by JustFred; 10-10-2017 at 08:40 AM. Reason: typo |
#76
|
|||
|
|||
I don't see where the SageTVClient.exe gets built from.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
#77
|
|||
|
|||
You should be able to change the project target to "Client Debug" or "Client Release" to build those. There's a dropdown box at the top.
|
#78
|
|||
|
|||
Oh duh, I see. Thank you.
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3 Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dev Environment | Slugger | SageTV Studio | 10 | 01-28-2010 04:08 PM |
Which is best design for SageTV environment? | Petrucci | Hardware Support | 10 | 04-23-2009 01:21 PM |
Sage Development Environment | stuckless | SageTV Studio | 4 | 04-05-2008 06:14 AM |
Business Environment | pmolaughlin | SageTV Software | 0 | 02-13-2006 07:58 AM |