A simple question. Does ClassBuilder generated
source files can be compiled in linux ???
If so, what is the tricky things to get it
working ? Ive already tried install Class
Builder on Linux directory exported by Samba,
but it didnt work. I recall that gcc
complained about the Class Builder macros.
Im looking for your answers.
Thanks in advance,
Paulo Garcia
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Currently Classbuilder, the application, is exclusive Windows but we are in the process of porting it to Linux by removing MFC and replacing it with wxWindows.
As for the files generated by Classbuilder, they are for the most part OS independent. Infact, most of my projects end up on Alphas running OpenVMS. One of the things I do to get rid of the macro errors is I create my source file with the "Expand Macros" setting on. The "Expand Macros" setting can be found on the "Project" options screen which is reachable by selecting the "Project" item on the main menu.
Craig Gunhouse (gunner)
Support Manager
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is the traditional cariage return linefeed problem. Since the include file contains complex macro's which are longer then one line of code the the unix/linux environment has problems with them since the line is ended with two characters instead of one. The expansion of the macro then goes wrong. If the include files are converted to the unix style of ending a line the problem disappears. Also expanding the macro's in ClassBuilder itself will work, the macro's are then expanded correctly and the code will compile.
Jimmy Venema
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi there,
A simple question. Does ClassBuilder generated
source files can be compiled in linux ???
If so, what is the tricky things to get it
working ? Ive already tried install Class
Builder on Linux directory exported by Samba,
but it didnt work. I recall that gcc
complained about the Class Builder macros.
Im looking for your answers.
Thanks in advance,
Paulo Garcia
Currently Classbuilder, the application, is exclusive Windows but we are in the process of porting it to Linux by removing MFC and replacing it with wxWindows.
As for the files generated by Classbuilder, they are for the most part OS independent. Infact, most of my projects end up on Alphas running OpenVMS. One of the things I do to get rid of the macro errors is I create my source file with the "Expand Macros" setting on. The "Expand Macros" setting can be found on the "Project" options screen which is reachable by selecting the "Project" item on the main menu.
Craig Gunhouse (gunner)
Support Manager
It is the traditional cariage return linefeed problem. Since the include file contains complex macro's which are longer then one line of code the the unix/linux environment has problems with them since the line is ended with two characters instead of one. The expansion of the macro then goes wrong. If the include files are converted to the unix style of ending a line the problem disappears. Also expanding the macro's in ClassBuilder itself will work, the macro's are then expanded correctly and the code will compile.
Jimmy Venema