Compile/Link problems with 2759
Posted: Wed Feb 25, 2009 4:16 am
Up till now I have been using build 2674 . Over the past couple of days I have tried build 279, but without much luck.
Today I spent some time trying to sort out the problems - searching this forum and looking over my environment etc.
As best I can tell, the two environments are identical. But when I open an existing workspace - which I just compiled and linked successfully in 2674, with 2759, I get a whole lot of linker errors. The compile does not produce any errors. When I switch back to 2674, the linking also fails, until I do a complete rebuild, then it all compiles and links.
After comparing the output from the two builds, I see that 2759 has the additional flag -DWXUSINGDLL in the compile command line. I want to build a statically linked app, so of course, the link will fail, since I will be linking in the wrong libraries.
Where does 2759 get the extra -DWXUSINGDLL from - or better yet, where can I turn it off
Today I spent some time trying to sort out the problems - searching this forum and looking over my environment etc.
As best I can tell, the two environments are identical. But when I open an existing workspace - which I just compiled and linked successfully in 2674, with 2759, I get a whole lot of linker errors. The compile does not produce any errors. When I switch back to 2674, the linking also fails, until I do a complete rebuild, then it all compiles and links.
After comparing the output from the two builds, I see that 2759 has the additional flag -DWXUSINGDLL in the compile command line. I want to build a statically linked app, so of course, the link will fail, since I will be linking in the wrong libraries.
Where does 2759 get the extra -DWXUSINGDLL from - or better yet, where can I turn it off