Violet Source SVN Repository

A forum for exporter development discussion.
User avatar
OnoSendai
Developer
Posts: 6225
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Violet Source SVN Repository

Post by OnoSendai » Sat Apr 21, 2007 5:55 am

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.

tizxx
Posts: 116
Joined: Tue Jul 04, 2006 1:50 am

Post by tizxx » Sat Apr 21, 2007 6:36 am

SVN protocol is here...

http://tortoisesvn.tigris.org/

User avatar
dogfin
Posts: 48
Joined: Wed Sep 13, 2006 1:28 pm
Location: Washington State - USA

Post by dogfin » Sat Apr 21, 2007 9:50 pm

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 -
Image

User avatar
OnoSendai
Developer
Posts: 6225
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Apr 21, 2007 10:37 pm

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.

User avatar
OnoSendai
Developer
Posts: 6225
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Apr 21, 2007 11:37 pm

Well I compiled against wxWidgets 2.8.3, but it didn't require any changes to the code, so that's not the problem.

User avatar
OnoSendai
Developer
Posts: 6225
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sat Apr 21, 2007 11:41 pm

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 :)

User avatar
dogfin
Posts: 48
Joined: Wed Sep 13, 2006 1:28 pm
Location: Washington State - USA

Post by dogfin » Sun Apr 22, 2007 5:22 am

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-
Image

User avatar
OnoSendai
Developer
Posts: 6225
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Sun Apr 22, 2007 6:01 am

I compiled against the non-unicode version.

manuel
Posts: 46
Joined: Sat Feb 17, 2007 9:13 am
Location: Germany
Contact:

Post by manuel » Sun Apr 22, 2007 9:04 am

hmm a Makefile for Linux would be cool, at the moment i dont have enough overview to write one myself

User avatar
dogfin
Posts: 48
Joined: Wed Sep 13, 2006 1:28 pm
Location: Washington State - USA

Post by dogfin » Mon Apr 23, 2007 6:10 am

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 -
Attachments
Makefile.tar.gz
(522 Bytes) Downloaded 222 times
Image

User avatar
dougal2
Developer
Posts: 2532
Joined: Wed Nov 15, 2006 8:17 am
Location: South London

Post by dougal2 » Mon Apr 23, 2007 8:47 am

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.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon Jul 23, 2007 12:36 am

could anyone reupload the code? The host closed the link :S

User avatar
OnoSendai
Developer
Posts: 6225
Joined: Sat May 20, 2006 6:16 pm
Location: Wellington, NZ
Contact:

Post by OnoSendai » Mon Jul 23, 2007 12:39 am

I think the SVN repository got lost in the HD crash..
I'll have to recreate it sometime :)

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon Jul 23, 2007 12:57 am

ok...

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

zuegs
Posts: 380
Joined: Tue Jun 27, 2006 5:46 pm
Location: switzerland

Post by zuegs » Wed Aug 15, 2007 8:39 am

ONO, does you have repaired the SVN yet???
I can't get the Violet sources :oops:

Post Reply
23 posts

Who is online

Users browsing this forum: No registered users and 1 guest