N3XTD: 3D engine
Re: N3XTD: 3D engine
@aonyn: You probably have a third-party library which has this structure. Try to look for this lib.
Proud registered Purebasic user.
Because programming should be fun.
Because programming should be fun.
Re: N3XTD: 3D engine
N3xtD To install, simply take the three folders in the ZIP files, and
copy them into the PureBasic folder, is everything.
Do you have an old version of N3xtD already installed?
copy them into the PureBasic folder, is everything.
I have never encountered this kind of thing.Every time I try to run any sample, I get the following error.
"Line4: 'Structure', 'Interface' or 'Prototype' already declared: Vector2."
This refers to the file n3xtD_Vector2.pbi
Do you have an old version of N3xtD already installed?
Re: N3XTD: 3D engine
No, however I do have pureGDK installed, as well as Pb-OOP.
Perhaps one of these has a Vector2 Structure.
Thanks for the advice, at least now I have somewhere to begin looking.
Assuming that one of these packages has the structure which is conflicting with N3XTD, what is the best way for me to deal with this?
Should I use multiple installs of purebasic, or is there a simple way to deactivate one addon while I use another?
Thanks,
Dave
Perhaps one of these has a Vector2 Structure.
Thanks for the advice, at least now I have somewhere to begin looking.
Assuming that one of these packages has the structure which is conflicting with N3XTD, what is the best way for me to deal with this?
Should I use multiple installs of purebasic, or is there a simple way to deactivate one addon while I use another?
Thanks,
Dave
Re: N3XTD: 3D engine
You can actually try on a second installation of PB ( if it's just to test the engine) .
But I think the best solution would be to change the name of the Vector2 structure.
It is little used in N3xtD. You should have very few items to change in this case.
friendly TMyke.
But I think the best solution would be to change the name of the Vector2 structure.
It is little used in N3xtD. You should have very few items to change in this case.
friendly TMyke.
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: N3XTD: 3D engine
iirc the structure viewer in the IDE will show structures from all .res files, not just the native ones. So you could look at it in the viewer and compare it with the one in the .pbi file. If theyr'e the same, you can just comment it out and you're on your way.
BERESHEIT
Re: N3XTD: 3D engine
Thanks again for the advice everyone.
I will look into it and see if commenting or renaming will be appropriate.
I am just taking a look at the engine now, as I enjoy tinkering with 3D programming.
I currently am using pureGDK, as well as blitz3D sdk.
Anyway, I noticed this thread, and it looks like you are building a very nice engine TMyke.
So of course I am interested to try your engine also.
I am well underway, with a functional, yet still incomplete first attempt at a game using the blitz3D sdk engine.
Anyway, I will post here when I identify the conflict, with details.
Hopefully it will be of use to another user with the same addons I am using.
Or perhaps it would even be useful for you TMyke, so that you can change the function in the official release, to eliminate the conflict completely.
I expect the conflict will be with pureGDK.
The blitz engine is a dll and include file, and does not contain any libraries which are installed directly to purebasic.
regards,
Dave

I will look into it and see if commenting or renaming will be appropriate.
I am just taking a look at the engine now, as I enjoy tinkering with 3D programming.
I currently am using pureGDK, as well as blitz3D sdk.
Anyway, I noticed this thread, and it looks like you are building a very nice engine TMyke.
So of course I am interested to try your engine also.
I am well underway, with a functional, yet still incomplete first attempt at a game using the blitz3D sdk engine.
Anyway, I will post here when I identify the conflict, with details.
Hopefully it will be of use to another user with the same addons I am using.
Or perhaps it would even be useful for you TMyke, so that you can change the function in the official release, to eliminate the conflict completely.
I expect the conflict will be with pureGDK.
The blitz engine is a dll and include file, and does not contain any libraries which are installed directly to purebasic.
regards,
Dave
Re: N3XTD: 3D engine
OK, I just checked in the structure viewer, as suggested by netmaestro, and there is indeed another instance of vector2.
The viewer does not show where it is located, but it is indeed there.
I looked at both versions of vector2, and they are indeed identical.
Also I noticed there is vector3, and it also is identical.
I suspect that if I had fixed the vector2 conflict, I would have then received an error from vector 3.
regards,
Dave
The viewer does not show where it is located, but it is indeed there.
I looked at both versions of vector2, and they are indeed identical.
Also I noticed there is vector3, and it also is identical.
I suspect that if I had fixed the vector2 conflict, I would have then received an error from vector 3.
regards,
Dave
Re: N3XTD: 3D engine
Yes, actually, this will be useful.Especially since you're the first user to whom this happens.Or perhaps it would even be useful for you TMyke, so that you can change the function in the official release, to eliminate the conflict completely.
I'm curious to know the reason of this problem.
I can actually change the name of the structure vectors, and I would if it appears that there is no other solution.
Re: N3XTD: 3D engine
Hi TMyke,
I commented out your vector2 and vector3 structures, and the engine now works with my purebasic installation.
I looked at all of the samples, and there were only a few (all early) which failed to compile, for reasons which appeared to be unrelated.
The vast majority compiled as expected.
Your engine is looking very nice indeed btw.
I don't know if a few samples not compiling is a known issue or not, but if it is not, I can document which ones don't work as well as the error message for each, and post that information for you.
regards,
Dave
I commented out your vector2 and vector3 structures, and the engine now works with my purebasic installation.
I looked at all of the samples, and there were only a few (all early) which failed to compile, for reasons which appeared to be unrelated.
The vast majority compiled as expected.
Your engine is looking very nice indeed btw.
I don't know if a few samples not compiling is a known issue or not, but if it is not, I can document which ones don't work as well as the error message for each, and post that information for you.
regards,
Dave
Re: N3XTD: 3D engine
I forgot to mention, I will also see if I can actually find where the conflicting vector2 and vector3 structures are located.
I am nearly certain it must be pureGDK. Perhaps if Mistrel is following this thread, he can shed some light for us.
regards,
Dave
I am nearly certain it must be pureGDK. Perhaps if Mistrel is following this thread, he can shed some light for us.
regards,
Dave
Re: N3XTD: 3D engine
I just checked the pureGDK documention, and it does indeed have built in math functions for Vector2, Vector3 and Vector4.
I have not actually found the location of these structures, but I am 99.9% certain this is where the conflict is.
Hope this helps.
regards,
Dave
I have not actually found the location of these structures, but I am 99.9% certain this is where the conflict is.
Hope this helps.
regards,
Dave
Re: N3XTD: 3D engine
First conclusion PureGDK and N3xtD do not mix. 
I have never been recovered over the information yet.

Indeed, I know what the problems are.I don't know if a few samples not compiling is a known issue or not, but if it is not, I can document which ones don't work as well as the error message for each, and post that information for you.
I have never been recovered over the information yet.
Re: N3XTD: 3D engine
Hi Tmyke,
is it possible to save irrmesh or irrscene files ? Would be cool for making editors .
Thank you.
is it possible to save irrmesh or irrscene files ? Would be cool for making editors .
Thank you.
Athlon X2 7850 - Geforce 8800 GTS 640mb - 8 GB Ram - Vista Home Premium 64 bit SP2
Re: N3XTD: 3D engine
This will be available in the next update.sigi wrote:Hi Tmyke,
is it possible to save irrmesh or irrscene files ? Would be cool for making editors .
Thank you.

Re: N3XTD: 3D engine
Woaahh, great. Thank`s for your hard work on this. 

Athlon X2 7850 - Geforce 8800 GTS 640mb - 8 GB Ram - Vista Home Premium 64 bit SP2