Math Is Fun Forum
  Discussion about math, puzzles, games and fun.   Useful symbols: √ ∞ ≠ ≤ ≥ ≈ ⇒ ∈ Δ θ ∴ ∑ ∫ π -

Login

Username

Password

Not registered yet?

Post a reply

Go back

Write your message and submit
:) :| :( :D :o ;) :/ :P :lol: :mad: :rolleyes: :cool: | :dizzy :eek :kiss :roflol :rolleyes :shame :down :up :touched :sleep :wave :swear :tongue :what :faint :dunno
Options

Go back

Topic review (newest first)

Peter8Milon
2010-12-27 19:50:18

To compile PRL under 2005, VCE2005 will not be supported, you need to install SRK..may it works for miracle object file too..Miracle C Compiler runs under MS-Windows. 
Go through Miracle C Installation and Use Guide, it'll help you.

kendricktamis
2010-04-07 13:59:42

I am struck in a very weird situation and would be glad if anyone can guide me in the right direction.

I have two libraries, PRL and miracl. ( Both C++)
Now, the PRL is based on miracl code, i.e. it uses functions and headers from miracl library.
miracl library is windows based, and by following the instructions, I was able to build the object file library in VS 2005 ( VC++). But, PRL is Linux based.

My problem is how can I compile PRL under VS 2005, or maybe another software under windows. I have the miracl object file library but cannot use it with the PRL code. As soon as i try to run PRL code in windows, it throws numerous syntax errors, as if it's not C++ at all.

I am not able to get the correct way of working this out.

mikau
2008-07-02 07:52:44

Thanks for the response!

Yes, I've noticed makefile's typically appear. I opened the readme of a particular library and it gives instructions for Unix installation, and says the process can be emulated for mac or windows. Not sure what that means, though.

In any case, configure, make, and make install. Can you tell me where I can learn how to perform these three steps?

I really know very little about command line processing, which I think is what this is.

kylekatarn
2008-07-01 22:36:07

mikau wrote:

Is it not possible to, for instance, copy the folder of a new library into your particular projects folder, and compile and access the library exclusively in that project?

Usually, there is a standard sequence for configuring, building and installing software. If there is a Makefile in the project, this steps are:
1) ./ configure
2) make
3) make install

Always take a look at the README and INSTALL files that come with most software sources. They give much better instructions.

mikau
2008-06-29 18:36:14

Is it not possible to, for instance, copy the folder of a new library into your particular projects folder, and compile and access the library exclusively in that project?

mikau
2008-06-29 07:12:18

When I install a new library, I am typically given a folder, with the name of the library, containing a bunch of subfolders, with names like: builds, src,  docs, include and others.

Now I understand these files need to be compiled and some files created or moved into the appropriate directories, but precisely how you do this, I don't know. Usually I Google walk-throughs  on the web for how to install a particular library, but it seems to be a different process every time. Furthermore, often they suggest  you install something else just to enable the installation.

Isn't there any standard method of distributing and installing a library in C++? Why do I have to learn a new dance every time?

Board footer

Powered by FluxBB