Error on build, missing file

Report any bugs here and we'll post fixes

Moderators: Sascha Willems, Thomas

Error on build, missing file

Postby misho » Fri Oct 27, 2023 2:00 pm

Hi,

Just pulled the latest, getting this:

3>c1xx : fatal error C1083: Cannot open source file: 'D:\Newton 4.00\newton-dynamics\newton-4.00\applications\ndSandbox\demos\ndBalanceController.cpp': No such file or directory
Misho Katulic
CTO, FSX SpacePort
TerraBuilder
www.terrabuilder.com
misho
 
Posts: 673
Joined: Tue May 04, 2010 10:13 am

Re: Error on build, missing file

Postby misho » Mon Oct 30, 2023 2:22 pm

Hello? Anyone?

ndBallanceController.cpp is in the project, but I can see it is not included in git repository.

Please help, someone! Julio?
Misho Katulic
CTO, FSX SpacePort
TerraBuilder
www.terrabuilder.com
misho
 
Posts: 673
Joined: Tue May 04, 2010 10:13 am

Re: Error on build, missing file

Postby Dave Gravel » Sat Nov 04, 2023 4:27 pm

This file no longer appears to be present in the latest version of Newton. Perhaps you made a faulty copy from GitHub or copied a new version over an old one. Here is the latest GitHub repository for Newton 4, compiled and seemingly functioning normally.
https://orionx3d.sytes.net/nd4.png
Last edited by Dave Gravel on Sun Nov 05, 2023 8:13 pm, edited 1 time in total.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Re: Error on build, missing file

Postby misho » Sun Nov 05, 2023 2:21 pm

Thanks Dave!

I pull the new code every time I do a build (I use Fork application) and now I can see that the "ndBallanceController.cpp" is out of the project, so that's fixed, but now I am getting 8 new unresolved externals in "ndTestDeepBrain.cpp" (I'm writing this on 13:20 EST).

Oh and your link to a PNG is broken (returns as "Forbidden, no permission")
Misho Katulic
CTO, FSX SpacePort
TerraBuilder
www.terrabuilder.com
misho
 
Posts: 673
Joined: Tue May 04, 2010 10:13 am

Re: Error on build, missing file

Postby Dave Gravel » Sun Nov 05, 2023 6:11 pm

I'm sorry for the PNG image; it wasn't really important. It was just to show the folders.
I'm testing my personal web server, and I've enabled SSL, and everything seems fine. However, when I'm in HTTPS mode, it displays the 'no permission' error. I need to review my web configuration to find the reason. Currently, the page only works in HTTP mode. Perhaps your web browser automatically changes the default link to HTTPS.

As for the Newton SDK, I don't use the Fork application. Personally, I always download the ZIP file directly from GitHub.
Currently, Julio appears to be making some changes to the AI's brain component. The SDK compiles successfully, but at the moment, the demo doesn't seem to be working due to some assertions. It's likely that the demo will work soon once Julio has finished his implementation. However, the SDK itself is functioning well.
https://www.youtube.com/watch?v=7n69l0KMQ-4
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Re: Error on build, missing file

Postby misho » Tue Nov 07, 2023 1:57 am

Hi Dave, thanks for your response and input!

Ok - so I figured it out - my mistake... I keep forgetting that the files in the repository are source code only, NOT the Visual Studio solution/project files. Those are made using CMAKE. Therefore, if there are new source files added, my "old" Visual Studio solution/project won't know about them.

Simple to fix - just locate and add them to the solution from inside the VS. All is compiling now.

As for the Git/Fork - I highly recommend it. It is super simple to set up and work with. As long as I remember the "gotchas" as mentioned above ;)
Misho Katulic
CTO, FSX SpacePort
TerraBuilder
www.terrabuilder.com
misho
 
Posts: 673
Joined: Tue May 04, 2010 10:13 am

Re: Error on build, missing file

Postby Dave Gravel » Tue Nov 07, 2023 2:35 am

No problem, it's my pleasure. Yes, if someone has a specific project and works on it for a long time, it's certainly better with Git/Fork.

As for me, I don't use it because I have many projects that use Newton, and they are not all up to date with the current SDK. Additionally, I have numerous backups on several disks spanning several years. It would be complicated to switch to Git/Fork for these projects, especially since they are no longer in their original locations.

So, when I create a backup, I save it with the zip of the last compatible version I was using. Furthermore, I like to test and try out the new changes to Newton during the modifications that Julio introduces. I'm not always ready to apply the new changes to my engine, so I often quickly test the Newton SDK with just the zip, without updating the code of my current project.

However, yes, for a stable project that always stays in the same directory, it is better to use the Git/Fork tool. If you have any other questions, don't hesitate to ask, and if I can answer them, I will do my best. Otherwise, when Julio has more time, he or someone else will do it. He's very busy working on AI, which is a quite complex and demanding task. When you take too many breaks or switch to something else, it becomes difficult to return to complex code and remember everything.

In this kind of code, it's better to stay as focused as possible on what you want to achieve, and once the fundamentals are solid, you can take more time to breathe. It's a bit like with Vulkan, which is more complex than OpenGL. If you take a break, it's not always easy to come back to your code without forgetting something.

Have a good day.
You search a nice physics solution, if you can read this message you're at the good place :wink:
OrionX3D Projects & Demos:
https://orionx3d.sytes.net
https://www.facebook.com/dave.gravel1
https://www.youtube.com/user/EvadLevarg/videos
User avatar
Dave Gravel
 
Posts: 800
Joined: Sat Apr 01, 2006 9:31 pm
Location: Quebec in Canada.

Re: Error on build, missing file

Postby misho » Fri Nov 10, 2023 1:22 pm

Dave Gravel wrote:If you have any other questions, don't hesitate to ask, and if I can answer them, I will do my best. Otherwise, when Julio has more time, he or someone else will do it. He's very busy working on AI, which is a quite complex and demanding task. When you take too many breaks or switch to something else, it becomes difficult to return to complex code and remember everything.

In this kind of code, it's better to stay as focused as possible on what you want to achieve, and once the fundamentals are solid, you can take more time to breathe.


Thanks Dave, I appreciate it! Definitely, I know the feeling of being focused on something and not wanting to lose focus! Thanks for your offer, I will definitely reach out if I need a clarification on something!
Misho Katulic
CTO, FSX SpacePort
TerraBuilder
www.terrabuilder.com
misho
 
Posts: 673
Joined: Tue May 04, 2010 10:13 am


Return to Bugs and Fixes

Who is online

Users browsing this forum: No registered users and 14 guests