如何在Visual Studio 2010上安装Symbolic C ++? [英] How do you install Symbolic C++ on Visual Studio 2010?

查看:324
本文介绍了如何在Visual Studio 2010上安装Symbolic C ++?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Symbolic C ++(可以与V集成的版本,没有关于如何安装的文档。我从这个网站得到它,它有它的工作原理:



http://issc.uj.ac.za/symbolic/symbolic .html



有没有人知道如何安装这个在Visual Studio中使用我的项目?



对于* nix系统来说,可能是一个迟到的答案,但对其他人可能还是有用的。 :



有两个版本:

  1] Tarball,不需要在您的系统中安装:

http://issc.uj.ac.za/symbolic/sources/SymbolicC++ 3-3.35.tar.gz

  [2]库,打算安装在您的系统中:

http://issc.uj.ac.za/symbolic/sources/SymbolicC++3-3.35-ac.tar.gz



Y选择了图书馆。现在,解压缩tarball,然后从README文件:

 此项目尝试提取SymbolicC ++的可以
编译为库的一部分,因此创建include / library
基础结构。 src和include目录由来自SymbolicC ++头文件的
脚本填充。

==安装到/ usr / local ================================== =============

要安装到/ usr / local:

./configure
make
make install

使用带GCC的SymbolicC ++编译程序:

g ++ -o程序program.cpp -lsymbolicc ++

运行程序:

./program

提供了一个描述SymbolicC ++的简短PDF文档(doc / introsymb.pdf)
,并安装为/ usr / local / share / doc / SymbolicC ++ .pdf。

这里有一个简单的例子(来自维基百科,做工作!):<​​/ p>

  #include< iostream> 
#includesymbolicc ++。h
using namespace std;

int main(void)
{
Symbolic x(x);
cout<< (x + 1,x)<< endl; // => 1/2 * x ^(2)+ x
符号y(y);
cout<< df(y,x) endl; // => 0
cout<< df(y [x],x) endl; // => df(y [x],x)
cout< df(exp(cos(y [x])),x) endl; // => x(x [x])= x(x [x],x [x]
}

Visual studio



VS有一个特殊版本:



http://issc.uj.ac.za/symbolic/sources/SymbolicC++3-3.35-vc.zip



我希望这有助于!


I have Symbolic C++ (the version that can integrate with V, there is no documentation on how to install it. I got it from this website and it has examples of how it work:

http://issc.uj.ac.za/symbolic/symbolic.html

Does anyone have any idea on how to install this to use with my projects in Visual Studio?

解决方案

Maybe a late answer, but may still be useful for others.

For *nix systems:

There are two versions:

[1] Tarball that do not need to be installed in your system:  

http://issc.uj.ac.za/symbolic/sources/SymbolicC++3-3.35.tar.gz

[2] Library, intended to be installed in your system: 

http://issc.uj.ac.za/symbolic/sources/SymbolicC++3-3.35-ac.tar.gz

Y opted for library. Now, extract the tarball and then, from the README file:

This project attempts to extract the parts of SymbolicC++ that can
be compiled as part of a library and so create the include / library
infrastructure. The src and include directories are populated by
scripts from the SymbolicC++ header files.

== Installation to /usr/local ===============================================

To install to /usr/local:

  ./configure
  make
  make install

To compile a program using SymbolicC++ with GCC:

  g++ -o program program.cpp -lsymbolicc++

To run the program:

  ./program

A brief PDF document describing SymbolicC++ is provided (doc/introsymb.pdf)
and is installed as /usr/local/share/doc/SymbolicC++.pdf.

Here a simple example(from Wikipedia, do work!):

#include <iostream>
#include "symbolicc++.h"
using namespace std;

int main(void)
{
  Symbolic x("x");
  cout << integrate(x+1, x) <<endl;       // => 1/2*x^(2)+x
  Symbolic y("y");
  cout << df(y, x) << endl;               // => 0
  cout << df(y[x], x) << endl;            // => df(y[x],x)
  cout << df(exp(cos(y[x])), x) << endl ; // => -sin(y[x])*df(y[x],x)*e^cos(y[x])
  return 0;
}

Visual studio

There is a special version for VS:

http://issc.uj.ac.za/symbolic/sources/SymbolicC++3-3.35-vc.zip

I hope this helps!

这篇关于如何在Visual Studio 2010上安装Symbolic C ++?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆