Violet Source SVN Repository
Violet Source SVN Repository
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.
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.
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.
Later Man.
Dogfin -
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.

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-
But, the official build runs fine under wine so I wouldnt' worry to much. Keep up the good work!
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 -
dogfin -
- Attachments
-
- Makefile.tar.gz
- (522 Bytes) Downloaded 499 times

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:
(prevents file-> open from working)
2. had to disable wxHOT_KEY (in <wx-directory>/include/msw/setup.h) due to linker error:
(doesn't seem to make much difference)
3. Violet crashes when quitting. no idea.
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
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)'
3. Violet crashes when quitting. no idea.
Who is online
Users browsing this forum: No registered users and 31 guests