06-10-2010, 01:45 PM | #1 |
Human being with feelings
Join Date: Dec 2008
Posts: 78
|
How to compile the source ?
Hi,
i'm reading the source files of LICECap and i'm going back to my student years, coding C++ I would be happy to customize a few things in this wondeful tool but i don't know which tool to use to compile it .. is it Visual Studio 6 ? can someone tell me ? (i'm on windows and of course as the change i want to do are very small, i could easily use a command line compiler, no need for a modern IDE) Thanks |
06-10-2010, 02:19 PM | #2 |
Human being with feelings
Join Date: Dec 2008
Posts: 78
|
hmm i think i have found .. i'm using VC 6.0
it works fine but when compiling, i got some errors like that : wdl\lice\lice_palette.cpp(270) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64 what can i do ? (only errors, otherwise, it seems to be ok) Thanks |
06-10-2010, 02:47 PM | #3 |
Human being with feelings
Join Date: Apr 2008
Posts: 510
|
to fix the error you can try installing the "processor pack" from here:
http://msdn.microsoft.com/en-us/visualc/aa336441.aspx alternatively if you don't want to download extra packages you can try: open: wdl\lice\lice_palette.cpp either change the line [11]: Code:
WDL_UINT64 sumrgb[3]; // to WDL_INT64 sumrgb[3]; // or to signed long long sumrgb[3]; Code:
int r = (int)((double)p->sumrgb[0]/(double)p->colorcount); int g = (int)((double)p->sumrgb[1]/(double)p->colorcount); int b = (int)((double)p->sumrgb[2]/(double)p->colorcount); // to: int r = (int)((double)((long long)p->sumrgb[0])/(double)((long long)p->colorcount)); int g = (int)((double)((long long)p->sumrgb[1])/(double)((long long)p->colorcount)); int b = (int)((double)((long long)p->sumrgb[2])/(double)((long long)p->colorcount)); ---
__________________
Blog / Articles / Music / Reaper DJ tutorial JS plugin pack/ JS Wiki / JS tips / JSfxGen Holos / GitHub / GoogleCode / G+ |
06-10-2010, 04:32 PM | #4 | |
Human being with feelings
Join Date: Dec 2008
Posts: 78
|
Quote:
Great, i compiled my version of LiceCap with different color for Left or Right click, i'm so happy Thanks |
|
01-25-2014, 07:38 PM | #5 | |
Human being with feelings
Join Date: Jan 2014
Posts: 2
|
Quote:
I know this is a very old post, but still hoping to get answer from any of the many fans of licecap! Thanks! |
|
02-12-2014, 11:47 PM | #6 |
Human being with feelings
Join Date: Jan 2014
Posts: 2
|
I know it's late...still, somebody pls reply to my question
hello,
i know it's > 3 years after the last reply to this thread but am sure somebody has an answer to my question. pls help. thank you, aruns |
Thread Tools | |
Display Modes | |
|
|