Page 1 of 2

Violet Source SVN Repository

Posted: Sat Apr 21, 2007 5:55 am
by OnoSendai
To Check out the source code, you're gonna need a SVN client.
Once you have one installed, check out the source code by running this command:

svn co svn://www2.indigorenderer.com/violet/trunk/ --username anonymous

This command will create a directory called 'trunk' and download the Violet src into it.

Posted: Sat Apr 21, 2007 6:36 am
by tizxx
SVN protocol is here...

http://tortoisesvn.tigris.org/

Posted: Sat Apr 21, 2007 9:50 pm
by dogfin
I've done something wrong. I got the code fine, and had to do some patching to get it to compile (unicode string conversions). When I open the sample igi it came with it displays nothing. It shows in the message output that its doing stuff, but I don't see anything.

Compiled on Linux 2.6.20.7, wxgtk 2.8.0.1 <-- unicode compilation. GCC 4.1.2.

Compiling command: g++ `wx-config --libs` `wx-config --cxxflags` -DGCC -c <file.cpp>

Linking command: g++ `wx-config --libs` `wx-config --cxxflags` -DGCC <all *.o> -o violet_exe

I'm sure that this message just makes hair fallout of your head, but I thought you might like to know, deep down someplace. :D Later Man.

Dogfin -

Posted: Sat Apr 21, 2007 10:37 pm
by OnoSendai
Hi Dogfin,
The original code is compiled against wxWidgets 2.65 I think,
Also I only tested it on Windows.
So it's not suprising there are a few hiccups getting it running on linux.

EDIT: I'll update it to use wxWidgets 2.8.3, perhaps that will help.

Posted: Sat Apr 21, 2007 11:37 pm
by OnoSendai
Well I compiled against wxWidgets 2.8.3, but it didn't require any changes to the code, so that's not the problem.

Posted: Sat Apr 21, 2007 11:41 pm
by OnoSendai
Btw... just checking the silly possibilities...
Make sure the window is big enough, e.g. > 1000 pixels vertically, otherwise the render display pane will be clipped away entirely :)

Posted: Sun Apr 22, 2007 5:22 am
by dogfin
Just tried running it fullscreen on my 1600x1200 resolution and still no go. Did you compile your own wxWidgets to use unicode? That makes an incredible difference. Almost every single string literal has to be wrapped in _T (or its synonym wxT), there were also a doezen or so other conversions from std::string that it couldn't make without some coaxing.

But, the official build runs fine under wine so I wouldnt' worry to much. Keep up the good work!

Dogfin-

Posted: Sun Apr 22, 2007 6:01 am
by OnoSendai
I compiled against the non-unicode version.

Posted: Sun Apr 22, 2007 9:04 am
by manuel
hmm a Makefile for Linux would be cool, at the moment i dont have enough overview to write one myself

Posted: Mon Apr 23, 2007 6:10 am
by dogfin
This is the makefile I'm using. Put it in the trunk/ directory. Its simple and doesn't check for modified headers, there are some circular dependancy warnings I have to work out. Hope that helps you. Later.

dogfin -

Posted: Mon Apr 23, 2007 8:47 am
by dougal2
well, I have managed to compile it using Dev-C++ 4.9.9.2 - but not without a couple of problems.

1. had to comment out two lines (602 + 604)in MainWindow.cpp:

Code: Select all

602 C:\dev\Dev-Cpp\Projects\trunk\src\violet\MainWindow.cpp conversion from `wxString' to non-scalar type `std::basic_string<char, std::char_traits<char>, std::allocator<char> >' requested
(prevents file-> open from working)

2. had to disable wxHOT_KEY (in <wx-directory>/include/msw/setup.h) due to linker error:

Code: Select all

  [Linker error] undefined reference to `wxWindow::RegisterHotKey(int, int, int)' 
(doesn't seem to make much difference)

3. Violet crashes when quitting. no idea.

Posted: Mon Jul 23, 2007 12:36 am
by Kram1032
could anyone reupload the code? The host closed the link :S

Posted: Mon Jul 23, 2007 12:39 am
by OnoSendai
I think the SVN repository got lost in the HD crash..
I'll have to recreate it sometime :)

Posted: Mon Jul 23, 2007 12:57 am
by Kram1032
ok...

I'd like to see some of the code :)

Posted: Wed Aug 15, 2007 8:39 am
by zuegs
ONO, does you have repaired the SVN yet???
I can't get the Violet sources :oops: