Compilation help!

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Compilation help!

by azekill_DIABLO » Sun Jun 05, 2016 12:29

i will soon post a fork, of an old MT version, just for training!
The problem is i can't have all the stuff to compile on windows i have Cmake and Visual Studio, but after that it looks like things needed are not maintened anymore!
Can someone compile for me on Windows (32bits)??
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Compilation help!

by Krock » Sun Jun 05, 2016 13:21

azekill_DIABLO wrote:but after that it looks like things needed are not maintened anymore!

Err what? At least CMake is still maintained and the setup works fine here.
If you want to compile it on Windows, follow the guide on the dev wiki and (the also linked there) CMake variable values I use to build the Minetest binary on my system.

Alternatively, I would compile it for you but only there are enough changes in your fork, so the effort is worth it.

EDIT: I'm online on IRC, contact me when you got troubles or questions.
Last edited by Krock on Sun Jun 05, 2016 13:37, edited 1 time in total.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Compilation help!

by azekill_DIABLO » Sun Jun 05, 2016 13:29

ok!
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Compilation help!

by azekill_DIABLO » Thu Jul 07, 2016 17:19

I have a problem... when i go in minetest.sln and when i click on build <name of the project> it can't find the .cpp files in the correct directory even if they are there.......
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
Dopium
Member
 
Posts: 233
Joined: Sat Jun 09, 2012 15:43

Re: Compilation help!

by Dopium » Sun Jul 31, 2016 07:25

Thought i would comment here rather then starting a new thread. Im having some issues
1) Understanding the processes
2) All the information is outdated and whats fairly new becomes confusing

I have read the dev wiki and readme along with watching a really old -c55 compilation video. Although still not really getting anywhere.

Really want to start compiling 64bit MSVC builds to get the latest builds without waiting for them to be posted in the builds sub-forum.

So far i have downloaded and placed into the DIR minetest1/:
[img]https://forum.minetest.net/download/file.php?mode=view&id=7110[/img]

However im getting and issue on configure:
[img]
issue1.png
[/img]

Any help would be great thanks.
Attachments
issue1.png
issue1.png (25.95 KiB) Viewed 3434 times
issue1a.png
issue1a.png (12.4 KiB) Viewed 3434 times
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Compilation help!

by Krock » Sun Jul 31, 2016 07:36

Dopium wrote:1) Understanding the processes
2) All the information is outdated and whats fairly new becomes confusing

First you need to compile the libraries you need for Minetest when the .lib files don't exist yet.
Then configure CMake properly (Use the "Advanced" checkbox if there's not enough information) and fill in the correct paths. I think this file will help you to do it right. When you get errors in CMake, do not make a screenshot that cuts off the whole error text - use [code] to paste it here.

Additionaly have a look at this pull. It contains some improvements of the documentation.
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Dopium
Member
 
Posts: 233
Joined: Sat Jun 09, 2012 15:43

Re: Compilation help!

by Dopium » Sun Jul 31, 2016 08:10

Ok thanks, there is lots of useful information you have provided and yeah maybe im stepping into alot more advanced realm then i thought. So as far as i know, im missing libraries if understood correctly, next challenge is to get those. Will the pre-compiled win32 download you have work for 64bit builds? (im used to scripting not compiling in C++).

The advanced checkbox has indeed displayed alot more information, now i have to work out what im doing with that side of things. also the error im getting seems self explanatory however im fairly sure i have MSVC installed or is the compiler a separate program?

Either way im going to try my hardest to work it out and understand this.

Error code:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
The C compiler identification is unknown
The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:9 (project):
  No CMAKE_C_COMPILER could be found.



CMake Error at CMakeLists.txt:9 (project):
  No CMAKE_CXX_COMPILER could be found.



Configuring incomplete, errors occurred!
See also "C:/minetest1/New folder/minetest-build/CMakeFiles/CMakeOutput.log".
See also "C:/minetest1/New folder/minetest-build/CMakeFiles/CMakeError.log".
 

User avatar
azekill_DIABLO
Member
 
Posts: 3458
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: Compilation help!

by azekill_DIABLO » Sun Jul 31, 2016 08:15

nice!

i can't even start Cmake :D
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Hi, my username is azekill_DIABLO and i'm an exelent bug-maker(yeah...i know...i have a bad reputation)

azekill_DIABLO said: Mineyoshi+ABJ+Baggins= TOPIC HIJACKED.
My Mods and Stuff | Voxellar | VoxBox on GITHUB | M.I.L.A Monster engine
WEIRD MODDING CONTEST !!!
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Compilation help!

by Krock » Sun Jul 31, 2016 09:54

Dopium wrote:Will the pre-compiled win32 download you have work for 64bit builds?

Looking at this article tells me that you need 64-bit libraries, these for 32-bit won't work due to different C(++) pointer handling.

Dopium wrote:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
The C compiler identification is unknown
The CXX compiler identification is unknown

Spending some more minutes on DuckDuckGo gave me this solution:
http://stackoverflow.com/questions/3161 ... c-compiler

azekill_DIABLO wrote:i can't even start Cmake :D

Reinstall CMake and open the GUI with [Win] + [R] -> "cmake-gui " -> [Enter]
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

User avatar
Dopium
Member
 
Posts: 233
Joined: Sat Jun 09, 2012 15:43

Re: Compilation help!

by Dopium » Sun Jul 31, 2016 10:37

Ok well looking into the C:\Program Files\CMake\bin\qt.conf it looks to me like there is no paths set for some reason? i get this when opening the file in np++
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
[Paths]
Plugins = ../plugins


As for the 64bit libraries there doesnt seem to be other 64bit downloads for alot of them... I downloaded all the pre-compiled libraries from your dropbox link anyway but yeah think the compiler issues is the main one at the moment.
 


Return to Minetest Builds

Who is online

Users browsing this forum: No registered users and 2 guests

cron