This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Re: [QUESTION] Noggit compile instructions?  (Read 10083 times)

Mjollna

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 254
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« on: January 19, 2012, 10:44:27 pm »
As far as I know both are separate projects, so you don't need anything from mpqfs-stormlib to compile Noggit.

If you're ok with the libraries then you should be able to compile.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #1 on: January 20, 2012, 12:57:37 pm »
But you should always use the newest version. And for debug you will need the debug version of it. Just set missing path in CMAKE to get ic configured. I have to take a look at the cmake file to make it easyer to get it clean working on windows. Or perhaps here is some guy that worked already with CMAKE and want to handel this stuff. Als if here is someone that get It working he could write soem lines about it for other guys. Perhaps in the wiki :) Just PM me if you have time and want to.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #2 on: January 21, 2012, 12:16:19 am »
Would be nice. Just create a new point for Mac setup please and fill it. The wiki should be open to register.
In the moment this version have many problems. You cant select M2s. It crash if you do. You cant show wmos. Same there. I hope i will get some time for debugging this weekend.

PS: I will move this to development board. This one is more for problems using the app and beta stuff.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

akspa420

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 65
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #3 on: January 21, 2012, 12:55:07 am »
As for the Windows side of things, I took a stab at it in the dark last night, and I think I'm on the right path - I should use CMAKE to create project files for whatever compiler I'm using, which is obvious seeing the cmake files in Noggit's root src directory. As for compilers, should I be using MinGW's build environment, or will VC2010's c++ compiler work?

I've only ever compiled a handful of WoW emu servers using cmake, so I have no idea what to expect with my attempts at getting this to compile (aside from the probable complete failure that will occur).
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #4 on: January 21, 2012, 01:05:17 am »
I use Visual Studio 2010. Works fine.

The most server give you everything to your hands to compile. We want to let our repository be clean and small. So we add no lib´s there.

http://qt.nokia.com/downloads
http://www.boostpro.com/download/
http://gnuwin32.sourceforge.net/packages.html (Zlib)
http://glew.sourceforge.net/index.html
http://www.zezula.net/en/mpq/download.html (no binary's. Must be compiled)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

akspa420

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 65
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #5 on: January 21, 2012, 01:50:58 am »
Alright, cool, the only thing I didn't have was zlib and boost. Not too shabby for a non-programmer :P
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

glararan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 162
    • View Profile
    • http://glararan.eu
Re: [QUESTION] Noggit compile instructions?
« Reply #6 on: January 22, 2012, 09:19:43 am »
Last working Noggit with old UI: here
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #7 on: January 22, 2012, 12:01:55 pm »
This one have an bug with re size. I have implemented a new selection that allows to paint also clean in §d mode. But if you resizing it you get problems. And we should not develop on this version but on the QT once. To get not 2 separated forks.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Zim4ik

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 407
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #8 on: January 22, 2012, 01:15:01 pm »
Quote from: "glararan"
Last working Noggit with old UI: here
With noggit is SO freacking awesooome!!!
3d texturing is Very Fucking NICE!
Thank you)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

glararan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 162
    • View Profile
    • http://glararan.eu
Re: [QUESTION] Noggit compile instructions?
« Reply #9 on: January 22, 2012, 02:39:48 pm »
i with steff do 3D cursors. But is last SDL version
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

akspa420

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 65
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #10 on: January 22, 2012, 07:40:59 pm »
Ok, so it's kinda weird - I managed to get noggit to compile without any errors, but it will not launch without giving me an error and immediatly quitting. I ran it through IDA to see where it was crashing, and it seems to be right in the init of the program. Maybe I've somehow chosen the wrong libs in the config? I'm sure I'll figure it out, but damn if it isn't confusing, seeing as it compiles without issue, but does not want to run :/
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Zim4ik

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 407
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #11 on: January 22, 2012, 07:46:30 pm »
you are using debug comp. change it to release
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #12 on: January 22, 2012, 08:19:13 pm »
Perhaps you should give more information's. Just quitting?
Then logfile and config file.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

glararan

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 162
    • View Profile
    • http://glararan.eu
Re: [QUESTION] Noggit compile instructions?
« Reply #13 on: January 22, 2012, 09:21:18 pm »
QT Noggit dont using Config :D. He auto remember values.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] Noggit compile instructions?
« Reply #14 on: January 22, 2012, 09:43:20 pm »
We use the config class from the QT pack
This stores the stuff in ini files under Linux/macos and use the registry under windows.
I will implement an settings editor that starts if it cant find the right paths. And you will be able to use it to change the stuff.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954