Deploying to OSX

40 views
Skip to first unread message

Pi

unread,
Feb 4, 2014, 10:55:49 AM2/4/14
to
Would it be possible to modify the TradeLink source code so that the compiler can correctly build multi-platform?

I've run into trouble building on OS X.

Firstly, if I just download trunk and build, it does actually build on OS X. Lots of minor warnings, but 0 errors: it builds!

However, it won't run -- in WMUtil.cs there are several DLLImport s.  These would need to be coded around in order to make it work on non-windows, and that might be quite a big job.  Of course the functions could be replaced with empty functions and then I could run it and see how much works, but that is bad engineering.

I then followed the instructions on: http://code.google.com/p/tradelink/wiki/TradeLinkMonoUnix
(which I found from this thread: https://code.google.com/p/tradelink/issues/detail?id=1023)

The instructions don't work. It looks as though the .diff file was created against an earlier trunk version.

I posted a query on the TradeLink Community board (reachable from here: http://code.google.com/p/tradelink/) but my post has been deleted(?!).

Thirdly I tried https://github.com/shevkoplyas/tradelink.afterlife, which won't build, though maybe I can fix it.

π

PS how about an IRC channel? I could set one up in five minutes...

Letian

unread,
Feb 27, 2014, 9:47:24 AM2/27/14
to tradeli...@googlegroups.com
Windows messaging doesn't work under OS X. I doubt that it can be successfully migrated to other platforms. You may try my light version as a getaround where WMUtil were replaced by TWS official c# api. Let me know if it works.
Reply all
Reply to author
Forward
0 new messages