Page 1 of 1
Need someone to compile my Fork for Windows

Posted:
Wed Sep 05, 2012 00:40
by madchicken13

Posted:
Wed Sep 05, 2012 02:42
by Menche
Is it 20120106? You can download that
here. You could probably copy the CMakeLists.txt over if you want.
A list of all the other tags you can download is
here.

Posted:
Wed Sep 05, 2012 13:24
by madchicken13
NO Menche this is the first minetest EVER.
It has 2 blocks and 8 src files!

Posted:
Wed Sep 05, 2012 14:07
by sfan5
You need to use Visual Studio

Posted:
Wed Sep 05, 2012 16:03
by Menche
Wow neat, where did you get it? Anyway, I'm trying it. It appears to have a makefile already, but can't find some libraries.

Posted:
Wed Sep 05, 2012 16:19
by Menche
Got it to build and start up fine, but all I see is sky. But I'm getting a steady 883 FPS.

Posted:
Wed Sep 05, 2012 21:49
by xyz

madchicken13, this version doesn't use cmake, just edit makefile so it points to valid irrlicht/jthread include dirs & run make

Posted:
Wed Sep 05, 2012 22:19
by madchicken13
xyz wrote:
madchicken13, this version doesn't use cmake, just edit makefile so it points to valid irrlicht/jthread include dirs & run make
I got this Error:
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
/tmp/ccwzA9EZ.o: In function `Map::getDisplayedBlockArea()':
/home/chris/Desktop/minetestold/src/map.cpp:759: undefined reference to `JMutex::Lock()'
/home/chris/Desktop/minetestold/src/map.cpp:761: undefined reference to `JMutex::Unlock()'
/tmp/ccwzA9EZ.o: In function `MapBlock::updateFastFaces()':
/home/chris/Desktop/minetestold/src/map.cpp:230: undefined reference to `JMutex::Lock()'
/home/chris/Desktop/minetestold/src/map.cpp:232: undefined reference to `JMutex::Unlock()'
/tmp/ccwzA9EZ.o: In function `Map::getBlock(irr::core::vector3d<short>)':
/home/chris/Desktop/minetestold/src/map.cpp:299: undefined reference to `JMutex::Lock()'
/tmp/ccwzA9EZ.o: In function `MapBlock':
/home/chris/Desktop/minetestold/src/map.h:193: undefined reference to `JMutex::JMutex()'
/home/chris/Desktop/minetestold/src/map.h:197: undefined reference to `JMutex::Init()'
/tmp/ccwzA9EZ.o: In function `Map::getBlock(irr::core::vector3d<short>)':
/home/chris/Desktop/minetestold/src/map.cpp:360: undefined reference to `JMutex::Unlock()'
/tmp/ccwzA9EZ.o: In function `MapBlock':
/home/chris/Desktop/minetestold/src/map.h:193: undefined reference to `JMutex::~JMutex()'
/tmp/ccwzA9EZ.o: In function `Map::render(irr::video::IVideoDriver*, irr::video::SMaterial*)':
/home/chris/Desktop/minetestold/src/map.cpp:833: undefined reference to `JMutex::Lock()'
/home/chris/Desktop/minetestold/src/map.cpp:843: undefined reference to `JMutex::Unlock()'
/home/chris/Desktop/minetestold/src/map.cpp:866: undefined reference to `JMutex::Lock()'
/home/chris/Desktop/minetestold/src/map.cpp:889: undefined reference to `JMutex::Unlock()'
/tmp/ccwzA9EZ.o: In function `MapUpdateThread::Thread()':
/home/chris/Desktop/minetestold/src/map.cpp:902: undefined reference to `JThread::ThreadStarted()'
/tmp/ccwzA9EZ.o: In function `MapUpdateThread::getRun()':
/home/chris/Desktop/minetestold/src/map.h:529: undefined reference to `JMutex::Lock()'
/home/chris/Desktop/minetestold/src/map.h:531: undefined reference to `JMutex::Unlock()'
/tmp/ccwzA9EZ.o:(.rodata._ZTI15MapUpdateThread[typeinfo for MapUpdateThread]+0x8): undefined reference to `typeinfo for JThread'
/tmp/ccQvqQif.o: In function `~MapUpdateThread':
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JMutex::~JMutex()'
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JThread::~JThread()'
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JThread::~JThread()'
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JMutex::~JMutex()'
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JThread::~JThread()'
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JThread::~JThread()'
/tmp/ccQvqQif.o: In function `MapUpdateThread::setRun(bool)':
/home/chris/Desktop/minetestold/src/map.h:536: undefined reference to `JMutex::Lock()'
/home/chris/Desktop/minetestold/src/map.h:538: undefined reference to `JMutex::Unlock()'
/tmp/ccQvqQif.o: In function `~Map':
/home/chris/Desktop/minetestold/src/map.h:583: undefined reference to `JThread::IsRunning()'
/tmp/ccQvqQif.o: In function `~MapUpdateThread':
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JMutex::~JMutex()'
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JThread::~JThread()'
/tmp/ccQvqQif.o: In function `~Map':
/home/chris/Desktop/minetestold/src/map.h:581: undefined reference to `JMutex::~JMutex()'
/home/chris/Desktop/minetestold/src/map.h:581: undefined reference to `JMutex::~JMutex()'
/home/chris/Desktop/minetestold/src/map.h:581: undefined reference to `JMutex::~JMutex()'
/home/chris/Desktop/minetestold/src/map.h:581: undefined reference to `JMutex::~JMutex()'
/tmp/ccQvqQif.o: In function `~MapUpdateThread':
/home/chris/Desktop/minetestold/src/map.h:512: undefined reference to `JThread::~JThread()'
/tmp/ccQvqQif.o: In function `Map':
/home/chris/Desktop/minetestold/src/map.h:572: undefined reference to `JMutex::JMutex()'
/home/chris/Desktop/minetestold/src/map.h:572: undefined reference to `JMutex::JMutex()'
/tmp/ccQvqQif.o: In function `MapUpdateThread':
/home/chris/Desktop/minetestold/src/map.h:520: undefined reference to `JThread::JThread()'
/home/chris/Desktop/minetestold/src/map.h:520: undefined reference to `JMutex::JMutex()'
/home/chris/Desktop/minetestold/src/map.h:522: undefined reference to `JMutex::Init()'
/tmp/ccQvqQif.o: In function `Map':
/home/chris/Desktop/minetestold/src/map.h:574: undefined reference to `JMutex::Init()'
/home/chris/Desktop/minetestold/src/map.h:575: undefined reference to `JMutex::Init()'
/home/chris/Desktop/minetestold/src/map.h:577: undefined reference to `JThread::Start()'
/tmp/ccQvqQif.o: In function `Map::updateCamera(irr::core::vector3d<float>, irr::core::vector3d<float>)':
/home/chris/Desktop/minetestold/src/map.h:588: undefined reference to `JMutex::Lock()'
/home/chris/Desktop/minetestold/src/map.h:591: undefined reference to `JMutex::Unlock()'
/tmp/ccQvqQif.o: In function `Map':
/home/chris/Desktop/minetestold/src/map.h:572: undefined reference to `JMutex::~JMutex()'
/home/chris/Desktop/minetestold/src/map.h:572: undefined reference to `JMutex::~JMutex()'
/tmp/ccQvqQif.o: In function `MapUpdateThread':
/home/chris/Desktop/minetestold/src/map.h:520: undefined reference to `JThread::~JThread()'
/home/chris/Desktop/minetestold/src/map.h:520: undefined reference to `JMutex::~JMutex()'
collect2: ld returned 1 exit status
make: *** [all_linux] Error 1

Posted:
Thu Sep 06, 2012 00:26
by madchicken13
madchicken13 wrote:xyz wrote:
madchicken13, this version doesn't use cmake, just edit makefile so it points to valid irrlicht/jthread include dirs & run make
I got this Error:
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
chris@chris-desktop:~/Desktop/minetestold$ make
Makefile:35: Building...
g++ -I/home/chris/Desktop/irrlicht-1.7.3/include -I/usr/X11R6/include -I/usr/include/jthread -O2 --fast-math -Wall -g src/main.cpp src/map.cpp src/player.cpp -o bin/test -L/usr/X11R6/lib -L/home/chris/Desktop/irrlicht-1.7.3/lib/Linux -L/usr/include/jthread/src/.libs -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -ljthread
In file included from src/main.cpp:30:0:
src/map.h:190:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘MapBlock::MapBlock(Map*, v3s16, v3s16)’:
src/map.h:197:3: error: ‘fastfaces_mutex’ was not declared in this scope
src/map.h: At global scope:
src/map.h:513:1: error: expected class-name before ‘{’ token
src/map.h:515:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘MapUpdateThread::MapUpdateThread()’:
src/map.h:520:22: error: class ‘MapUpdateThread’ does not have any field named ‘JThread’
src/map.h:522:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: In member function ‘bool MapUpdateThread::getRun()’:
src/map.h:529:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: In member function ‘void MapUpdateThread::setRun(bool)’:
src/map.h:536:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: At global scope:
src/map.h:556:2: error: ‘JMutex’ does not name a type
src/map.h:560:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘Map::Map()’:
src/map.h:574:3: error: ‘block_create_mutex’ was not declared in this scope
src/map.h:575:3: error: ‘camera_mutex’ was not declared in this scope
src/map.h:577:11: error: ‘class MapUpdateThread’ has no member named ‘Start’
src/map.h: In destructor ‘Map::~Map()’:
src/map.h:583:17: error: ‘class MapUpdateThread’ has no member named ‘IsRunning’
src/map.h: In member function ‘void Map::updateCamera(v3f, v3f)’:
src/map.h:588:3: error: ‘camera_mutex’ was not declared in this scope
In file included from src/map.cpp:5:0:
src/map.h:190:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘MapBlock::MapBlock(Map*, v3s16, v3s16)’:
src/map.h:197:3: error: ‘fastfaces_mutex’ was not declared in this scope
src/map.h: At global scope:
src/map.h:513:1: error: expected class-name before ‘{’ token
src/map.h:515:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘MapUpdateThread::MapUpdateThread()’:
src/map.h:520:22: error: class ‘MapUpdateThread’ does not have any field named ‘JThread’
src/map.h:522:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: In member function ‘bool MapUpdateThread::getRun()’:
src/map.h:529:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: In member function ‘void MapUpdateThread::setRun(bool)’:
src/map.h:536:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: At global scope:
src/map.h:556:2: error: ‘JMutex’ does not name a type
src/map.h:560:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘Map::Map()’:
src/map.h:574:3: error: ‘block_create_mutex’ was not declared in this scope
src/map.h:575:3: error: ‘camera_mutex’ was not declared in this scope
src/map.h:577:11: error: ‘class MapUpdateThread’ has no member named ‘Start’
src/map.h: In destructor ‘Map::~Map()’:
src/map.h:583:17: error: ‘class MapUpdateThread’ has no member named ‘IsRunning’
src/map.h: In member function ‘void Map::updateCamera(v3f, v3f)’:
src/map.h:588:3: error: ‘camera_mutex’ was not declared in this scope
src/map.cpp: In member function ‘void MapBlock::updateFastFaces()’:
src/map.cpp:230:2: error: ‘fastfaces_mutex’ was not declared in this scope
src/map.cpp: In member function ‘MapBlock* Map::getBlock(v3s16)’:
src/map.cpp:299:2: error: ‘block_create_mutex’ was not declared in this scope
src/map.cpp: In member function ‘irr::core::aabbox3d<short int> Map::getDisplayedBlockArea()’:
src/map.cpp:759:2: error: ‘camera_mutex’ was not declared in this scope
src/map.cpp: In member function ‘void Map::render(irr::video::IVideoDriver*, irr::video::SMaterial*)’:
src/map.cpp:833:3: error: ‘camera_mutex’ was not declared in this scope
src/map.cpp:866:10: error: ‘class MapBlock’ has no member named ‘fastfaces_mutex’
src/map.cpp:889:10: error: ‘class MapBlock’ has no member named ‘fastfaces_mutex’
src/map.cpp: In member function ‘void* MapUpdateThread::Thread()’:
src/map.cpp:902:16: error: ‘ThreadStarted’ was not declared in this scope
In file included from src/player.cpp:6:0:
src/map.h:190:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘MapBlock::MapBlock(Map*, v3s16, v3s16)’:
src/map.h:197:3: error: ‘fastfaces_mutex’ was not declared in this scope
src/map.h: At global scope:
src/map.h:513:1: error: expected class-name before ‘{’ token
src/map.h:515:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘MapUpdateThread::MapUpdateThread()’:
src/map.h:520:22: error: class ‘MapUpdateThread’ does not have any field named ‘JThread’
src/map.h:522:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: In member function ‘bool MapUpdateThread::getRun()’:
src/map.h:529:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: In member function ‘void MapUpdateThread::setRun(bool)’:
src/map.h:536:3: error: ‘run_mutex’ was not declared in this scope
src/map.h: At global scope:
src/map.h:556:2: error: ‘JMutex’ does not name a type
src/map.h:560:2: error: ‘JMutex’ does not name a type
src/map.h: In constructor ‘Map::Map()’:
src/map.h:574:3: error: ‘block_create_mutex’ was not declared in this scope
src/map.h:575:3: error: ‘camera_mutex’ was not declared in this scope
src/map.h:577:11: error: ‘class MapUpdateThread’ has no member named ‘Start’
src/map.h: In destructor ‘Map::~Map()’:
src/map.h:583:17: error: ‘class MapUpdateThread’ has no member named ‘IsRunning’
src/map.h: In member function ‘void Map::updateCamera(v3f, v3f)’:
src/map.h:588:3: error: ‘camera_mutex’ was not declared in this scope
make: *** [all_linux] Error 1
Can you compile it or make a compile package for me to download Thnx
PS : I did what you said changed the dirs to /usr/include/irrlicht & /usr/include/jthread.
I Also needed to delete the /src from $(JTHREADPATH)/src

Posted:
Thu Sep 06, 2012 00:37
by Menche
Some help? I got it to build and start, but all I see is sky.

Posted:
Thu Sep 06, 2012 00:49
by madchicken13
Menche wrote:Some help? I got it to build and start, but all I see is sky.
I dont know y its doing that sorry

Posted:
Thu Sep 06, 2012 00:50
by madchicken13
Menche wrote:Some help? I got it to build and start, but all I see is sky.
But how do you make it build correctly

Posted:
Thu Sep 06, 2012 04:01
by Josh
xyz wrote:
madchicken13, this version doesn't use cmake, just edit makefile so it points to valid irrlicht/jthread include dirs & run make
Ah the old minetest does anyone know if anyone plays it anymore?

Posted:
Thu Sep 06, 2012 06:45
by Calinou
Josh wrote:xyz wrote:-snip-
madchicken13, this version doesn't use cmake, just edit makefile so it points to valid irrlicht/jthread include dirs & run make
Ah the old minetest does anyone know if anyone plays it anymore?
Probably not. ;)

Posted:
Thu Sep 06, 2012 12:19
by madchicken13
All i need is that version compiled with the src files with it and I can work with it from there

Posted:
Thu Sep 06, 2012 12:19
by madchicken13
All i need is that version compiled with the src files with it and I can work with it from there
Going to add a bit more blocks (Try)

Posted:
Thu Sep 06, 2012 13:23
by madchicken13
Josh wrote:xyz wrote:
madchicken13, this version doesn't use cmake, just edit makefile so it points to valid irrlicht/jthread include dirs & run make
Ah the old minetest does anyone know if anyone plays it anymore?
Yea me! lolz

Posted:
Sat Sep 08, 2012 06:11
by madchicken13
New Topic

Posted:
Sat Sep 08, 2012 07:37
by sfan5
Do NOT change the first Post, create a new Topic!

Posted:
Sat Sep 08, 2012 07:40
by madchicken13
sfan5 wrote:Do NOT change the first Post, create a new Topic!
Celeron55 told me to use my old posts over again