Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » I'm having a problem including a library
Re: I'm having a problem including a library [message #60570 is a reply to message #60565] Fri, 10 May 2024 06:30 Go to previous messageGo to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 227
Registered: June 2011
Experienced Member
Quote:
I include a header file like this: #include "core/core.h"
"core/core.h" file contains this include: #include "include/core/Type.h"


If I'm reading what you're saying correctly, I'm guessing it's from current directory so you're effectively trying to include "core/include/core/Type.h" which doesn't exist.

I think from core/core.h you should be doing #include "Type.h" since that's already in the core directory. "core/Type.h" may also work because include is already internal.

**EDIT** otherwise if you want to retain your naming scheme then you may need to hoist core.h out of the core directory up one level. Another way may just be to add . to internal includes - this is the easiest change.

[Updated on: Fri, 10 May 2024 08:34]

Report message to a moderator

 
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: creating an gui to visualize and calculate Forward kinematics
Next Topic: U++ and Python
Goto Forum:
  


Current Time: Thu Aug 21 05:19:49 CEST 2025

Total time taken to generate the page: 0.08141 seconds