Menu

Problems compiling EiffelFox

Help
2005-07-22
2013-02-27
  • Rodolfo Grave

    Rodolfo Grave - 2005-07-22

    Hi.
    I see this forum is not very active but I hope you answer questions here. I've been trying to compile the EiffelFox using VS.NET 2003, EiffelBench Release configuration, unsucessfuly. There are 2 .h files include which the compiler doesn't find and me neither:

    -eiffel.h
    -fx.h

    I've looked for them at the EiffelFox folder and also at the Fox folder.

    Any ideas about where are those files?

    I'm very interested in using EiffelFox, so every help will be very appreciated.

    Att,
    RODOLFO

     
    • Rodolfo Grave

      Rodolfo Grave - 2005-07-22

      Hi again.

      I already found the eif_eiffel.h and the fx.h files... it was a problem with the enviroment variables.

      Now I'm trying to precompile the library using EiffelStudio 5.6 Free Edition. It has been reporting many feature exportation issues like the following example. I've been fixing these but I thought you might want to know about it.

      -------------------------------------------------------------------------------

      Error code: VUEX(2)
      Error: feature of qualified call is not available to client class.
      What to do: make sure feature after dot is exported to caller.

      Class: FX_IO_WRITE_MESSAGE
      Feature: media_list
      Feature: Write_input_media Class: FX_APPLICATION Version from: FX_APPLICATION
      Not exported to class FX_IO_WRITE_MESSAGE
      Line: 20
              check type = Msg_io_write end
      ->      Result := app.write_input_media
            end

      -------------------------------------------------------------------------------

       
    • Rodolfo Grave

      Rodolfo Grave - 2005-07-22

      After tweaking the ace files I have accomplished to do the precompilation too. Now I have a linking problem during the freezing of the groupbox example.

      Since the version of Fox to which you linked your code is no longer available in the web, I'm using the 1.0.53 version, which is the closest. In this distribution there is no fox.lib but foxdll.lib which I guess is the one I must use if choosed the Release configuration.

      However, using the foxd.lib file in the ace file, I get only 1 linking error:

      Microsoft (R) Incremental Linker Version 7.10.3077
      Copyright (C) Microsoft Corporation.  All rights reserved.

      -SUBSYSTEM:WINDOWS -STACK:5000000 -NODEFAULTLIB:libc -OUT:groupbox.exe
      e1\emain.obj
      C:\APPLIC~1\DEVELO~1\Eiffel56\studio\spec\windows\lib\msc\wkbench.lib F:\Basic-I
      nstalls\Multiplatform\Development\Libraries\EiffelFox-0.9.3\Clib\efox_ise.lib F:
      \Basic-Installs\Multiplatform\Development\Libraries\fox-1.0.53\lib\foxd.lib
      USER32.lib WSOCK32.lib ADVAPI32.lib GDI32.lib SHELL32.lib COMDLG32.lib UUID.lib
      OLE32.lib OLEAUT32.lib COMCTL32.lib MPR.LIB
      groupbox.res
      C15\Cobj15.lib C14\Cobj14.lib C13\Cobj13.lib C12\Cobj12.lib C11\Cobj11.lib
      C10\Cobj10.lib C9\Cobj9.lib C8\Cobj8.lib C7\Cobj7.lib C6\Cobj6.lib
      C5\Cobj5.lib C4\Cobj4.lib C3\Cobj3.lib C2\Cobj2.lib C1\Cobj1.lib
      E1\Eobj1.lib
      foxd.lib(FXPrintDialog.obj) : error LNK2019: unresolved external symbol _EnumPri
      ntersA@28 referenced in function "public: virtual void __thiscall FXPrintDialog:
      :create(void)" (?create@FXPrintDialog@@UAEXXZ)
      groupbox.exe : fatal error LNK1120: 1 unresolved externals
      NMAKE : fatal error U1077: 'link' : return code '0x460'
      Stop.

      and using the foxdll.lib file, I get 56 similar linking errors.

      Please, give me a hand on this,

      Att,

      RODOLFO

       

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.