Package Details: necpp-git 45.30ffb88-1

Git Clone URL: https://aur.archlinux.org/necpp-git.git (read-only, click to copy)
Package Base: necpp-git
Description: Free NEC-2 compatable electromagnetic code. It can both read nec2 antenna description files and also be incorporated into other projects like GUI tools and automatic antenna optimization systems.
Upstream URL: https://github.com/tmolteno/necpp
Licenses: GPL
Conflicts: nec2++, nec2pp, necpp
Provides: necpp
Submitter: thanx
Maintainer: None (masutu)
Last Packager: keenerd
Votes: 6
Popularity: 0.000000
First Submitted: 2014-10-07 21:25 (UTC)
Last Updated: 2015-08-09 03:41 (UTC)

Dependencies (0)

Required by (1)

Sources (1)

Latest Comments

keenerd commented on 2016-11-02 12:37 (UTC)

This is an upstream issue. Take it to github.

dreieck commented on 2016-11-01 10:13 (UTC)

.. after fixing the indentation issue, the build fails with a serious error: == %< == In file included from c_evlcom_tb.cpp:1:0: c_evlcom_tb.cpp: In function ‘void test_bessel(nec_float, nec_float, nec_float, nec_float)’: c_evlcom_tb.cpp:14:35: error: call of overloaded ‘abs(double)’ is ambiguous REQUIRE((abs(j0.real() - j0r) < eps)); == >% == I don't know how to fix it (I don't know next to nothing about C/ C++). Can you patch/ fix it? I also commented to upstream, but they may be dead.

dreieck commented on 2016-11-01 09:36 (UTC)

Because of the `-Werror` flag in the Makefile(s), build fails with == %< == catch.hpp: In member function ‘bool Catch::TestSpec::Filter::matches(const Catch::TestCaseInfo&) const’: catch.hpp:2813:17: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation] for( std::vector<Ptr<Pattern> >::const_iterator it = m_patterns.begin(), itEnd = m_patterns.end(); it != itEnd; ++it ) ^~~ catch.hpp:2816:21: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ return true; ^~~~~~ cc1plus: all warnings being treated as errors make[2]: *** [Makefile:950: test_manager-safe_array_tb.o] Error 1 make[2]: Leaving directory '[...]/necpp/src' make[1]: *** [Makefile:469: all-recursive] Error 1 make[1]: Leaving directory '[...]/necpp' make: *** [Makefile:378: all] Error 2 == >% == I made a patch fixing the indentation: http://ix.io/1Bmy And updated PKGBUILD is there: http://ix.io/1Bmz (Save above patch with filename wrong_indentation.patch and makepkg will find it) Please update your package.

michaelgod commented on 2014-11-01 12:59 (UTC)

make -j1 option is now included in PKGBUILD

Darty commented on 2013-02-28 05:14 (UTC)

I had to add sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.in and build with -j1 for this to build successfully.