LostSoulfly / MinerProxy

Ethereum Stratum Mining Proxy - Replace all Wallets with your own. Claymore/EWBF proxy. Miner Proxy.
76 stars 36 forks source link

It`s possible build for linux? #9

Closed jrazer closed 5 years ago

jrazer commented 7 years ago

May be with mono for NET Framework

LostSoulfly commented 7 years ago

I'm not sure, I rarely use Linux and have not built for Mono before. You're welcome to try and report back, but I will not be working on Linux support.

davidgibbons commented 7 years ago

Doesn't look like it:

$ xbuild MinerProxy.csproj CoinHandlers/MoneroCoin.cs(3,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) CoinHandlers/Zcash.cs(8,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) CoinHandlers/EthCoin.cs(3,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) CoinHandlers/NiceHash.cs(3,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) CoinHandlers/SiaCoin.cs(8,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) Program.cs(10,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Configs/Settings.cs(1,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(1,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(2,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Web/WebIndex.cs(2,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Web/WebIndex.cs(3,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Web/WebIndex.cs(5,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Program.cs(249,58): error CS0246: The type or namespace name 'HttpRequestEventArgs' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(6,31): error CS0246: The type or namespace name 'WebSocketBehavior' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(9,41): error CS0246: The type or namespace name 'CloseEventArgs' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(14,41): error CS0246: The type or namespace name 'ErrorEventArgs' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(19,43): error CS0246: The type or namespace name 'MessageEventArgs' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(9,33): error CS0115: 'WebConsole.OnClose(CloseEventArgs)': no suitable method found to override Web/WebConsole.cs(14,33): error CS0115: 'WebConsole.OnError(ErrorEventArgs)': no suitable method found to override Web/WebConsole.cs(19,33): error CS0115: 'WebConsole.OnMessage(MessageEventArgs)': no suitable method found to override Web/WebConsole.cs(24,33): error CS0115: 'WebConsole.OnOpen()': no suitable method found to override Web/WebIndex.cs(10,29): error CS0246: The type or namespace name 'WebSocketBehavior' could not be found (are you missing a using directive or an assembly reference?) Web/WebIndex.cs(13,51): error CS0246: The type or namespace name 'HttpRequestEventArgs' could not be found (are you missing a using directive or an assembly reference?) Program.cs(29,23): error CS0246: The type or namespace name 'HttpServer' could not be found (are you missing a using directive or an assembly reference?) Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/home/dgibbons/MinerProxy/MinerProxy/MinerProxy.csproj".-- FAILED Done building project "/home/dgibbons/MinerProxy/MinerProxy/MinerProxy.csproj".-- FAILED

Build FAILED.

LostSoulfly commented 7 years ago

Looks like you don't have Newtonsoft's JSON.net, which should support mono. Same goes for websocket-sharp (actually developed with MonoDevelop).

On Tue, Aug 22, 2017 at 11:50 PM, David Gibbons notifications@github.com wrote:

Doesn't look like it:

$ xbuild MinerProxy.csproj CoinHandlers/MoneroCoin.cs(3,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) CoinHandlers/Zcash.cs(8,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) CoinHandlers/EthCoin.cs(3,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) CoinHandlers/NiceHash.cs(3,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) CoinHandlers/SiaCoin.cs(8,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) Program.cs(10,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Configs/Settings.cs(1,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(1,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(2,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Web/WebIndex.cs(2,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Web/WebIndex.cs(3,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Web/WebIndex.cs(5,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?) Program.cs(249,58): error CS0246: The type or namespace name 'HttpRequestEventArgs' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(6,31): error CS0246: The type or namespace name 'WebSocketBehavior' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(9,41): error CS0246: The type or namespace name 'CloseEventArgs' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(14,41): error CS0246: The type or namespace name 'ErrorEventArgs' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(19,43): error CS0246: The type or namespace name 'MessageEventArgs' could not be found (are you missing a using directive or an assembly reference?) Web/WebConsole.cs(9,33): error CS0115: 'WebConsole.OnClose(CloseEventArgs)': no suitable method found to override Web/WebConsole.cs(14,33): error CS0115: 'WebConsole.OnError(ErrorEventArgs)': no suitable method found to override Web/WebConsole.cs(19,33): error CS0115: 'WebConsole.OnMessage(MessageEventArgs)': no suitable method found to override Web/WebConsole.cs(24,33): error CS0115: 'WebConsole.OnOpen()': no suitable method found to override Web/WebIndex.cs(10,29): error CS0246: The type or namespace name 'WebSocketBehavior' could not be found (are you missing a using directive or an assembly reference?) Web/WebIndex.cs(13,51): error CS0246: The type or namespace name 'HttpRequestEventArgs' could not be found (are you missing a using directive or an assembly reference?) Program.cs(29,23): error CS0246: The type or namespace name 'HttpServer' could not be found (are you missing a using directive or an assembly reference?) Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/home/dgibbons/MinerProxy/ MinerProxy/MinerProxy.csproj".-- FAILED Done building project "/home/dgibbons/MinerProxy/ MinerProxy/MinerProxy.csproj".-- FAILED

Build FAILED.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LostSoulFly/MinerProxy/issues/9#issuecomment-324213591, or mute the thread https://github.com/notifications/unsubscribe-auth/AIsrByCnXosczW-7cg-UNBRgLsxRxaTsks5sa6F0gaJpZM4O-cGO .

odedolive commented 6 years ago

Forget Mono. This should be converted to .net core 2.0.

LostSoulfly commented 6 years ago

Eventually I'll get around to redoing it for .net standard, but it's going to be a while.

On Jan 23, 2018 9:04 PM, "odedolive" notifications@github.com wrote:

Forget Mono. This should be converted to .net core 2.0.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/LostSoulFly/MinerProxy/issues/9#issuecomment-359996261, or mute the thread https://github.com/notifications/unsubscribe-auth/AIsrB-ggZy4DOPOc_G0RJDZmfFKtI-7Bks5tNo_DgaJpZM4O-cGO .

xPathin commented 6 years ago

Converted to .net core 2.0 in 5 minutes tops. Running on linux. https://github.com/xPathin/MinerProxy

Screenshot: https://www.pathin.org/temp/Screenshot_20180215_011908.png