Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2017-08-03 00:00:00Z and 2017-08-04 00:00:00Z
Avatar
How do i resolve this compile error?
14:05
....[170/170] [4] link DDNet_d.exe LINK : fatal error LNK1181: cannot open input file 'libopusfile.lib' bam: 'link DDNet_d.exe' error 1181 bam: error: a build step failed
Avatar
have yo cloned the ddnet repo?
14:08
you arem issing libs i supose
14:08
run git submodule update --init --recursive
Avatar
i downloaded ddnet-master from git and extracted ddnet-libs-master into the libs folder
14:09
idk how it detects libraries but if the ddnet libs folder name is " ddnet-libs-master" try changing it to ddnet-libs (edited)
Avatar
it is
14:09
of note, there is no "libopusfile.lib" exactly in the libs file
14:10
true
Avatar
ah well
14:11
isnt it comiling for 32 bit tho
Avatar
name is same
Avatar
well the file is there, why the error
Avatar
actually ill just reconfirm what i said about "libopusfile.lib"; there is no libopusfile.lib, theres libopusfile.dll, and opusfile.lib
Avatar
you are on windows right?
Avatar
yes 10
Avatar
bam or cmake?
Avatar
this is with bam
14:20
i couldnt get smake to wrik either
Avatar
tried with cmake?
14:20
ah
Avatar
is there a step after running cmake - it just generates a load of vs project files, not the execs
14:21
cmake ..
14:21
then msbuild DDNet.sln
Avatar
i tried building the solution in vs, not in command, ill try that
Avatar
It should be opusfile.lib
14:32
Why is it trying to use libopusfile.lib?
14:32
As a temporary workaround you can try renaming it
Avatar
idk mang, thats the wrror
Avatar
I'm not asking you specifically, just wondering
14:33
but cmake is more important anyway, we will remove bam soon
Avatar
<heinrich5991> Dr. Jekyll: building the solution in VS is equivalent to executing msbuild DDNet.sln
Avatar
yeah, it didnt work either
Avatar
same error?
Avatar
"cmd.exe" exited with code 9009.
14:35
among other red text
Avatar
<heinrich5991> check whether you can find something about opusfile or paste the whole text
14:36
<heinrich5991> not in here, to a paste site (like https://pastebin.mozilla.org/)
14:36
<heinrich5991> afk ~10min
Avatar
<deen> You have Python installed?
14:44
<deen> PYTHON_EXECUTABLE-NOTFOUND
Avatar
i installed python 3.6 this morning
Avatar
<deen> then cmake can't find it. but i have no idea about windows
14:45
<deen> I'd guess the python binary's directory needs to be in some PATH environment variable
Avatar
true, it has to be
14:46
but, i think Python do it automatically
Avatar
<deen> do we support python3?
Avatar
while installation
Avatar
<deen> or just python2?
Avatar
"Python 3.x support is introduced with Teeworlds 0.6.0." on vanilla
Avatar
<deen> open cmd.exe, write python
14:50
<deen> press enter
Avatar
not recognised
Avatar
<deen> so it's not in PATH
14:50
<deen> reinstall python and tell it to set the PATH, or log in again, or set it manually
Avatar
How do I set a system environment variable in Windows 10 (without using the registry editor)? (Note: Other answers don't specifically address Windows 10 - at least not yet - and they leave off imp...
14:52
follow instructions
14:52
and then after last step, find on list
14:52
PATH
14:52
or, if you ware windows 10, then you will know what to do.
14:52
add path to python folder
Avatar
<heinrich5991> mh. we shouldn't continue on missing python executable btw
14:54
<heinrich5991> Dr. Jekyll: when you click on the start menu, and enter "python", does some python installation show up?
Avatar
i have python 3.6 (32 bit) - desktop app as best match, and manula, module docs and IDLE as 3 other apps
14:56
it appears to be installed in appdata/local/programs, instead of in programfiles//
Avatar
<heinrich5991> mh. maybe reinstall it and select "install it for all users"
15:01
<heinrich5991> have you installed the cmake gui for windows?
15:01
<heinrich5991> in there you could also select the python executable directly I think
Avatar
the zip included a gui, yes
Avatar
@Dr. Jekyll install python for all users
15:09
then it will be in program files
Avatar
the default in the latest installer is appdata, with allusers ticked
15:10
so ¯\_(ツ)_/¯
15:10
its in PATH now tho
Avatar
mine is located here C:\Program Files\Python36
15:11
i installed it yesterday
Avatar
find where python.exe is located, type PATH in the search bar, open the one that says system variables or smth like that, then go to enviroment variables and edith "Path" in system variables adding the python folder path
Avatar
infact i cant even UNtick all users sooo
Avatar
this page is so slow
15:16
can't see it
Avatar
huh...
Avatar
i recommend prntscr.com :P
Avatar
yeash, its bcos im logged in i can, sry
Avatar
go on customize installation
Avatar
yeah yeah i done already
Avatar
<deen> check the environment variables
Avatar
yeah yeah
Avatar
i even give you tutorial
Avatar
yeah yeah yeah
15:20
stop
Avatar
ok, compile success
Avatar
<deen> great
15:31
<deen> so we need to improve the missing-python error
15:31
<deen> and remove bam
Avatar
<Learath2> there is a checkbox somewhere that makes it install in appdata
16:36
<Learath2> it's new, had me fooled for a while too
Avatar
77ca505 Do not continue without python - Learath2
Avatar
<Nimda> Highlife by Skeptar & ٭ıƞdex'<3 just released on Brutal at 2017-08-03 19:56
Avatar
How randomness in automaper rules currently work is that you set a number x and then every xth case the rule fits it will be applied. This number x is defined as integer. Problem: The highest possibilitys you can get are: 1 <-> 100% 2 <-> 50% (every second case) There is no way to define a probability of e.g. 70% except copying the same rule multiple times. Thus it would be nice if you could also set a float, which then will be either interpreted as e.g. "every 1.5th case", or as pur...
Exported 110 message(s)