Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6091195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:17:59+00:00 2026-05-23T12:17:59+00:00

I am currently programming on a 3d visualization program so I wrote my own

  • 0

I am currently programming on a 3d visualization program so I wrote my own Vector3 class to have some convenient vector operations. That worked fine until I needed to load some Meshes which I used an external library for that has its own Vector3 class. Now the compiler can’t tell them apart and I can not change both because they are too heavily included in the code.
Has anyone an idea how I can separate them for the compiler?

I thought about creating a namespace around the inclusion of the loader but got errors in the libraries implementation.

Any Ideas would be appreciated.

EDIT
Unfortunately my own project as well as the library have no own namespace.

(Solved)
Ok I solved this by removing the library and refactoring my code automatically with eclipse. But if it would not be able to do this how could I solve this problem in C++ independent from the IDE? -> Not marked as answered

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:17:59+00:00Added an answer on May 23, 2026 at 12:17 pm

    EDIT Unfortunately my own project as well as the library have no own namespace.

    The solution is obvious. Put your project in a namespace. And refer to the Vector3 in the library with ::Vector3, if it truly does not have any namespace.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am currently doing some socket programming using C/C++. To be able to use
I'm a blind student currently in a system admin/shell programming class. Although ssh works
I am currently programming an ASP .NET FormView. The twist here is that I
I am currently programming a Certification Authority for a uni class, I am currently
I am currently doing a programming assignment and it says that we should store
I'm currently learning the network programming with C/C++... I have experience .NET but not
I'm currently enrolled in a Client/Server Programming class (i.e. Java 2) in college. For
I am currently involved in some interesting programming language research which has, up until
I'm currently trying to learn HTML and Java EE Servlet programming. I have an
I'm currently learning Qt programming with Ruby. Does anyone know an IDE that provides

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.