Help Compiling apligen

Drew Tomlinson drew at mykitchentable.net
Mon May 26 15:46:37 UTC 2014


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.

Cheers,

Drew

-- 
Like card tricks?

Visit The Alchemist's Warehouse to
learn card magic secrets for free!

http://alchemistswarehouse.com




More information about the freebsd-questions mailing list