User Profile
Collapse
Profile Sidebar
Collapse
Sir G
Last Activity: Jul 17 '12, 09:32 PM
Joined: Sep 11 '11
Location:
-
Ok, so I removed a parser for .obj-files from my solution, and that fixed the problem. This is odd, since these are quite unrelated pieces of code. -
This is my console output;
1>------ Build started: Project: RayTracer, Configuration: Debug Win32 ------
1>Build started 17/07/2012 20:56:35.
1>InitializeBui ldStatus:
1> Touching "Debug\RayTrace r.unsuccessfulb uild".
1>ClCompile:
1> All outputs are up-to-date.
1> OBJParser.cpp
1>j:\raytracer\ raytracer\geome try.h(14): error C2504: 'Intersectable' : base class...Leave a comment:
-
Base Class Undefined
Hi all, I'm a novice C++ programmer (main language is java). I'm getting a C2504: base class undefined error, and have no idea why. Google told me this happens when the base class is indeed not defined before a class inheriting from the base class is defined, but this does not seem to be the problem here.
...Code:#ifndef GEOMETRY #define GEOMETRY #include "stdafx.h" #include "Intersectable.h"
-
Yes they all were initialized. I have found the problem though. It was a specific concurrency related issue of the program.
Thanks for all help thoughLeave a comment:
-
Incorrect vector subscript out of range
Hi all,
I'm working in visual studio 2010. I'm getting a "vector subscript out of range debug assertion check" -error, which I believe is incorrect.
I have created a minimal example:
...Code:int xsize = 4dVector.size(); int ysize = 4dVector[x].size(); int zsize = 4dVector[x][y].size(); int nbelements = 4dVector[x][y][z].size(); for (uint32_t i = 0; i < 4dVector[x][y][z].size();
-
I know, but why do I have to specify the subfolders of the project itself? There are quite a lot of them. Can't eclipse search the subfolders of the project on it's own? Do I really have to include all of them manually?Leave a comment:
-
Eclipse CDT search entire project for includes
Hi all,
I recently started using eclipse indigo with CDT 8.0 to edit a C++ project. However, whenever i try to build the project it complains that includes cannot be found. The src folder has many subfolders, and some of them have subfolders. The problem apparently is that the compiler does not look in other subfolders for matches for include statements. Since I would rather not edit all include statements to have the full path or...
No activity results to display
Show More
Leave a comment: