Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile fails in Ubuntu 14.04 #10

Open
ThePowerTool opened this issue Sep 25, 2014 · 1 comment
Open

Compile fails in Ubuntu 14.04 #10

ThePowerTool opened this issue Sep 25, 2014 · 1 comment

Comments

@ThePowerTool
Copy link

user@Mouse2:~$ git clone git://github.com/tizbac/SpringMapConvNG.git
Cloning into 'SpringMapConvNG'...
remote: Counting objects: 90, done.
remote: Total 90 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (90/90), 27.88 KiB | 0 bytes/s, done.
Resolving deltas: 100% (56/56), done.
Checking connectivity... done.

user@Mouse2:~$ cd ./SpringMapConvNG/

user@Mouse2:~/SpringMapConvNG$ ls
CMakeLists.txt decompiler.cpp main.cpp SpringMapConvNG.kdev4
CRC.cpp Image.cpp SMFMap.cpp TileStorage.cpp
CRC.h Image.h SMFMap.h TileStorage.h

user@Mouse2:/SpringMapConvNG$ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/SpringMapConvNG
user@Mouse2:
/SpringMapConvNG$ make
[ 40%] Built target mapconv
[ 80%] Built target mapconv_static
[ 90%] Building CXX object CMakeFiles/smfdecompiler.dir/decompiler.cpp.o
In file included from /home/user/SpringMapConvNG/SMFMap.h:22:0,
from /home/user/SpringMapConvNG/decompiler.cpp:4:
/home/user/SpringMapConvNG/TileStorage.h:35:10: warning: integer constant is too large for its type [enabled by default]
r = 226673591177742970257407LL_data[x];
^
/home/user/SpringMapConvNG/decompiler.cpp: In function ‘int main(int, char*
)’:
/home/user/SpringMapConvNG/decompiler.cpp:78:33: error: ‘chdir’ was not declared in this scope
if ( chdir(mapdirectory.c_str()) )
^
make[2]: *_* [CMakeFiles/smfdecompiler.dir/decompiler.cpp.o] Error 1
make[1]: *** [CMakeFiles/smfdecompiler.dir/all] Error 2
make: *** [all] Error 2
user@Mouse2:~/SpringMapConvNG$

@abma
Copy link
Contributor

abma commented Sep 25, 2014

please use https://github.com/spring/SpringMapConvNG!

should be fixed there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants