Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 May 2014 08:42:47 -0700
From:      Drew Tomlinson <drew@mykitchentable.net>
To:        freebsd-questions@FreeBSD.org
Subject:   Help Compiling apligen
Message-ID:  <538360F7.3090707@mykitchentable.net>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?538360F7.3090707>