Not logged inOpenClonk Forum
Up Topic General / Help and Questions / compiling windows build on linux
- - By Anonymous [in] Date 2012-07-10 07:14
hi,

i m interested in this project and wanted to contribute. Bugfixing seemed to be a good way to start off.

Since several of the bugs are on windows i have created a virtual machine with windows on it.

Can i compile my code in linux and then copy it to windows to run it?

also i thought about starting with bug#755.
but so far i have been unable to get the hook from the lifttower.

any pointers would be appreciated
Reply
Parent - By boni [at] Date 2012-07-10 08:09
Hi! We alwose appreciate help, so let me say thanks! :)

If I remember correctly you have to interact with the tower to get the hook. There should be 2 Interactions with it: One for grabbing it (for controlling the hook) and one for getting the hook. I think you have to have a free inventory slot selected though!
(Mental note: allow grabbed things to add interactions)

By the way, I guess you're shrey from IRC? Most people in IRC run on CET and everybody who was in there was probably sleeping or getting ready for work when you were there. It was around 7AM. :)
Parent - - By Günther [de] Date 2012-07-10 17:37

> Can i compile my code in linux and then copy it to windows to run it?


Yes. That's how our windows release binaries are built, in fact. You can use both autotools and CMake in the standard crosscompilation mode.
Reply
Parent - By B_E [de] Date 2012-07-11 08:53
Expanding on your post: I don't know if it is still up-to-date, but we had this tutorial on cross-compiling at some point.
Parent - - By PeterW [gb] Date 2012-07-10 18:21
Hm, any specific reason you can't simply compile inside the VM? Finding bugs would be way easier with a debugger around. We have a tutorial on how to do that, in case you're unsure what you need.
Parent - By Caesar [de] Date 2012-07-11 09:05
With gdbserver, it should be possible to run the debugger outside of the vm. But I'd rather install an sshd inside the Windows vm and debug from inside...
Up Topic General / Help and Questions / compiling windows build on linux

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill