Skip to content

problems to compile #1

@KamilSJaron

Description

@KamilSJaron

Hello,

I have tried to naively compile program using g++ main.cpp world.cpp deme.cpp individual.cpp -o admre on OS X.

  1. it seems that it require boost in the project folder, what dependencies have the simulator?
  2. I would appreciate makefile

full error log:

main.cpp:10:10: error: 'range_expansion.h' file not found with <angled> include; use "quotes" instead
#include <range_expansion.h>
         ^~~~~~~~~~~~~~~~~~~
         "range_expansion.h"
main.cpp:15:10: error: 'rng.h' file not found with <angled> include; use "quotes" instead
#include <rng.h>
         ^~~~~~~
         "rng.h"
In file included from main.cpp:15:
./rng.h:24:10: fatal error: 'boost\random.hpp' file not found
#include <boost\random.hpp>
         ^
3 errors generated.
world.cpp:9:10: error: 'range_expansion.h' file not found with <angled> include; use "quotes" instead
#include <range_expansion.h>
         ^~~~~~~~~~~~~~~~~~~
         "range_expansion.h"
world.cpp:10:10: error: 'rng.h' file not found with <angled> include; use "quotes" instead
#include <rng.h>
         ^~~~~~~
         "rng.h"
In file included from world.cpp:10:
./rng.h:24:10: fatal error: 'boost\random.hpp' file not found
#include <boost\random.hpp>
         ^
3 errors generated.
deme.cpp:9:10: error: 'range_expansion.h' file not found with <angled> include; use "quotes" instead
#include <range_expansion.h>
         ^~~~~~~~~~~~~~~~~~~
         "range_expansion.h"
deme.cpp:10:10: error: 'rng.h' file not found with <angled> include; use "quotes" instead
#include <rng.h>
         ^~~~~~~
         "rng.h"
In file included from deme.cpp:10:
./rng.h:24:10: fatal error: 'boost\random.hpp' file not found
#include <boost\random.hpp>
         ^
3 errors generated.
individual.cpp:9:10: error: 'range_expansion.h' file not found with <angled> include; use "quotes" instead
#include <range_expansion.h>
         ^~~~~~~~~~~~~~~~~~~
         "range_expansion.h"
individual.cpp:10:10: error: 'rng.h' file not found with <angled> include; use "quotes" instead
#include <rng.h>
         ^~~~~~~
         "rng.h"
In file included from individual.cpp:10:
./rng.h:24:10: fatal error: 'boost\random.hpp' file not found
#include <boost\random.hpp>
         ^
3 errors generated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions