A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Julio Jerez » Thu Aug 19, 2010 1:12 pm
I do not undenstand, how can tha be all thsoe file are buil wi the exact same command in teh makle file.
That had never happen to any one before.
I do not know what to do, why one fiel will have diffrent set of Flag when it was buil on a systme that doen no even have 64 bit sopport?
when I run the elf it runs fine here.
and I do not even thonk that file is part of Newton, is pat of an old library, which is the core of newton, but I think I do not use that file in problem 15 years.
I will revisit it tonight by I do no really what could be.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Julio Jerez » Fri Aug 20, 2010 11:51 am
objdump -a libNewton.a | grep x86-64
dgPoolBaseAllocator.o: file format elf64-x86-64
you were right I type that command and it sho wthat one file with 86-64 compile.
I do no know hwo that happne and I do no wnat to know.
I buiodl the library again an dthsi time teh command does no say anything.
The elf doe no work in Linux 32, I crashe in wxWidget as usual tryo to get the even hnadle form teh main wiondopw.
My guess is that after Ubunto changed to 10.04 a whole bunch crap_ now does not works with WxWidget anumore and have to be updated too.
I am sick and tired of debugging Bbg ass WxWidget and dCollada. I will no spend any more time on that, teh linux will have to waith until I re-write the demos using Linux GUIs an dthe new file format to replace collada.
I uplload it Linux32 SDK again see if that one if good now.
The newton.a and .so sodul be fine simnce nothg is difference.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Carli » Fri Aug 20, 2010 2:16 pm
Why do you care about a GUI for the editor?
Here are a lot of programmers who would help you (for example me) to write the editor.
You just have to make a C interface for the editor and everyone can use the editor in his own project.
I need a special GUI to integrate the physics editor into my engine. I could also build a general GUI.
You just have to invent an interface like
- Code: Select all
char* SelectFile(char* searchPattern, int pathRememberSlot, bool fileMustExist) as a callback to open a file selection window
void Clicked(float x, float y, float z) as interface function to handle events
-
Carli
-
- Posts: 245
- Joined: Fri Oct 02, 2009 5:28 am
by Julio Jerez » Fri Aug 20, 2010 2:30 pm
The editor have to be presented like Max, or Maya, of XSI.
and that is more challenging the it thing at first.
the end use do no nee to use the GUI, tehy only use the SDK liobrary wich have all teh funtionality already.
but it is the editor the tool tha can be used for modelling.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Stucuk » Fri Aug 20, 2010 2:50 pm
Why do you care about a GUI for the editor?
Julio was talking about the Demos not the Editor. The Editor uses Windows Native GUI. When it comes to the editor the concept was that Julio would create it for Windows using the Native GUI and the community could then convert that to there own OS's stuff. That way Julio wouldn't have to waste time making it cross compatible as the community could do that for him once its finished(The Editor is an Open Source project after all).
-

Stucuk
-
- Posts: 801
- Joined: Sat Mar 12, 2005 3:54 pm
- Location: Scotland
-
by hicham » Fri Aug 20, 2010 6:02 pm
Julio Jerez wrote:The elf doe no work in Linux 32, I crashe in wxWidget as usual tryo to get the even hnadle form teh main wiondopw.
My guess is that after Ubunto changed to 10.04 a whole bunch crap_ now does not works with WxWidget anumore and have to be updated too.
I am sick and tired of debugging Bbg ass WxWidget and dCollada. I will no spend any more time on that, teh linux will have to waith until I re-write the demos using Linux GUIs an dthe new file format to replace collada.
Are you using wxWidgets from the repos ?
Julio Jerez wrote:I uplload it Linux32 SDK again see if that one if good now.
The newton.a and .so sodul be fine simnce nothg is difference.
Well "eu-findtextrel libNewton.so" still shows that the objects aren't compiled with -fPIC.
-
hicham
-
- Posts: 31
- Joined: Thu Aug 05, 2010 10:15 pm
- Location: Taza
-
by Julio Jerez » Fri Aug 20, 2010 6:09 pm
this is ridiculus, I did it but I do not know why it is the every time build from a diffrtent make file different folder.
even if I delete makefile next time it is there again.
This is stupid. Linux Make me sick.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by hicham » Fri Aug 20, 2010 6:27 pm
Julio Jerez wrote:this is ridiculus, I did it but I do not know why it is the every time build from a diffrtent make file different folder.
even if I delete makefile next time it is there again.
Are you using a build system or just a hand written makefile ?
-
hicham
-
- Posts: 31
- Joined: Thu Aug 05, 2010 10:15 pm
- Location: Taza
-
by Julio Jerez » Fri Aug 20, 2010 6:52 pm
I just time
cd Destop\Newton\development
make clean
make
but I think some time the path goes to the user\Julio\were I kee backups
This thong happen in Linux, and I hate it, I do no knwo whey they is no Linux IDE liek in Mac xcode, on PC VS.
anyway I will fix again.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by hicham » Fri Aug 20, 2010 10:48 pm
Julio Jerez wrote:but I think some time the path goes to the user\Julio\were I kee backups
This thong happen in Linux, and I hate it, I do no knwo whey they is no Linux IDE liek in Mac xcode, on PC VS.
anyway I will fix again.
You can use CMake, a cross platform buildsystem, which can generate Visual Studio and XCode project files and other IDEs as well, packages, add tests ... etc.
-
hicham
-
- Posts: 31
- Joined: Thu Aug 05, 2010 10:15 pm
- Location: Taza
-
by Julio Jerez » Fri Aug 20, 2010 11:55 pm
before I make the build, I recompiled again an dI run the two comands, this i swhat I get
eu-findtextrel libNewton.so
eu-findtextrel: no text relocations reported in 'libNewton.so'
julio@julio-desktop:~/Desktop/NewtonLinux32/newtonSDK/sdk$ objdump -a libNewton.a | grep x86-64
julio@julio-desktop:~/Desktop/NewtonLinux32/newtonSDK/sdk$
is that right or wrong?
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by hicham » Sat Aug 21, 2010 12:19 am
This is great, thanks a lot for fixing this
-
hicham
-
- Posts: 31
- Joined: Thu Aug 05, 2010 10:15 pm
- Location: Taza
-
by Julio Jerez » Sat Aug 21, 2010 12:34 am
I did not load to the site yet.
All I wantt to knwo if this resul is right before I load it up.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Julio Jerez » Sat Aug 21, 2010 7:46 am
Ok try again, I build it, an dI delete all teh other copies so that there is no chance I copy the wrong archive.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by hicham » Sat Aug 21, 2010 7:05 pm
Thanks, It works like a charm
-
hicham
-
- Posts: 31
- Joined: Thu Aug 05, 2010 10:15 pm
- Location: Taza
-
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 45 guests