waldemarlima Posted September 8, 2015 Share Posted September 8, 2015 screenshot = http://prntscr.com/8e362m how i add folder in my project what i can #include "foldername/filename.h" ? Quote Link to comment Share on other sites More sharing options...
cassius Posted September 9, 2015 Share Posted September 9, 2015 I do not understand the question. Can you explain better? 1 Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Josh Posted September 9, 2015 Share Posted September 9, 2015 The error means the path you entered is not correct relative to the file its being included from. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Undac Posted September 9, 2015 Share Posted September 9, 2015 For everyone with this problem: For Leadwerks projects, the root is %UserProfile%\Documents\Leadwerks\Projects\ProjectName\Source . If the file called header.h is there, you include it with #include "header.h" If it is in %UserProfile%\Documents\Leadwerks\Projects\ProjectName\Source\demo , you include it with #include "demo/header.h" Visual studio labels do not create folders. If you create a label called "demo" and a "header.h" file under the "demo" label, you will still include the header as #include "header.h" , and not #include "demo/header.h" If you create a header file named "header.h" in "%UserProfile%\Documents\Leadwerks\Projects\ProjectName\HeadersFolder" , you include it with #include "../HeadersFolder/header.h" 2 Quote Link to comment Share on other sites More sharing options...
waldemarlima Posted September 10, 2015 Author Share Posted September 10, 2015 Thanks Undac Solved ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.