Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Discussions > Building VICE for Linux
2023-12-16 00:10
cbmeeks

Registered: Oct 2005
Posts: 72
Building VICE for Linux

I use Fedora/GNOME.

I know I can get VICE from the public repos but the latest version is 3.61 and I would like to mess around with 3.7.

When I build VICE using SDL, I get a Makefile and everything works. However, I would rather have the nice UI that I (assume) GTK3 gives you.

Here is how I run everything for SDL2:

./autogen.sh

./configure --enable-sdl2ui --disable-pdf-docs --without-pulse --with-sdlsound

make

sudo make install


However, building for GTK3 doesn't generate a Makefile.

./autogen.sh

./configure --enable-gtk3ui --disable-pdf-docs


Any idea what I'm doing wrong?

Thanks.
2023-12-16 03:27
chatGPZ

Registered: Dec 2001
Posts: 11116
No idea what you are doing there, but that should definitely give you a makefile.

Full instructions (for debian, so you'll have to use the respective commands for your package manager) are in doc/building/Linux-GTK3-Howto.txt

(and you should totally use the current svn head revision at this point, which will be almost identical to the upcoming christmas release)
2023-12-16 04:52
cbmeeks

Registered: Oct 2005
Posts: 72
That's the odd part. I am using that doc for reference.

I'll keep investigating. Still not sure why SDL switch gives makefile but gtk doesn't. Very strange.

I'm sure I'm doing something stupid.

Thanks
2023-12-16 05:39
zzarko

Registered: Feb 2003
Posts: 66
Just to check the obvious, you do have installed Fedora's equivalent of Debian's libgtk-3-dev package (not sure if it has the same name)? I am building using --enable-gtk3ui without problems.
2023-12-16 05:44
cbmeeks

Registered: Oct 2005
Posts: 72
Yep. I think it's called gtk3-devel or something like that. I installed it previously.
2023-12-16 10:48
spider-j

Registered: Oct 2004
Posts: 445
./configure usually should be pretty vocal about what is missing. If you can't figure it out by yourself, maybe post the ./configure output to pastebin or here so we're able to find out what is missing.
2023-12-17 05:55
cbmeeks

Registered: Oct 2005
Posts: 72
Quote: ./configure usually should be pretty vocal about what is missing. If you can't figure it out by yourself, maybe post the ./configure output to pastebin or here so we're able to find out what is missing.

That was a great idea. Not sure why it didn't occur to me. lol

After piping the configure into a log file, I noticed this:

configure: error: Package requirements (glew) were not met:

Package 'glew', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GLEW_CFLAGS
and GLEW_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.



So it seems I indeed have some missing libraries.

Thanks!


** UPDATE **

Turns out I was missing the glew-devel package in Fedora. Everything works again and I'm running 3.7. Thanks for the help.
2023-12-17 17:06
Lazycow

Registered: Dec 2013
Posts: 2
Does the Sync work for you?
When I use SDL-VICE for Linux, I don't get a stable framerate after a few seconds. (Ubuntu for me)
2023-12-17 17:17
chatGPZ

Registered: Dec 2001
Posts: 11116
Try making the sound buffer a bit larger - the default requires a fast machine
2023-12-18 03:05
cbmeeks

Registered: Oct 2005
Posts: 72
How do I test that?

FYI, I do have a very fast machine with a lot of RAM. So I assume that could make a difference.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
Yogibear/Protovision
Guests online: 85
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Fullscreen Graphicians
1 Carrion  (9.8)
2 Joe  (9.8)
3 Duce  (9.8)
4 Mirage  (9.7)
5 Facet  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.302 sec.