Menu

ClassBuilder and Linux ...

Anonymous
2002-04-30
2002-05-02
  • Anonymous

    Anonymous - 2002-04-30

    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

     
    • Craig Gunhouse

      Craig Gunhouse - 2002-04-30

      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

       
    • Jimmy Venema

      Jimmy Venema - 2002-05-02

      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

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.