Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 11:39:22 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        Antonio Olivares <olivares14031@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Help Compiling apligen
Message-ID:  <53838A5A.80006@mykitchentable.net>
In-Reply-To: <CAJ5UdcO913p9tjz8WKjH7W4AHfvgND5pLn1kcgOpVvRpS8Bbfg@mail.gmail.com>
References:  <538360F7.3090707@mykitchentable.net> <CAJ5UdcO913p9tjz8WKjH7W4AHfvgND5pLn1kcgOpVvRpS8Bbfg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/26/2014 9:29 AM, Antonio Olivares wrote:
> Drew,
>
> On Mon, May 26, 2014 at 10:42 AM, Drew Tomlinson
> <drew@mykitchentable.net> wrote:
>> I am not a programmer and I don't understand compiling.  If it's not in the
>> ports, I don't know how to use it.  However I really want to try this
>> utility:
>>
>> http://apligen.sourceforge.net/
>>
>> I've downloaded the source and attempted to run 'make'.  First error was
>> that it couldn't find g++.  I figured that out and installed gcc 4.7 from
>> the ports tree.  Ran 'make' again.  Now I get these errors:
>>
>>   $ make
>> g++47 src/main.cpp -o apligen
>> In file included from src/main.cpp:19:0:
>> src/check_args.cpp: In function 'int check_args()':
>> src/check_args.cpp:303:58: error: 'fopen64' was not declared in this scope
>> src/check_args.cpp:343:52: error: 'fopen64' was not declared in this scope
>> src/check_args.cpp:387:61: error: 'fopen64' was not declared in this scope
>> src/check_args.cpp:442:60: error: 'fopen64' was not declared in this scope
>> src/check_args.cpp:478:76: error: 'fopen64' was not declared in this scope
>> src/check_args.cpp:507:84: error: 'fopen64' was not declared in this scope
>> *** Error code 1
>>
>> Stop.
>>
>> Is this something simple to fix?  If so, I'd appreciate any hints.
>>
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> Try running gmake.  Then see if it compiles.  Have you read the README?

Thank you for your reply.

gmake fails with the same error.

These are the only instructions from the readme:

Install:

use:
          make

or:
         g++ main.cpp -o apligen





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53838A5A.80006>