jinjuyu / sproxel

Automatically exported from code.google.com/p/sproxel
0 stars 0 forks source link

Ubuntu 11.10 will not make #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make 
2.
3.

What is the expected output? What do you see instead?
expected to finish compiling the source
instead gave this error

PaletteWidget.h:67:20: warning:   ‘Imath::Color4f 
PaletteWidget::m_activeColor’ [-Wreorder]
PaletteWidget.h:17:5: warning:   when initialized here [-Wreorder]
PaletteWidget.h:79:26: warning: ‘PaletteWidget::m_pboxH’ will be 
initialized after [-Wreorder]
PaletteWidget.h:79:9: warning:   ‘int PaletteWidget::m_palX’ [-Wreorder]
PaletteWidget.h:17:5: warning:   when initialized here [-Wreorder]
main.cpp: In function ‘int main(int, char**)’:
main.cpp:24:50: error: invalid conversion from ‘const char*’ to ‘char*’ 
[-fpermissive]
script.h:8:6: error:   initializing argument 1 of ‘void init_script(char*)’ 
[-fpermissive]
make: *** [main.o] Error 1

What version of the product are you using? On what operating system?
latest subversion on Uuntu 11.10

Please provide any additional information below.

Original issue reported on code.google.com by bobmo...@gmail.com on 5 Jan 2012 at 8:32

GoogleCodeExporter commented 9 years ago
I probably fixed it (I compile on Windows only for now).
There still might be issues building it on Linux though, particularly with 
Python and PySide.

Original comment by elec...@gmail.com on 5 Jan 2012 at 8:51

GoogleCodeExporter commented 9 years ago
well I was really exited because i didn't get the last error, but now I have 
this one.

UndoManager.h:288:28: warning:   ‘SproxelColor 
CmdSetVoxelColor::Change::newColor’ [-Wreorder]
UndoManager.h:292:5: warning:   when initialized here [-Wreorder]
ImportExport.cpp: In member function ‘virtual bool 
SproxelCsvImporter::doImport(const QString&, UndoManager*, SproxelProjectPtr, 
VoxelGridGroupPtr)’:
ImportExport.cpp:109:9: warning: variable ‘fscanfStatus’ set but not used 
[-Wunused-but-set-variable]
ImportExport.cpp: In member function ‘virtual bool 
PalImporter::doImport(const QString&, UndoManager*, SproxelProjectPtr, 
VoxelGridGroupPtr)’:
ImportExport.cpp:528:3: error: jump to label ‘error’ [-fpermissive]
ImportExport.cpp:506:69: error:   from here [-fpermissive]
ImportExport.cpp:508:9: error:   crosses initialization of ‘int num’
ImportExport.cpp:528:3: error: jump to label ‘error’ [-fpermissive]
ImportExport.cpp:505:73: error:   from here [-fpermissive]
ImportExport.cpp:508:9: error:   crosses initialization of ‘int num’
make: *** [ImportExport.o] Error 1

Original comment by bobmo...@gmail.com on 5 Jan 2012 at 9:32

GoogleCodeExporter commented 9 years ago
Fixed too.
There should be some way to force make to continue building other sources, so 
you can get all the errors.

Original comment by elec...@gmail.com on 5 Jan 2012 at 10:14