bugCERTI - Bugs: bug #52081, CERTI doesn't build? When was last...

 
 

bug #52081: CERTI doesn't build? When was last stable version?

Submitter:  AH <ahlyn>
Submitted:  Thu 21 Sep 2017 03:09:19 PM UTC
   
 
Category:  CERTI Severity:  * 3 - Normal
Item Group:  Compilation error Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  * GIT-master
Reproducibility:  Every Time Fixed Release:  * Unknown
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 18 Dec 2017 10:54:44 AM UTC, comment #3: 

Issue discussed and fixed thus I am closing this one

JbCh <jb_ch>
Group administrator
Wed 04 Oct 2017 06:50:47 PM UTC, comment #2: 

Hello Clement.

I found that I did not have g++ installed on my Linux machine (I was using standard "gcc" as suggested by the "Building CERTI" doc page). After installing most recent g++, I got past this error. My face is red, I don't commonly use c++ or Linux... oops!

There were still a couple errors after that, but they were simple to fix locally (typically regarding adding a library "include" reference to certain files). I was able to build and install successfully on Linux Ubuntu.

This doesn't explain what is wrong with building on a Windows machine, but for now this is enough for me to continue with I think.

Thank you for replying, your comment is a helpful reference as we keep testing. I think this bug can be set as CLOSED.

AH <ahlyn>
Wed 04 Oct 2017 03:14:42 PM UTC, comment #1: 

Hi ahlyn,

I can ensure that CERTI can be built and used, since I do use on a near daily basis, and I can build the project, be it in 3.5.1 or the latest commit (6353085ec).
To answer your questions:
1. I did encounter some errors due to compiler versions and I know how to solve them, however it does not look like it is your current issue.
2. I did build CERTI (both 3.5.1 and 6353085ec), and I'm using Ubuntu 16.04 with clang 3.8, clang++ 3.8, and cmake 3.5.2.

Can you post both the output of your cmake and the output of the make ?

Clément Michel <cmichel>
Group Member
Thu 21 Sep 2017 03:09:19 PM UTC, original submission:  

I'm surprised other comments generally suggest that CERTI can be built and used... I work for a research project in a educational institution, and we've spent the last month trying to get CERTI to be compiled on our machines to be able to use and debug it. So far, we are convinced the only way to use a free HLA system is to program our own RTI from scratch, which we hope is not necessary.

I have been following the instructions described on http://www.nongnu.org/certi/certi_doc/Install/html/build.html . We have repeated these steps with Windows 10 - 64 bit - Home / Visual Studio Community 2017 / CMake 3.9.1, Windows 7 Enterprise / Visual C++ 2008 / CMake 2.8.11, and Ubuntu 16.04 / GCC / CMake 3.9.1. We've checked to install the required software dependencies listed in the build instructions. We've tried with CERTI source code for 3.5.1 and 3.3.3.

Of all the errors we get, most we can resolve, except for consistent errors for all OS / compiler combinations that say .lib files are missing.

Using CMAKE-GUI (successful), then C++ compile:

16>LINK : fatal error LNK1104: cannot open file '..\..\Debug\CERTI.lib'
13>LINK : fatal error LNK1104: cannot open file '..\Debug\CERTI.lib'
17>LINK : fatal error LNK1104: cannot open file '..\..\Debug\RTI-NG.lib'

Using CMAKE-CMD (not successful):

1>LINK : fatal error LNK1104: cannot open file 'gen.lib'
1>LINK : fatal error LNK1104: cannot open file 'socket.lib'

So, my questions are:
1) Has anyone ever come across these errors before? Is there a known way to resolve them?
2) Has anyone built CERTI source code successfully? Can you confirm which CERTI version, and computer OS / software configurations used for most recent successful build?

If more information is required, let me know. I appreciate any feedback.

AH <ahlyn>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jb_ch (Posted a comment)
  • -email is unavailable- added by cmichel (Posted a comment)
  • -email is unavailable- added by ahlyn (Submitted the item)
  • -email is unavailable- added by ahlyn
  •  

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-12-18 jb_ch Open/ClosedOpen Closed
    2017-09-21 ahlyn Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code