[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

math major pretending to be a programmer here. I wanted to u

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 8
Thread images: 1

File: eigen.png (24KB, 230x246px) Image search: [Google]
eigen.png
24KB, 230x246px
math major pretending to be a programmer here. I wanted to use a math library eigen (http://eigen.tuxfamily.org/index.php?title=Main_Page) and I'm running into some problems (with #include <Eigen/Dense>). Hoping I can solve this without going to the stack and getting downvotes

Most files don't have to be built, I think and should just work straight from download

I followed these pages:

http://eigen.tuxfamily.org/dox/GettingStarted.html

https://github.com/Microsoft/AirSim/blob/master/docs/install_eigen.md

http://askubuntu.com/questions/491067/eigen-installation-seemed-to-work-but-i-still-cant-make-eigen-work

and still getting the g++ error: Eigen/Dense No such file or directory. For the time being, I'm using a windows vista. I created test.cpp which is exactly the same as the getting started example. I created the environment variable EIGEN_ROOT pointing to: C:\Users\zachary\Desktop\eigen. Inside this folder is eigen3 where all the files are

I used the command:

C:\Users\zachary\Desktop\eigen>g++ -I/eigen3/ test.cpp -o test.exe

test.cpp:2:23: fatal error: Eigen/Dense: No such file or directory
#include <Eigen/Dense>
^
compilation terminated.


Bet there's something really simple I'm missing right?
>>
>g++ -I/eigen3/test.cpp -o test.exe

I think it should be

g++ -I <folder to search for header files> -o test.exe <path to test.cpp>
>>
>>59451233

YES, it worked! Thank you! been scratching my head for an hour :)

odd how there's no compiler output.. don't care it worked
>>
now to get code blocks to work with it...
>>
>>59450953
Just use Julia
>>
>>59451430
G++ can give verbose output with
>>
>>59451644
what the fuck, dash v
>>
>>59451625
yeah I'll give it a shot.

The compilation works now but I have cd to the folder of the file, or it gives me a "permission denied" error. So if I can get my IDE to work with this I'll be happy
Thread posts: 8
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.