Welcome, Guest
Username: Password: Remember me

TOPIC: Missing crt2.o Object while compiling

Missing crt2.o Object while compiling 13 years 1 month ago #2752

  • Vonwiller
  • Vonwiller's Avatar
Hi, i am compiling TELEMAC with g95 on windows.
During compilation the compiler stop and says:
1d: crt2.o: No such file: No such file or directory

It seems to me that this object file should be created during compilation?

Any help is welcome

Thanks Lukas
The administrator has disabled public write access.

Re: Missing crt2.o Object while compiling 13 years 1 month ago #2756

  • sebourban
  • sebourban's Avatar
  • OFFLINE
  • Administrator
  • Principal Scientist
  • Posts: 814
  • Thank you received: 219
This file is in fact part of the g95 install. You can find it in the ...\g95\lib\ subdirectroy.

I found that adding the following to your environment variable helped:

G95_LIBRARY_PATH=D:\program\fortran\g95\lib\gcc-lib\i686-pc-mingw32\4.1.2;D:\program\fortran\g95\lib

where D:\program\fortran is where you installed g95 on your computer. By default, I believe only the first path is added through the default install.

Also make sure that the following is in your PATH: D:\program\fortran\g95\bin

Hope this helps.

Sebastien.
The administrator has disabled public write access.
The following user(s) said Thank You: Vonwiller
Moderators: borisb

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.