Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 11:22

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Probleme mit SA:MP GDK

Discussion on Probleme mit SA:MP GDK within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 16
Received Thanks: 0
Probleme mit SA:MP GDK

Kann mir mal bitte einer helfen? :X
Ich habe es nun hinbekommen, (Pack runtergeladen) und da sind noch ein paar Errors, wegen den Includes in den Includes. Wieso kommt das?

Code:
20	0	c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\include\sampgdk\plugincommon.h	In file included from c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.0/../../../../include/sampgdk/plugincommon.h
20		c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\include\sampgdk\plugin.h	                 from c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.0/../../../../include/sampgdk/plugin.h
21		c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\include\sampgdk\a_samp.h	                 from c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.0/../../../../include/sampgdk/a_samp.h
19		c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\include\sampgdk\a_objects.h	                 from c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\bin\../lib/gcc/mingw32/4.7.0/../../../../include/sampgdk/a_objects.h
1		C:\Users\Narushi\Desktop\Scripting\C++\Dev-Cpp\Sh12\plugin.cpp	                 from C:\Users\Narushi\Desktop\Scripting\C++\Dev-Cpp\Sh12\plugin.cpp
32	21	c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\include\sampgdk\sdk\plugincommon.h	Not using a VC++ compiler.
			[Linker error] C:\Users\Narushi\Desktop\Scripting\C++\Dev-Cpp\MinGW32\lib/libmingw32.a(main.o):main.c:(.text.startup+0xa7): undefined reference to `_WinMain@16'
		C:\Users\Narushi\Desktop\Scripting\C++\Dev-Cpp\Sh12\collect2.exe	[Error] ld returned 1 exit status
Narushi is offline  
Old 01/09/2013, 14:01   #2
 
TIMΣ™'s Avatar
 
elite*gold: 23
Join Date: Oct 2010
Posts: 2,986
Received Thanks: 357
Erstmal was ist mit SA:MP GDK gemeint, denn das klingt nach San Andreas Multiplayer. Und das ist doch nur eine Errormeldung, oder nicht? Ansonsten zeig doch mal einfach den Code der dir Probleme bereitet.
TIMΣ™ is offline  
Old 01/09/2013, 15:15   #3
 
elite*gold: 0
Join Date: Dec 2009
Posts: 16
Received Thanks: 0
Quote:
Originally Posted by TIMΣ™ View Post
Erstmal was ist mit SA:MP GDK gemeint, denn das klingt nach San Andreas Multiplayer. Und das ist doch nur eine Errormeldung, oder nicht? Ansonsten zeig doch mal einfach den Code der dir Probleme bereitet.
Jap, das ist ein Pack für SA:MP.
Das ist der Hier:

Mein Code ist nix, ausser die Includes.
Das hier ist der komplette Code:

Code:
#include <sampgdk/a_objects.h>
#include <sampgdk/a_players.h>
#include <sampgdk/a_samp.h>
#include <sampgdk/a_vehicles.h>
#include <sampgdk/core.h>
#include <sampgdk/plugin.h>
Wenn ich nun compile zeigt es die Errors an, und springt zu dem Include plugincommon.h und zeigt die Zeile an:

Code:
/* Copyright (C) 2012 Zeex
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef SAMPGDK_PLUGINCOMMON_H
#define SAMPGDK_PLUGINCOMMON_H

#include <sampgdk/platform.h> /* for the LINUX macro */

/////////////////////////////// DIESE WIRD ANGEZEIGT ////////////////////////////////////////
#include <sampgdk/sdk/plugincommon.h>
/////////////////////////////// DIESE WIRD ANGEZEIGT ////////////////////////////////////////

#endif /* !SAMPGDK_PLUGINCOMMON_H */
Narushi is offline  
Old 01/09/2013, 16:57   #4
 
kissein's Avatar
 
elite*gold: 0
Join Date: Sep 2005
Posts: 426
Received Thanks: 87
Quote:
32 21 c:\users\narushi\desktop\scripting\c++\dev-cpp\mingw32\include\sampgdk\sdk\plugincommon.h Not using a VC++ compiler.
Sie so aus als könnte _MSC_VER nicht ermittelt werden. Für mal "cl /?" in der Konsole aus um die Compilerversion zusehen.
kissein is offline  
Old 01/09/2013, 21:01   #5
 
elite*gold: 0
Join Date: Dec 2009
Posts: 16
Received Thanks: 0
Quote:
Originally Posted by kissein View Post
Sie so aus als könnte _MSC_VER nicht ermittelt werden. Für mal "cl /?" in der Konsole aus um die Compilerversion zusehen.

In welcher COnsole? ^^
Narushi is offline  
Reply


Similar Threads Similar Threads
[Help] Probleme über Probleme
10/12/2012 - Flyff Private Server - 0 Replies
Hallöchen ich habe mal wieder eine reihe an Problemen und hoffe auf eure Hilfe... Nummer 1: ElementBonus Nummer 2: TransferAwake Nummer 3: LoginKameraÜberflug
Probleme mit dem Internet(Laggs, Ping und Latenz probleme)
10/09/2012 - Technical Support - 4 Replies
Hallo, ich hofff ich bin hier richtig. Mein Problem ist, dass ich Probleme mit der Internetverbindung habe. Angefangen hat es bei Diablo 3 mit Latenzproblemen, wo ich dann nach paar Minuten bei ner Latenz von mehreren 1000 ms rausgeschmissen wurde. Danach hat es bei Gohst Recon Online funkioniert lagg frei und dann aber auch mit Laggs. Und jetzt bei LOL ist, muss alle paar 10 sek die Verbindung wiederhergestellt werden. Anfangs bei LOL hab ich den besten Ping und es scheint die...
Minecraft Probleme ( Ruckel-, Grafik- und/oder Lag- Probleme
09/10/2011 - Minecraft - 3 Replies
So, es ist das: Und zwar geh ich gleih zum Punkt, mein Minecraft ruckelt alle 5-6 sec. . Und wenn ich denn "F3" drücke, kommt doch (glaub ich wenn das das ist) dieser Debug modus, steht / ist ein Bild wo es die Verbindung oder wie das Spiel grad läuft, an. Hier ein Screenshot: was los ist: http://imageshack.us/photo/my-images/850/20110910 205313.png/ an den immerwieder gleichmäßigen roten linien die oben aufkommen.
Hamachi Probleme Über Probleme.
02/21/2010 - Metin2 Private Server - 9 Replies
Hallo Com. also ich hab ein Problem also auf meinen hamachi kann ich dmg ändern von 2händern 1 hand usw dolche aber bei Glocke kommt so eine meldung wenn ich die dann hinterher anziehen will ingame. http://img51.imageshack.us/img51/3891/glocke.png



All times are GMT +2. The time now is 11:22.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.