Welcome, Guest
Username: Password: Remember me

TOPIC: How to compile AED2 library in trunk version on Windows?

How to compile AED2 library in trunk version on Windows? 7 years 2 weeks ago #28120

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hello everyone,

I tried to run a AED2 example on trunk version but an error says the AED2 library is not compiled. Could anyone show me how to finish the AED2 library compilation? I didn't find any posts on the forum talking about this, many thanks in advance.

Best regards,
Yunhao
The administrator has disabled public write access.

How to compile AED2 library in trunk version on Windows? 6 years 11 months ago #28306

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
Hi,

We are using a modified version of AED source code within Telemac.
That version should be available on their website soon.
I've updated the linux installation part on how to install AED.

wiki.opentelemac.org/doku.php?id=installation_on_linux


Hope it helps.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

How to compile AED2 library in trunk version on Windows? 6 years 11 months ago #28310

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Yugi,

Thanks for your information, but I'd like to know if there will be any instruction on how to install AED2 library on Windows?

With best regards,
Yunhao
The administrator has disabled public write access.

How to compile AED2 library in trunk version on Windows? 6 years 11 months ago #28311

  • yugi
  • yugi's Avatar
  • OFFLINE
  • openTELEMAC Guru
  • Posts: 851
  • Thank you received: 244
I think they have a precompiled version of aed for windows no ?
Otherwise the instructions are the same.
There are 10 types of people in the world: those who understand binary, and those who don't.
The administrator has disabled public write access.

How to compile AED2 library in trunk version on Windows? 6 years 11 months ago #28314

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Yugi,

I don't think it's pre-compiled, as far as I know the only AED2 examples available are in trunk version (under WAQTEL) and as I said in post #28120 an error message says 'AED2 library not compiled'. I'll try the instructions to see if it works for Windows. Thank you.
The administrator has disabled public write access.

How to compile AED2 library in trunk version on Windows? 2 years 11 months ago #39453

  • arman2h_civil
  • arman2h_civil's Avatar
Dear Yunhao
Would you please help me?
I have the same problem
The administrator has disabled public write access.

How to compile AED2 library in trunk version on Windows? 2 years 11 months ago #39459

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Arman,

Did you compile the AED2 codes before running the example? If not, you could refer to the installation
instruction on Linux, and make sure to add -DHAVE_AED2 under cmd_obj in your config file as shown in the wiki.

I've been using AED2+T3D under Linux since I found it much easier to finish the installation, just FYI.

Hope this helps,
Yunhao
The administrator has disabled public write access.
The following user(s) said Thank You: arman2h_civil

How to compile AED2 library in trunk version on Windows? 2 years 11 months ago #39460

  • arman2h_civil
  • arman2h_civil's Avatar
Dear Yunho
I want to install AED2 on windows.
Regards
The administrator has disabled public write access.

How to compile AED2 library in trunk version on Windows? 2 years 11 months ago #39469

  • Yunhao Song
  • Yunhao Song's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 118
  • Thank you received: 9
Hi Arman,

I don't have any experience of installing AED2 on Windows directly, but you could download Ubuntu from Microsoft application store and in this forum there're plenty of instructions on how to install Telemac (with AED2) on Ubuntu.

Regards,
Yunhao
The administrator has disabled public write access.
The following user(s) said Thank You: arman2h_civil

How to compile AED2 library in trunk version on Windows? 2 years 10 months ago #39572

  • borisb
  • borisb's Avatar
  • OFFLINE
  • Admin
  • Posts: 128
  • Thank you received: 64
Dear Arman,

Here is the procedure I use to compile libaed2 on Windows.

First, download sources of the latest stable version from here: github.com/AquaticEcoDynamics/libaed2/releases/tag/v1.3.0

Extract them to the folder of your choice, e.g.
C:\telemac-deps\src\libaed2-1.3.0

Then edit the Makefile to comment-out line 71, as bellow:
#INCLUDES+=-I/usr/include

Finally, using Mingw-w64, build and install the library to the folder of your choice, using the following commands:
set install_dir=C:\telemac-deps\libaed2-1.3.0
pushd C:\telemac-deps\src\libaed2-1.3.0
mingw32-make
mkdir %install_dir%
xcopy /e/y include %install_dir%\include\
xcopy /e/y mod %install_dir%\include\
xcopy /e/y lib %install_dir%\lib\
popd

You will end with a directory containing all the necessary includes as well as the static version of libaed2.
The administrator has disabled public write access.
The following user(s) said Thank You: arman2h_civil
Moderators: borisb

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