News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Project on windows and linux, link problems

Started by labidus, June 19, 2013, 12:10:34 AM

Previous topic - Next topic

labidus

I was working for few month on linux with code::blocks, got a big project with a lot of libs.

Now back on windows, the project open and I can compile, I setuped GCC with latest version, I use MinGW & cygwin.

My problem is some library on linux don't use the same name on windows, for example GLEW on linux vs GLEW32 on windows even if its a 64 bits app.

This is one of my problem, so I cannot specify different lib for a platform, is they are way to do this in my project?

Anyway thankyou in advance for any help!

golgepapaz

Create  a new project for every configuration like "yourproject" or "your project-unix"
or different configurations in the same project.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

labidus

thanks I will take a look with the global var.

Having 2 projects is no good since I need to sync them, but the other way I see is to add build target for windows, its maybe the best solution since it only change the compilation and link settings.