User forums > Using Code::Blocks

Shuffling project between OSs

(1/2) > >>

kencamargo:
Hello,

Is there an easy way to transport a project back and forth between Linux and win environments? What I have done so far is to generate an empty project on one side and copy the source files from the other, but this becomes a little impractical as projects grow in complexity, and the wxSmith GUI files are not automatically added to the project.

Any thoughts are appreciated.

Thanks in advance,
Ken

koso:
I am using the same project files in Linux and Windows and have no problems so far. You haven't written, why you cant do it this way so it is difficult to help. When there are different paths in your environments, you can use global variables...

frithjofh:
Hi,

if I recall correctly there is a thread in the forum dealing with cross compilation issues. I could imagine you should find some useful ideas there too, as it seems the topics are a bit related.

Regards

frithjofh

kencamargo:

--- Quote from: koso on April 04, 2010, 08:09:38 pm ---I am using the same project files in Linux and Windows and have no problems so far. You haven't written, why you cant do it this way so it is difficult to help. When there are different paths in your environments, you can use global variables...

--- End quote ---

Under win, you have a long list of libraries and paths; under Linux code::blocks uses the wx-config route, which is far simpler. AFAIK this is not available under win.

kencamargo:

--- Quote from: nausea on April 04, 2010, 11:26:49 pm ---if I recall correctly there is a thread in the forum dealing with cross compilation issues. I could imagine you should find some useful ideas there too, as it seems the topics are a bit related.

--- End quote ---

Hi there,
Nope, not exactly cross-compiling. That much I'm comfortable with. The problem is that I have one specific app that shows a crazy bug when cross-compiled (under Linux for win x86), which goes away when compiled under win (on a VM, which is a different beast from cross-compilation). In this particular case I have to migrate a project accross OSs, not cross-compile to one target OS from another host OS.
But thanks anyway.
Ken

Navigation

[0] Message Index

[#] Next page

Go to full version