Help Compiling apligen

Drew Tomlinson drew at mykitchentable.net
Mon May 26 18:43:14 UTC 2014


On 5/26/2014 9:29 AM, Antonio Olivares wrote:
> Drew,
>
> On Mon, May 26, 2014 at 10:42 AM, Drew Tomlinson
> <drew at 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 at 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




More information about the freebsd-questions mailing list