 |
 Reply 'Angles'
#16460 posted by NewHouse on 2016/05/20 21:26:08
Thanks, what an nice idea - I will use it totally sooner or later*
 Re #16459
#16461 posted by NewHouse on 2016/05/20 21:35:11
Yes it did.. clipping seems to work now.. I don't what I did work but now player moves smoothly near the iron bars.. what a relief ^^
 Re #16459 Sorry Grammar Mistakes
#16462 posted by NewHouse on 2016/05/20 21:37:03
Yes clipping works now.
I don't know what I did, but it works now and player moves smoothly near the iron bars.. what a relief ^^
 Netradiant Compiling/Linux Question...
Don't know if this counts as a mapping question, but there's no Netradiant/general editor thread from what I can see...
I want to set up Netradiant from xonotic's git as an alternative to use alongside TB (xaGe kindly suggested it to me a lifetime ago, but other things got in the way in the mean time). Compiling things from source and using git etc. always tends to make my brain melt and once again I'm running into trouble and need help.
I've consulted the compiling instructions, according to which I need the following on Linux:
environment:
27 - gcc >= version 3.1 (preferably)
28 - GNU make
29 - svn >= 1.1 (some build steps use svn)
30
31 dependencies:
32 - gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)
33 - gtkglext >= 1.0.0 (requires opengl)
34 - libxml2 >= 2.0.0
35 - zlib >= 1.2.0 (for archivezip module)
36 - libpng >= 1.2.0 (for imagepng module)
This was already a bit puzzling to me, as these things seem to have slightly different names when I try to look for them in Synaptic Package Manager, but I think I now have everything in that list installed (plus possibly a few extra things).
I've done git clone git://git.icculus.org/divverent/netradiant.git and went into the "netradiant" directory, but now when I run "make" I get this output:
checking that the build tools exist
Checking for /bin/sh (bash (or another shell))... found.
Checking for echo (coreutils)... found.
Checking for echo -n (coreutils)... found.
Checking for cat (coreutils)... found.
Checking for mkdir -p (coreutils)... found.
Checking for cp (coreutils)... found.
Checking for cp -r (coreutils)... found.
Checking for rm -f (coreutils)... found.
Checking for rm -f -r (coreutils)... found.
Checking for mv (coreutils)... found.
Checking for echo test | tee /dev/stderr (coreutils)... found.
Checking for sed (sed)... found.
Checking for find (findutils)... found.
Checking for diff (diff)... found.
Checking for cc (gcc)... found.
Checking for g++ (g++)... found.
Checking for ranlib (binutils)... found.
Checking for ar (binutils)... found.
Checking for pkg-config (pkg-config)... found.
Checking for unzip (unzip)... found.
Checking for git (git-core)... found.
Checking for svn (subversion)... found.
Checking for wget (wget)... found.
Checking for ldd (libc6)... found.
All required tools have been found!
checking that the dependencies exist
Checking for glib/gutils.h (libglib2.0-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for libxml/xpath.h (libxml2-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for png.h (libpng12-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for GL/gl.h (mesa-common-dev (or another OpenGL library))... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for gtk/gtkdialog.h (libgtk2.0-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for pango/pangoft2.h (libpango1.0-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for gtk/gtkglwidget.h (libgtkglext1-dev)... not found, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for dlfcn.h (libc6-dev)... found and links.
Checking for zlib.h (zlib1g-dev)... found and links.
make: *** [dependencies-check] Error 1
I've checked again, and the "not found" items are things I have installed, so I'm stumped. Should I "set PKG_CONFIG_PATH right!"? What does that mean?
Ok, so maybe I'm just an idiot and didn't install all the dependencies although I thought I had ...
Just installed a bunch more stuff, but "make" still gives me an error message. It's miles long and ends with
make: *** [contrib/bobtoolz/DPatch.o] Error 1
Anyone?
(I didn't post the full terminal output here since it's really, really long and I don't know which parts of it are relevant.)
#16465 posted by ericw on 2016/05/21 20:53:05
(I didn't post the full terminal output here since it's really, really long and I don't know which parts of it are relevant.)
use pastebin.com or similar :)
The make error 1 line doesn't tell anything useful, unfortunately.
#16466 posted by ericw on 2016/05/21 20:56:42
also I think this is the latest netradiant: https://gitlab.com/xonotic/netradiant
From looking at that readme, it looks like they've switched to CMake.
Yeah, the main trick is finding the debian package names.. which can take a bit of guesswork. e.g. the readme says you need GTK2, the corresponding debian package is "libgtk2.0-dev". Just use google when in doubt I guess.
 Thanks For Responding, Ericw!
Oh, never used pastebin before. And the output seemed a lot longer the first time around; now there doesn't seem to be that much of it. Anyway, here it is: http://pastebin.com/mPHdbjDv
From looking at that readme, it looks like they've switched to CMake.
Ah, so I've been following outdated instructions...
So I did cmake -H. -Bbuild -G "Unix Makefiles", and that did something, but now I don't know what I'm supposed to do next, or whether I was supposed to something else first... the readme doesn't make that much sense to me.
 Hmm
#16469 posted by ericw on 2016/05/21 21:44:49
Seems the code is written for C++11 but the compiler is not expecting that version of C++.
you can try running: CXXFLAGS="-std=c++11" make
instead of just make
I would report it as an issue to the netradient devs though. Also, what is the output of: g++ --version?
 Cmake
#16470 posted by ericw on 2016/05/21 21:47:50
After doing
cmake -H. -Bbuild -G "Unix Makefiles"
you should do this:
cd build
make
CMake generates the Makefile for building radiant in the "build" subdirectory. (when you run "make", it looks for a file called Makefile in the current directory).
g++ (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I'm doing
cd build
make
and something is happening...
 Success!
Thank you, ericw!
 Great :)
#16473 posted by ericw on 2016/05/21 22:01:01
 Help For Mac
#16476 posted by Johnison Boa on 2016/05/27 05:10:16
how I can qbsp a map in mac? The qbsp opens with terminal but i can�t drag a map.
 Weird Compile Error
#16477 posted by Breezeep_ on 2016/05/27 20:14:49
http://pastebin.com/4HZR5ycC
Not very sure how to find those bad faces in TB2. Anyone care to help?
#16478 posted by ericw on 2016/05/27 20:50:37
Hm, the error message got a bit distorted from multiple threads printing at once.
The verts listed in the error will show you where the face is.. what I always do is create some point entity like a light, and paste in one of the verts from the error message. e.g. check out "1512.000 1300.000 488.000".
You should just need to reset the texture alignment on these faces, and that should fix the problem
 @Johnison Boa
#16479 posted by ericw on 2016/05/27 20:52:10
copy the "qbsp" executable in your quake/id1/maps folder.
Open Terminal, and enter:
cd ~/Desktop/quake/id1/maps
./qbsp mymap.map
assuming your quake directory is on your desktop, adjust as needed.
 BSP (or Not).
#16480 posted by biff on 2016/05/28 03:56:39
Working with Jackhammer on my new laptop, but I can't seem to get any compile progs to create a .bsp file (even tho the compile window says they are):
---- WriteBSPFile ----
17 planes 340
22 vertexes 264
6 nodes 144
16 texinfo 640
16 faces 320
12 clipnodes 96
2 leafs 56
16 marksurfaces 32
72 surfedges 288
37 edges 148
4 textures 38260
lightdata 0
visdata 0
entdata 323
1 warning
Elapsed time : 0:00
Peak memory used : 0.1 MB
** Executing...
** Command: C:/Program Files/Jackhammer/quake/vis.exe
** Parameters: "C:Program Files (x86)QuakeId1mapstestes"
Quake VIS Compiler (build Dec 11 2013)
------------ vis ------------
************ ERROR ************
Error opening C:Program Files (x86)QuakeId1mapstestes.bsp: No such file or directory
Any ideas?
 BTW.
#16481 posted by biff on 2016/05/28 05:00:55
The proper slash grammar for the file (C:\Program Files (x86)\Quake\Id1\maps\testes) wasn't retained for some reason when I pasted that last post in.
 Oh Jesus God.
#16482 posted by biff on 2016/05/28 05:01:37
It's still not doing it -- well, that's not a factor, in any case ;D
 Maybe It's Because Of The Spaces In The Path?
#16483 posted by SleepwalkR on 2016/05/28 07:08:19
 Spaces?
#16484 posted by biff on 2016/05/28 14:45:32
What, you mean with "Program Files", and whatnot? I didn't have a problem with that before.
|
 |
2 posts not shown on this page because they were spam |
|
You must be logged in to post in this thread.
|
Website copyright © 2002-2025 John Fitzgibbons. All posts are copyright their respective authors.
|
|