Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 #include suggestions with include subfolders

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
Seefer Posted - Sep 27 2014 : 10:23:05 AM
I'm using Visual Studio 2013 Update 3.

I've added the appropriate directories for SFML includes and lib files in my project-specific VC++ Directories. The .lib files are in the lib folder but the include files are in the SFML subfolder inside the include folder.

When typing #include, VAX seems unable to see and list the SFML subfolder within which the include files rest. I can ignore this problem and continue entering the path as #include <SFML/Graphics.hpp> for instance and my IDE finds the includes fine during compilation. I can even right click on the #include line above and use the Open Document menu entry to open up the include file in the text editor.

Is this normal behavior?
1   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Sep 29 2014 : 10:57:14 AM
This does not sound right, no. Have you restarted your IDE since making the changes to your include directories? We need to make sure the changes have been made, and VA has had a chance to see the changes.

Can you please place the caret into the file name on the line:

#include <SFML/Graphics.hpp>

what is shown in the VA context and definition fields? These are normally at the top of the editor window, and are where the Alt-M list appears. VA should be showing you the full path to this include file. What happens if you press Alt-G with the caret inside this file name?

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