Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6030967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T05:06:55+00:00 2026-05-23T05:06:55+00:00

I use erlIDE (based on Eclipse) to work on Erlang projects. Till today everything

  • 0

I use erlIDE (based on Eclipse) to work on Erlang projects. Till today everything was fine, but today I have to use external library (couchbeam) in my application. I found out, what is hell, btw.)

The problem is simple – I cannot include external library to compiler path. I’ve used rebar to get couchbeam’s dependencies and it also downloaded ibrowse, mochiweb and ejson.

How can I include those libraries to compiler path without modifing ERL_LIBS to work on project in erlIDE?

I do not want modify ERL_LIBS, because I can change projects’s path, start new one (then I should modify ERL_LIBS again) and so on.

I’ve tried compiler options in erlIDE:

{pa, {pa, 'site_stater/deps/couchbeam/'}}

or

{pa, {pa, '../deps/couchbeam/'}}

where ‘site_stater’ – is project’s name

I wonder how professional erlang programmers organaze their projects workflow (where they write erlang progs, how debuggin it, deal with external libraries and so on).

Many thanks for your attension.

UPDATE
I wrote simple function to load libraries, but I think it is still wrong way to deal with this problem:

load_libraries() ->
    ProjectRoot = filename:join([filename:absname("./"), "site_stater"]),
    {ok, DepsList} = file:list_dir(ProjectRoot ++ "/deps/"),
    lists:foreach(fun (Folder) ->
                       RealFolder = ProjectRoot ++ "/deps/" ++ Folder,
                       case filelib:is_dir(RealFolder) of
                           true ->
                               code:add_patha(filename:join([RealFolder, "/ebin"]));
                           false -> ok
                       end
                  end,
                DepsList),
    ok.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T05:06:55+00:00Added an answer on May 23, 2026 at 5:06 am

    I can’t verify it right now, but you should be able to use {pa, '../deps/couchbeam/'} in the compiler options. If that doesn’t work, please try using an absolute path.

    The compiler settings are not finished yet, we plan to have some simpler way to refer to external libraries but we’re not there yet. Every such query from users increases the importance of fixing it!

    regards,
    Vlad

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Use to work with a MySQL + + (library for C + +) The
Use case: we have some project meta-data files which we want tracked, but are
I use to work with Visual Studio + C#, and have been using svn
use this website a lot but first time posting. My program creates a number
use javascript or other method ? have any recommendation?
Use Eclipse Classic with ADT plugin. Tried to make project from existing example of
use case example I have a servlet that is receiving login requests. If a
use PHP and MySQL. Want my website to have the feature of image uploading
use ruby 1.9.2 rails 3.1.3 rake 0.8.7 and when rake cucumber start i have
use a reapeter to display data, but sometimes the data is to big to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.