← Back to team overview

yade-dev team mailing list archive

Re: Problems with last SVN

 

Bruno Chareyre said:     (by the date of Fri, 26 Jan 2007 16:41:41 +0100)

> Hello
> 
> I was still not able to commit my files.


What errors exactly do you get when trying to commit?

I had no problems with SVN recently. And I remember that you did one
succesfull commit, so it should work...




> /WARN  
> /home/3S-LAB/bchareyre/Programmation/Yade-Sources/SVN-commitable/trunk/yade-core/src/yade/Omega.cpp:290 
> scanPlugins: Couldn't load everything, some stuff may work incorrectly.

did you get only this one line of warning or many of them? See
exaplnations below, maybe a fresh recompile with -DPREFIX will help
you.




> X Error: BadDevice, invalid or uninitialized input device 169
>   Major opcode:  147
>   Minor opcode:  3
>   Resource id:  0x0
> Failed to open device

you can ignore this error. I've seen it on kubuntu even with older
yade 0.10, and few times on sarge.





> Attribute is not defined : outputFileName
> Attribute is not defined : serializationDynlib
 

you can ignore this too. I made FileGenerator to remember a file name
(instead of default ../data/scene.xml) and whether output is binary
or xml. But I didn't want to see them in the window with generator
parameters. That's why we have this "Attribute is not defined".





> /2/ I've deleted manually my ./yade dir. The first run setup looks
> broken :/
>
> FATAL getPrefix: undefined PREFIX, aborting
>

oh, you need to define PREFIX. The recent changes in scons, have
modified the build method a bit. I compile yade with this command:

make compile_install CXXFLAGS='-pthread -lpthread -O3 -I/usr/include/wm3 -DPREFIX=/home/janek/YADE'  INSTALL_DIR='/YADE' PREFIX_DIR='/home/janek'

Not too nice, but I hope that we should get scons working. And also
that -DPREFIX allows the first run setup to detect the direcotry
automatically, instead of asking for it.

You can check this with command 'yade -h', see at the bottom of the output:

   compilation flags:
   PREFIX=/home/janek/YADE
   POSTFIX=




 
> /I've been trying to commit my classes for more than one month now... I 
> start to be a bit annoyed :(.

did I miss your previous posts about your troubles with SVN ?
I'm really sorry that I answer so late to this post :(


-- 
# Janek Kozicki
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References