Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Eigen namespace not recognized

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
bdejong Posted - Dec 21 2010 : 06:06:51 AM
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
2   L A T E S T    R E P L I E S    (Newest First)
bdejong Posted - Dec 21 2010 : 12:19:40 PM
thx! that did fix it!
accord Posted - Dec 21 2010 : 10:42:27 AM
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.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000