Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Eigen namespace not recognized
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bdejong
New Member

Belgium
3 Posts

Posted - Dec 21 2010 :  06:06:51 AM  Show Profile  Reply with Quote
Hello all,

using Eigen ( http://eigen.tuxfamily.org/index.php?title=Main_Page ) it looks like Visual Assist does not recognize the Eigen namespace:


#ifndef EIGENTEST_H
#define EIGENTEST_H

#include "Eigen/Dense"

class Container
{
public:
    Eigen::MatrixXd& GetMatrix();
};

#endif    // #ifndef EIGENTEST_H


Both Eigen and MatrixXd are underlined red. Autocompletion works but only when set "get content from default intellisense" is switched on (a trick I found elsewhere on this forum).

- bram

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Dec 21 2010 :  10:42:27 AM  Show Profile  Reply with Quote
I tried this Eigen stuff, and some of its headers are without extensions, so please turn on

VA Options -> Projects -> File handling -> Parse files without extensions as headers

It solved the problem for me. Anyway, setting eigen/Eigen as your additional include directory instead of your the root of eigen may be a good idea, because Visual Assist can pre-parse all headers in the former case.

Edited by - accord on Dec 21 2010 10:43:16 AM
Go to Top of Page

bdejong
New Member

Belgium
3 Posts

Posted - Dec 21 2010 :  12:19:40 PM  Show Profile  Reply with Quote
thx! that did fix it!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000